/* Destination Search Bar */
.destination-search-bar {
  margin-top: 2rem;
}

.search-input-wrapper {
  position: relative;
  cursor: pointer;
  max-width: 500px;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #8e59ff;
  pointer-events: none;
}

.search-input-wrapper .search-input {
  padding-left: 45px;
  padding-right: 45px;
  height: 56px;
  font-size: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-input-wrapper .search-input:hover {
  border-color: #8e59ff;
  box-shadow: 0 4px 12px rgba(142, 89, 255, 0.1);
}

.search-input-wrapper .dropdown-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #666;
  pointer-events: none;
}

/* Destination Modal */
.destination-modal {
  border-radius: 20px;
}

.destination-modal .el-dialog__header {
  padding: 24px 24px 0;
  border-bottom: none;
}

.destination-modal .el-dialog__body {
  padding: 20px 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-header-custom h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #00054b;
  margin: 0;
}

.modal-search-wrapper {
  margin-bottom: 24px;
}

.modal-search-wrapper .el-input__inner {
  height: 48px;
  border-radius: 24px;
  font-size: 1rem;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.modal-search-wrapper .el-input__inner:focus {
  border-color: #8e59ff;
}

/* Popular Destinations */
.popular-destinations {
  margin-bottom: 32px;
}

.popular-destinations .section-title,
.all-destinations .section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #00054b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.section-title i {
  color: #8e59ff;
}

.destination-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border: 2px solid #f4f4f5;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: white;
}

.destination-item:hover {
  border-color: #8e59ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 89, 255, 0.15);
}

.destination-item.selected {
  border-color: #8e59ff;
  background: #f4eeff;
}

.destination-item .country-flag {
  width: 48px;
  height: 36px;
  border-radius: 6px;
  margin-bottom: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.destination-item .country-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  text-align: center;
  line-height: 1.3;
}

.destination-item .country-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* All Destinations */
.all-destinations {
  margin-top: 24px;
}

.continent-tabs .el-tabs__nav-wrap {
  padding: 0 10px;
}

.continent-tabs .el-tabs__item {
  font-weight: 500;
  color: #666;
}

.continent-tabs .el-tabs__item.is-active {
  color: #8e59ff;
}

.continent-tabs .el-tabs__active-bar {
  background-color: #8e59ff;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.country-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: white;
}

.country-item:hover {
  border-color: #8e59ff;
  background: #f9fafb;
}

.country-item.selected {
  border-color: #8e59ff;
  background: #f4eeff;
}

.country-item .country-flag-sm {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  margin-right: 12px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.country-item .country-name-sm {
  font-size: 0.875rem;
  color: #333;
  flex: 1;
}

.country-item .country-name-sm mark {
  background-color: #fff59d;
  padding: 2px 4px;
  border-radius: 3px;
}

.country-item .check-icon {
  color: #8e59ff;
  font-size: 1.25rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.country-item.selected .check-icon {
  opacity: 1;
}

/* Search Results */
.search-results {
  margin-top: 16px;
}

.no-results {
  text-align: center;
  padding: 48px 20px;
  color: #999;
}

.no-results i {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.no-results p {
  font-size: 1rem;
  margin: 0;
}

/* Modal Footer */
.modal-footer-custom {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.modal-footer-custom .btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 500;
}

/* Stats Section */
.stats-section {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.stat-card {
  transition: all 0.3s ease;
  border-radius: 15px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
}

.stat-icon {
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon i {
  transform: scale(1.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8e59ff 0%, #4b74fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9f0fe 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(142, 89, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge .badge {
  background: linear-gradient(135deg, #8e59ff 0%, #4b74fb 100%);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #00054b;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

.hero-cta .btn {
  border-radius: 10px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-width: 2px;
}

.hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(142, 89, 255, 0.2);
}

.hero-image {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.trust-indicators {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.trust-item {
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateX(5px);
}

/* Section Titles */
.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #00054b;
}

.section-subtitle {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Cards */
.feature-card {
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(142, 89, 255, 0.15);
  border-color: #8e59ff;
}

.feature-icon-wrapper {
  position: relative;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8e59ff 0%, #4b74fb 100%);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 10px 25px rgba(142, 89, 255, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotateY(360deg);
}

.feature-card h3 {
  font-weight: 600;
  color: #00054b;
}

/* Destination Cards */
.destination-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #f0f0f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.destination-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8e59ff 0%, #4b74fb 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.destination-card:hover::before {
  transform: scaleX(1);
}

.destination-card:hover {
  border-color: #8e59ff;
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(142, 89, 255, 0.2);
}

.destination-flag {
  margin-bottom: 1.5rem;
  position: relative;
}

.destination-flag img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid #fff;
}

.destination-card:hover .destination-flag img {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(142, 89, 255, 0.3);
}

.destination-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00054b;
  margin-bottom: 0.75rem;
}

.destination-card .price {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.destination-card .price strong {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8e59ff 0%, #4b74fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-top: 0.5rem;
}

.data-info {
  font-size: 0.9rem;
  color: #999;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border-radius: 20px;
  display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-section {
    padding: 40px 0;
  }

  .search-input-wrapper {
    max-width: 100%;
  }

  .countries-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.15rem;
  }

  .popular-destinations .section-title,
  .all-destinations .section-title {
    font-size: 0.95rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .destination-modal .el-dialog__body {
    max-height: 60vh;
  }

  .continent-tabs .el-tabs__nav-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .hero-cta .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .hero-cta .btn.ms-3 {
    margin-left: 0 !important;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .popular-destinations .section-title,
  .all-destinations .section-title {
    font-size: 0.9rem;
  }
}