/* Import Roboto Font */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Apply Roboto font globally */
* {
  font-family: "Roboto", sans-serif;
}

/* Ensure input fields use Roboto font */
input,
textarea,
select,
.form-control,
.form-select {
  font-family: "Roboto", sans-serif !important;
}

/* Fix missing left border on form controls */
.form-control {
  border: 1px solid #ced4da !important;
}

/* Custom navbar height */
.custom-navbar-height {
  min-height: 60px;
}

/* Expedia logo styles */
.expedia-logo {
  display: flex;
  align-items: center;
}

.expedia-icon {
  width: 24px;
  height: 24px;
  fill: #0c979c;
  margin-right: 8px;
}

.expedia-text {
  font-weight: bold;
  color: #217381;
  font-size: 1.5rem;
}

/* Navigation styles */
.navbar {
  background-color: #0c979c;
  position: relative;
  z-index: 10000;
}

header {
  position: relative;
  z-index: 10000;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 300;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #c6edf4 !important;
}

/* Nav tabs specific styling */
.nav-tabs .nav-link {
  color: #217381 !important;
}

.nav-tabs .nav-link.active {
  color: #0c979c !important;
}

/* Currency and flag styling */
.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

/* Chat icon styling */
.bi-chat-dots {
  color: #ffffff;
  transition: color 0.2s ease;
}

.bi-chat-dots:hover {
  color: #c6edf4;
}

/* Dropdown toggle styling */
.dropdown-toggle::after {
  margin-left: 0.5em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .expedia-text {
    font-size: 1.25rem;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
}

/* Footer styles */
footer.bg-light {
  background-color: #11474f !important;
  padding-bottom: 2rem;
}

footer h6 {
  color: #ffffff;
  font-weight: 600;
}

footer .text-muted {
  color: #c6edf4 !important;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

footer .text-muted:hover {
  color: #7cd5e9 !important;
  text-decoration: underline !important;
}

footer .border-top {
  border-color: #217381 !important;
}

footer .small {
  font-size: 14px;
  line-height: 1.4;
}

.footer-links {
  font-size: 14px;
  color: #c6edf4 !important;
}

.footer-links:hover {
  color: #7cd5e9 !important;
}

/* Mobile navbar responsive styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #0c979c;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.375rem;
  }

  .navbar-nav .nav-item {
    text-align: left;
    width: 100%;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.wishlist-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 10001;
  display: flex;
  flex-direction: column;
}

.wishlist-sidebar.open {
  right: 0;
}

.wishlist-header {
  padding: 20px;
  padding-bottom: 10px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.wishlist-header h5 {
  margin: 0;
  font-weight: 800;
  color: #111;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-close-wishlist {
  background: #eee;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-close-wishlist:hover {
  background: #dc3545;
  color: white;
  transform: rotate(90deg);
}

.wishlist-tabs-container {
  padding: 15px 24px;
  background: white;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.wishlist-tabs {
  display: flex;
  gap: 10px;
  background: #f1f3f5;
  padding: 5px;
  border-radius: 50px;
}

.wishlist-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wishlist-tab-btn i {
  font-size: 16px;
}

.wishlist-tab-btn.active {
  background: white;
  color: #0c979c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  background: #fafafa;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wishlist-body::-webkit-scrollbar {
  display: none;
}

.wishlist-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wishlist-overlay.show {
  display: block;
  opacity: 1;
}

.wishlist-item {
  background: white;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wishlist-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.wishlist-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.wishlist-item-content {
  padding: 15px;
}

.wishlist-item h6 {
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wishlist-item p {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 12px;
}

.wishlist-item .btn-group {
  display: flex;
  gap: 8px;
}

.wishlist-item .btn-view {
  flex: 1;
  background: #0c979c;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
}

.wishlist-item .btn-view:hover {
  background: #0a8084;
}

.wishlist-item .btn-remove {
  background: #fff0f0;
  color: #dc3545;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.wishlist-item .btn-remove:hover {
  background: #dc3545;
  color: white;
}

@media (max-width: 768px) {
  .wishlist-sidebar {
    width: 100%;
    right: -100%;
  }
}

/* Pulse animation for loaders */
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}