.favorites-page {
  flex: 1;
  min-height: calc(100vh - 140px);
}

.favorites-page .explorer-container {
  display: flex;
  height: 100%;
  overflow: hidden;
}

.favorites-page .map-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.favorites-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
  min-height: 0;
  margin-top: 20px;
}

.favorite-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  transition: 0.2s ease;
}

.favorite-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.favorite-info h3 {
  margin-bottom: 10px;
  color: black;
}

.favorite-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.favorite-btn {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  background: #667eea;
  color: white;
  cursor: pointer;
}

.favorite-btn:hover {
  background: #5a6fd8;
}

.no-favorites {
  text-align: center;
  padding: 40px 20px;
  color: #777;
}

.no-favorites i {
  font-size: 40px;
  color: #ddd;
}

@media (max-width: 768px) {
  .favorite-item {
    flex-direction: column;
  }
  .favorite-actions {
    margin-top: 10px;
    justify-content: flex-end;
  }
}
