:root {
  --font-heading: "Poppins", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --sand: #ffe5a2;
  --sky: #9ef5f8;
  --sea: #69cae7;
  --navy: #1d3557;
  --white: #ffffff;
  --sb-track: var(--white);
  --sb-thumb: var(--sea);
  --sb-thumb-hover: var(--navy);
  --sb-size: 10px;
  --sb-radius: 12px;
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  width: 12px;
  height: var(--sb-size);
}

*::-webkit-scrollbar-track {
  background: var(--sb-track);
  border-radius: 0;
}

*::-webkit-scrollbar-thumb {
  width: 12px;
  background: var(--sb-thumb);
  border-radius: 0;
  transition: background 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--sb-thumb-hover);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) var(--sb-track);
}

body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  background-color: whitesmoke;
  scroll-behavior: smooth;
}

header {
  width: 100vw;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  transition: all 0.3s ease;

  position: absolute;
  top: 0;
  z-index: 1000;
  background-color: transparent;
  margin-bottom: -10vh;
}

.logo {
  height: 180%;
  width: auto;
  aspect-ratio: 1/1;
  background-image: url(assets/android-chrome-512x512.png);
  background-position: center;
  background-size: cover;
}

.navbar > h2 {
  color: #f8f8f8;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-left: 10%;
}

header > ul {
  width: 15%;
  height: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  flex-direction: row;
}

header > ul > p {
  color: #f8f8f8;
  font-size: clamp(0.6rem, 3vw, 0.9rem);
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 15px;
  padding: 0.7rem;
  white-space: nowrap;
}

header > ul > p:hover {
  cursor: pointer;
  background-color: #272727;
}

/* ========================
   ACCOUNT DROPDOWN STYLES
   ======================== */
.account-dropdown {
  position: absolute;
  top: 100%;
  right: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(29, 53, 87, 0.15);
  min-width: 220px;
  margin-top: 10px;
  z-index: 998;
  overflow: hidden;
  animation: slideDownDropdown 0.3s ease-out;
}

@keyframes slideDownDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-header {
  padding: 16px 16px 12px 16px;
  background: linear-gradient(135deg, var(--sea) 0%, var(--sky) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-word;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-separator {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(29, 53, 87, 0.1),
    transparent
  );
  margin: 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-item i {
  width: 18px;
  color: var(--sea);
  transition: color 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(105, 202, 231, 0.08);
  border-left-color: var(--sea);
  padding-left: 18px;
}

.dropdown-item:hover i {
  color: var(--sky);
}

.dropdown-item.logout {
  color: #d32f2f;
}

.dropdown-item.logout i {
  color: #d32f2f;
}

.dropdown-item.logout:hover {
  background-color: rgba(211, 47, 47, 0.08);
  border-left-color: #d32f2f;
}

.dropdown-item.logout:hover i {
  color: #c62828;
}

.navmenu {
  width: 22%;
  height: 100vh;
  background: #1d3557;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  padding-top: 80px;
  padding-left: 20px;
  padding-right: 20px;
  gap: 12px;
  transform: translateX(100%);
  transition: transform 0.6s ease-out;
  z-index: 999;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
}

.close {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 20px;
  right: 20px;
}

.close:hover {
  cursor: pointer;
}

.close > span {
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close > span:first-of-type {
  transform: rotateZ(45deg);
}

.close > span:last-of-type {
  transform: rotateZ(-45deg);
}

.seperator {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.15);
  height: 1px;
  margin: 0;
}

.navmenu > a {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-family: var(--font-body);
  color: #e0e0e0;
  text-decoration: none;
  display: block;
  position: relative;
  padding: 10px 12px;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.navmenu > a::before {
  display: none;
}

.navmenu > a:hover {
  color: #ffffff;
  background-color: rgba(105, 202, 231, 0.2);
}

.navmenu > a:hover::before {
  display: none;
}

@media (max-width: 1200px) {
  .navmenu {
    width: 35%;
  }

  header > ul {
    width: 30%;
  }
  .navbutton {
    height: 35%;
    margin-inline: 3px;
  }
}

@media (max-width: 576px) {
  .navmenu {
    width: 50%;
  }

  .navbutton {
    height: 40%;
    margin-inline: 2px;
  }

  header > h2 {
    transform: scaleX(0);
  }
  header > ul {
    width: 60%;
  }
}

.footer {
  background: linear-gradient(180deg, #f5f5f5, #e9e9e9);
  color: #222;
  padding: 60px 8%;
  font-family: var(--font-heading);
  position: relative;
  overflow: hidden;
  /* Ensure footer is at the bottom if content is short */
  width: 100%;
  box-sizing: border-box; /* Include padding in width */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 35px;
  height: 2px;
  background: var(--sea);
  border-radius: 2px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--sea);
  padding-left: 5px;
}

/* =====================
   SOCIAL MEDIA STYLES
   ===================== */
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9ef5f8 0%, #69cae7 100%);
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  box-shadow: 0 4px 12px rgba(105, 202, 231, 0.2);
}

.social-icon.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.social-icon:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 24px rgba(105, 202, 231, 0.4);
  background: linear-gradient(135deg, #69cae7 0%, #0097a7 100%);
}

.social-icon i {
  transition: all 0.3s ease;
}

.social-icon:hover i {
  transform: rotate(12deg) scale(1.15);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  font-size: 0.95rem;
  color: #555;
}

/* Your fade-in animation CSS */
.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-section.social-media ul {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.footer-section.social-media ul li {
  margin-bottom: 0;
}

.footer-section.social-media ul li a {
  display: inline-block;
  color: #333;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section.social-media ul li a:hover {
  color: var(--sea);
  transform: scale(1.1);
  padding-left: 0;
}

.footer-section.social-media ul li a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

#myBookingsModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

#myBookingsModal.active {
  display: flex;
}

.my-bookings-content {
  background: white;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

.booking-modal-header {
  padding: 24px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.booking-modal-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 600;
  font-family: var(--font-heading);
}

.booking-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.booking-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.booking-tabs {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid #e0e0e0;
  overflow-x: auto;
}

.booking-tabs .tab {
  padding: 8px 16px;
  background: none;
  border: 2px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.booking-tabs .tab.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.booking-tabs .tab:hover {
  border-color: #667eea;
}

/* Booking Cards */
.booking-list {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
}

.booking-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.booking-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.booking-header h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
  flex: 1;
  font-family: var(--font-body);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-body);
}

.status-badge.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-badge.status-confirmed {
  background: #d4edda;
  color: #155724;
}

.status-badge.status-rejected {
  background: #f8d7da;
  color: #721c24;
}

.status-badge.status-completed {
  background: #e2e3e5;
  color: #383d41;
}

.booking-card p {
  margin: 8px 0;
  font-size: 14px;
  color: #666;
}

.booking-card p strong {
  color: #333;
}

.booking-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.booking-actions button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-details {
  background: #e8f0fe;
  color: #667eea;
  border: 1px solid #667eea;
  font-family: var(--font-body);
}

.btn-details:hover {
  background: #667eea;
  color: white;
}

.btn-review {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  font-family: var(--font-body);
}

.btn-review:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.no-bookings {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 14px;
}

/* Booking Details Modal */
#bookingDetailsModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

#bookingDetailsModal.active {
  display: flex;
}

.booking-details-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

.booking-details {
  padding: 24px;
  font-family: var(--font-body);
}

.details-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.details-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e0e0e0;
}

.details-header h3 {
  margin: 0;
  font-size: 20px;
  color: #333;
  flex: 1;
}

.details-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.details-item label {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.details-item p {
  margin: 0;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

.details-item strong {
  color: #667eea;
  font-size: 18px;
}

.details-actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
}

.btn-close-details {
  flex: 1;
  padding: 10px 16px;
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.btn-close-details:hover {
  background: #e0e0e0;
  border-color: #999;
}

/* Add Review Modal */
#addReviewModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

#addReviewModal.active {
  display: flex;
}

.review-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
  font-family: var(--font-body);
}

.booking-modal-body {
  padding: 24px;
}

.form-section {
  margin-bottom: 24px;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
}

.form-section h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
  font-weight: 600;
  font-family: var(--font-body);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #555;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.star {
  font-size: 32px;
  cursor: pointer;
  color: #ddd;
  transition: all 0.2s ease;
  user-select: none;
}

.star:hover {
  color: #ffd700;
  transform: scale(1.2);
}

.star.active {
  color: #ffd700;
}

.booking-confirmation {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* MY BOOKINGS MODAL */
#myBookingsModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

#myBookingsModal.active {
  display: flex;
}

.my-bookings-content {
  background: white;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.booking-modal-header {
  padding: 28px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: none;
}

.booking-modal-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: var(--font-heading);
}

.booking-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.booking-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.booking-tabs {
  display: flex;
  gap: 8px;
  padding: 20px 32px;
  border-bottom: 1px solid #e8e8e8;
  background: #f9f9f9;
  overflow-x: auto;
  flex-shrink: 0;
}

.booking-tabs .tab {
  padding: 10px 20px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  color: #666;
}

.booking-tabs .tab:hover {
  border-color: #667eea;
  color: #667eea;
}

.booking-tabs .tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.booking-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-item {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  background: #fafafa;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.booking-item:hover {
  border-color: #667eea;
  background: white;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
}

.booking-summary {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.booking-info {
  flex: 1;
}

.booking-info h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
  font-family: var(--font-heading);
}

.booking-property {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: #666;
  font-family: var(--font-body);
}

.booking-dates {
  margin: 0;
  font-size: 13px;
  color: #999;
  font-family: var(--font-body);
}

.booking-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body);
  text-transform: capitalize;
}

.booking-status[data-status="pending"] {
  background: #fff3cd;
  color: #856404;
}

.booking-status[data-status="confirmed"] {
  background: #d4edda;
  color: #155724;
}

.booking-status[data-status="rejected"] {
  background: #f8d7da;
  color: #721c24;
}

.booking-status[data-status="completed"] {
  background: #d1ecf1;
  color: #0c5460;
}

.booking-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn-view-booking,
.btn-review {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.btn-view-booking {
  background: #e8f0fe;
  color: #667eea;
  border: 1px solid #667eea;
}

.btn-view-booking:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-review {
  background: #fff8e1;
  color: #f57c00;
  border: 1px solid #f57c00;
}

.btn-review:hover {
  background: #f57c00;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

.no-bookings {
  text-align: center;
  padding: 80px 40px;
  color: #999;
  font-size: 16px;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.no-bookings::before {
  content: "📅";
  font-size: 56px;
  margin-bottom: 16px;
  display: block;
  opacity: 0.5;
}

/* MY REVIEWS MODAL */
#myReviewsModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

#myReviewsModal.active {
  display: flex;
}

.my-reviews-content,
.reviews-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

#myReviewsList,
.reviews-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  transition: all 0.3s ease;
}

.review-item:hover {
  border-color: #ffd700;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15);
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.review-header h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
  font-family: var(--font-heading);
  flex: 1;
}

.review-rating {
  font-size: 18px;
  color: #ffd700;
  letter-spacing: 3px;
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
}

.review-title {
  font-size: 15px;
  color: #555;
  font-weight: 600;
  margin: 12px 0 8px 0;
  font-family: var(--font-heading);
}

.review-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 8px 0 12px 0;
  font-family: var(--font-body);
  padding: 12px;
  background: #f5f5f5;
  border-left: 3px solid #ffd700;
  border-radius: 4px;
}

.review-date {
  color: #999;
  font-size: 12px;
  margin: 8px 0;
  font-family: var(--font-body);
}

.review-status {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8e8e8;
}

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-body);
  text-transform: capitalize;
}

.status-badge[data-status="pending"] {
  background: #fff3cd;
  color: #856404;
}

.status-badge[data-status="published"] {
  background: #d4edda;
  color: #155724;
}

.status-badge[data-status="rejected"] {
  background: #f8d7da;
  color: #721c24;
}

.no-reviews {
  text-align: center;
  padding: 80px 40px;
  color: #999;
  font-size: 16px;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.no-reviews::before {
  content: "⭐";
  font-size: 56px;
  margin-bottom: 16px;
  display: block;
  opacity: 0.5;
}

/* MY PROFILE MODAL */
#profileModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 20px;
  font-family: var(--font-body);
}

#profileModal.active {
  display: flex;
}

.profile-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.profile-modal-content .booking-modal-header {
  padding: 28px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: none;
}

.profile-modal-content .booking-modal-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: var(--font-heading);
}

.profile-info {
  padding: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
}

#profileContent {
  padding: 28px 32px;
  text-align: center;
  color: #999;
}

#profileForm {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#profileForm .form-section {
  margin-bottom: 0;
  padding: 24px 32px;
  background: white;
  border-radius: 0;
  border-bottom: 1px solid #e8e8e8;
}

#profileForm .form-section:last-of-type {
  border-bottom: none;
}

#profileForm .form-section label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

#profileForm input,
#profileForm textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin-top: 6px;
}

#profileForm input:focus,
#profileForm textarea:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#profileForm input:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

#profileForm textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 12px;
  padding: 24px 32px;
  background: #f9f9f9;
  border-top: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.btn-save,
.btn-cancel {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.btn-save {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-cancel {
  background: #e8e8e8;
  color: #333;
}

.btn-cancel:hover {
  background: #ddd;
}

/* ========================================
   RESPONSIVE DESIGN FOR MODALS
   ======================================== */

@media (max-width: 768px) {
  #myBookingsModal,
  #myReviewsModal,
  #profileModal {
    padding: 16px;
  }

  .my-bookings-content,
  .my-reviews-content,
  .reviews-modal-content,
  .profile-modal-content {
    max-width: 100%;
    width: 100%;
    max-height: 95vh;
    border-radius: 12px;
  }

  .booking-modal-header,
  .booking-list,
  #myReviewsList,
  #profileForm .form-section,
  .form-actions {
    padding: 20px 24px;
  }

  .booking-modal-header h2 {
    font-size: 24px;
  }

  .booking-item {
    flex-direction: column;
    padding: 16px;
  }

  .booking-summary {
    flex-direction: column;
    width: 100%;
  }

  .booking-status {
    align-self: flex-start;
    margin-top: 12px;
  }

  .booking-tabs {
    padding: 16px 24px;
    gap: 6px;
  }

  .booking-tabs .tab {
    padding: 8px 16px;
    font-size: 13px;
  }

  .review-header {
    flex-direction: column;
    gap: 8px;
  }

  .review-rating {
    margin-top: 8px;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-save,
  .btn-cancel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #myBookingsModal,
  #myReviewsModal,
  #profileModal {
    padding: 0;
  }

  .my-bookings-content,
  .my-reviews-content,
  .reviews-modal-content,
  .profile-modal-content {
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .booking-modal-header,
  .booking-list,
  #myReviewsList,
  #profileForm .form-section,
  .form-actions {
    padding: 16px;
  }

  .booking-modal-header h2 {
    font-size: 22px;
  }

  .booking-modal-close {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .booking-tabs {
    padding: 12px 16px;
    gap: 4px;
  }

  .booking-tabs .tab {
    padding: 8px 12px;
    font-size: 12px;
  }

  .booking-list {
    gap: 12px;
  }

  .booking-item {
    padding: 14px;
  }

  .booking-info h4 {
    font-size: 15px;
  }

  .booking-property {
    font-size: 13px;
  }

  .booking-dates {
    font-size: 12px;
  }

  .booking-actions {
    gap: 6px;
  }

  .btn-view-booking,
  .btn-review {
    padding: 7px 12px;
    font-size: 11px;
  }

  .review-item {
    padding: 16px;
  }

  .review-title {
    font-size: 14px;
  }

  .review-text {
    font-size: 13px;
    padding: 10px;
  }

  #profileForm .form-section label {
    font-size: 12px;
  }

  #profileForm input,
  #profileForm textarea {
    padding: 10px 12px;
    font-size: 13px;
  }

  .form-actions {
    gap: 10px;
  }

  .btn-save,
  .btn-cancel {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 6%;
  }
  .footer-section h3 {
    font-size: 1.1rem;
  }
  .booking-modal-content,
  .my-bookings-content,
  .my-reviews-content,
  .profile-modal-content,
  .review-modal-content {
    max-width: 100%;
    width: 95%;
    max-height: 90vh;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .payment-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-header {
    flex-direction: column;
    gap: 8px;
  }

  .status-badge {
    align-self: flex-start;
  }

  .booking-actions {
    flex-direction: column;
  }

  .booking-actions button {
    width: 100%;
  }
}

/* ========================
   SAVED PROPERTIES MODAL
   ======================== */
#savedPropertiesModal {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#savedPropertiesModal.active {
  display: flex;
}

.saved-properties-content {
  background: white;
  width: 90vw;
  max-width: 1100px;
  max-height: 70vh;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
  overflow: hidden;
}

.saved-properties-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  border-bottom: 1px solid #e0e0e0;
  background: linear-gradient(135deg, #1d3557 0%, #9ef5f8 100%);
  flex-shrink: 0;
}

.saved-properties-header h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: white;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.saved-properties-header .booking-modal-close {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.saved-properties-header .booking-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.saved-properties-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  background: #fafafa;
}

.saved-properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  width: 100%;
}

.saved-property-card {
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.saved-property-card:hover {
  border-color: #69cae7;
  box-shadow: 0 12px 24px rgba(105, 202, 231, 0.15);
  transform: translateY(-6px);
}

.saved-property-image {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #f0f0f0;
  flex-shrink: 0;
}

.saved-property-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.saved-property-info h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  color: #1d3557;
  margin: 0 0 6px 0;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
}

.saved-property-location {
  font-size: 12px;
  color: #666;
  margin: 8px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.saved-property-location i {
  color: #69cae7;
  flex-shrink: 0;
}

.saved-property-details {
  display: flex;
  gap: 8px;
  margin: 8px 0;
  font-size: 11px;
  color: #555;
  flex-wrap: wrap;
}

.saved-property-details span {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f5f5f5;
  padding: 4px 7px;
  border-radius: 5px;
}

.saved-property-details i {
  color: #69cae7;
  font-size: 12px;
}

.saved-property-rating {
  font-size: 12px;
  color: #666;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.saved-property-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 12px 0;
  font-weight: 700;
  padding: 6px 8px;
  background: linear-gradient(
    135deg,
    rgba(158, 245, 248, 0.1) 0%,
    rgba(105, 202, 231, 0.1) 100%
  );
  border-radius: 8px;
  border-left: 3px solid #69cae7;
}
.saved-property-price .price-amount {
  font-size: 15px;
  color: #1d3557;
}

.saved-property-price .currency {
  font-size: 10px;
  opacity: 0.8;
}

.saved-property-price .price-period {
  font-size: 12px;
  color: #888;
  font-weight: 400;
}

.saved-property-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #e8e8e8;
}

.saved-property-actions button,
.saved-property-actions a {
  flex: 1;
  padding: 7px 8px;
  border: 1px solid #d8d8d8;
  background: white;
  color: #1d3557;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  font-family: var(--font-body);
}

.saved-property-actions button:hover,
.saved-property-actions a:hover {
  background: #f8f8f8;
  border-color: #69cae7;
  color: #69cae7;
}

.saved-property-actions .view-btn {
  background: linear-gradient(135deg, #9ef5f8 0%, #69cae7 100%);
  color: white;
  border: none;
  font-weight: 600;
}

.saved-property-actions .view-btn:hover {
  background: linear-gradient(135deg, #69cae7 0%, #0097a7 100%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(105, 202, 231, 0.3);
}

.saved-property-actions .share-btn {
  background: white;
  border: 1.5px solid #69cae7;
  color: #69cae7;
}

.saved-property-actions .share-btn:hover {
  background: #69cae7;
  color: white;
}

.saved-property-actions .unsave-btn {
  background: #ffe6e6;
  color: #d63031;
  border-color: #ffb8b8;
}

.saved-property-actions .unsave-btn:hover {
  background: #ffd9d9;
  border-color: #ff9999;
  color: #c00;
}

/* Share menu for saved properties */
.share-menu-saved-nav {
  position: fixed;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  min-width: 190px;
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.share-menu-saved-nav .share-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #1d3557;
  text-decoration: none;
  border: none;
  background: white;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.share-menu-saved-nav .share-option:first-child {
  border-radius: 8px 8px 0 0;
}

.share-menu-saved-nav .share-option:last-child {
  border-radius: 0 0 8px 8px;
}

.share-menu-saved-nav .share-option:hover {
  background: #f5f5f5;
  color: #69cae7;
}

.share-menu-saved-nav .share-option i {
  width: 18px;
  color: #69cae7;
  font-size: 14px;
}

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

.no-properties i {
  font-size: 56px;
  color: #ddd;
  margin-bottom: 20px;
  display: block;
}

.no-properties h3 {
  font-size: 20px;
  color: #1d3557;
  margin: 20px 0 10px 0;
}

.no-properties p {
  font-size: 14px;
  color: #999;
}

@media (max-width: 1024px) {
  .saved-properties-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .saved-properties-content {
    width: 95vw;
    max-height: 88vh;
  }

  .saved-properties-header {
    padding: 20px 24px;
  }

  .saved-properties-header h2 {
    font-size: 22px;
  }

  .saved-properties-body {
    padding: 20px 16px;
  }

  .saved-properties-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .saved-property-card {
    flex-direction: row;
  }

  .saved-property-image {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
  }

  .saved-property-info {
    padding: 14px;
  }

  .saved-property-actions {
    gap: 6px;
  }

  .saved-property-actions button,
  .saved-property-actions a {
    padding: 8px 10px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .saved-properties-content {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .saved-properties-body {
    padding: 16px 12px;
  }

  .saved-property-details {
    gap: 8px;
  }

  .saved-property-details span {
    padding: 4px 8px;
    font-size: 12px;
  }
}

/* ===== WISHLIST SYSTEM STYLES ===== */

.wishlists-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wishlist-group {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.wishlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.wishlist-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}

.property-count {
  font-size: 12px;
  color: #999;
  margin: 0 16px;
}

.wishlist-header-actions {
  display: flex;
  gap: 8px;
}

.btn-share-list,
.btn-delete-list {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-share-list:hover {
  background: #e8f4f8;
  color: var(--sea);
}

.btn-delete-list:hover {
  background: #fee;
  color: #d32f2f;
}

.wishlist-properties {
  padding: 12px;
  max-height: 400px;
  overflow-y: auto;
}

.wishlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #fafafa;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 4px solid var(--sea);
}

.wishlist-item-info {
  flex: 1;
}

.wishlist-item-info h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: var(--navy);
}

.wishlist-item-info .location,
.wishlist-item-info .price {
  margin: 2px 0;
  font-size: 12px;
  color: #666;
}

.wishlist-item-actions {
  display: flex;
  gap: 8px;
  margin-left: 12px;
}

.btn-view,
.btn-remove-prop {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-view {
  color: var(--sea);
}

.btn-view:hover {
  background: #e8f4f8;
}

.btn-remove-prop {
  color: #999;
}

.btn-remove-prop:hover {
  background: #fee;
  color: #d32f2f;
}

.no-items {
  text-align: center;
  padding: 20px;
  color: #999;
  font-size: 14px;
}

.wishlist-create-new {
  padding: 16px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.btn-create-wishlist {
  background: var(--sea);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-create-wishlist:hover {
  background: #5ab5d5;
  transform: translateY(-2px);
}

/* Wishlist Selector Modal */
.wishlist-selector-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
}

.wishlist-selector-content {
  background: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.wishlist-selector-content h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.wishlist-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.wishlist-option {
  background: #f5f5f5;
  border: 2px solid transparent;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wishlist-option:hover {
  background: #e8f4f8;
  border-color: var(--sea);
}

.list-name {
  font-weight: 500;
  color: var(--navy);
}

.list-count {
  font-size: 12px;
  color: #999;
}

.wishlist-actions {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.btn-create-list,
.btn-cancel {
  flex: 1;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-create-list {
  background: var(--sea);
  color: white;
}

.btn-create-list:hover {
  background: #5ab5d5;
}

.btn-cancel {
  background: #e0e0e0;
  color: #333;
}

.btn-cancel:hover {
  background: #ccc;
}

/* Share Menu for Wishlist */
.share-menu-wishlist {
  position: fixed;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  min-width: 300px;
}

.share-menu-wishlist h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: var(--navy);
}

.share-menu-wishlist p {
  margin: 0 0 16px 0;
  font-size: 12px;
  color: #666;
}

.share-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: none;
  background: #f5f5f5;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  transition: all 0.2s;
}

.share-option:hover {
  background: var(--sea);
  color: white;
}

.btn-close-share {
  width: 100%;
  padding: 10px;
  border: none;
  background: #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-close-share:hover {
  background: #ccc;
}

/* ===== NEW NAVBAR DESIGN (REVISED 2025-11-20) ===== */

/* Remove old sidebar menu elements */
.navmenu,
.close,
.seperator,
.ham,
.bah {
  display: none !important;
}

/* Main Header/Navbar styles */
header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px; /* Ample horizontal space */
  box-sizing: border-box;
  position: relative; /* For mobile dropdown positioning */
}

/* Left, Center, Right sections */
.navbar-left,
.navbar-right {
  display: flex;
  align-items: center;
  flex: 1;
}

.navbar-center {
  flex-grow: 0; /* Don't allow center to grow, just fit content */
  display: flex;
  justify-content: center;
}

.navbar-left {
  justify-content: flex-start;
  gap: 30px;
}

.navbar-right {
  justify-content: flex-end;
  gap: 15px; /* Space between links and icons */
}

/* Centered Logo and Title */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-link h2 {
  color: #f8f8f8;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap; /* Prevent title from wrapping */
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  margin-right: 10px;
  padding: 0;
  gap: 15px; /* Ample space between links */
}

.nav-links li a {
  color: rgba(248, 248, 248, 0.85);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px;
  border-radius: 8px;
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-links li a:hover {
  color: #f8f8f8;
  background-color: rgba(248, 248, 248, 0.1);
}

/* Nav Icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between icons */
}

.navbutton {
  background: transparent;
  color: #f8f8f8;
  border: 1px solid #f8f8f8;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  margin-inline: 5px;
}

.navbutton:hover {
  background: rgba(248, 248, 248, 0.15);
  border-color: var(--sea);
  transform: scale(1.05);
}

.navbutton i {
  transition: color 0.3s ease;
}

.navbutton:hover i {
  color: var(--sea);
}

/* Mobile Menu Icon ("Hamburger") */
.mobile-menu-icon {
  display: none; /* Hidden on desktop */
  cursor: pointer;
  width: 28px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1002; /* Above other elements */
}

.mobile-menu-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.mobile-menu-icon.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.mobile-menu-icon.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-icon.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.mobile-nav-dropdown {
  display: none;
  position: absolute;
  top: 10vh; /* Position below the header */
  left: 0;
  right: 0;
  background: #192f4e; /* Slightly lighter than var(--navy) */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
  animation: slideDownDropdown 0.4s ease-out;
}

.mobile-nav-dropdown a {
  display: block;
  padding: 18px 30px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.mobile-nav-dropdown a:last-child {
  border-bottom: none;
}

.mobile-nav-dropdown a:hover {
  background: rgba(105, 202, 231, 0.15);
  color: var(--white);
}

/* Responsive Breakpoints */

/* Intermediate breakpoint for tablet and medium screens (768px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  header.navbar {
    padding: 0 30px;
  }
  .navbar-left {
    gap: 20px; /* Reduce gap from 30px to 20px */
  }
  .nav-links {
    gap: 12px; /* Reduce gap from 15px to 12px */
  }
  .nav-links li a {
    font-size: 0.85rem; /* Reduce from 0.95rem to 0.85rem */
    padding: 8px; /* Reduce from 10px to 8px */
  }
  .logo-link h2 {
    font-size: 1.1rem; /* Reduce from 1.3rem to 1.1rem */
  }
  .navbar-right {
    gap: 10px; /* Reduce from 15px to 10px */
  }
  .navbutton {
    width: 40px; /* Reduce from 44px to 40px */
    height: 40px;
    font-size: 1.1rem; /* Reduce from 1.2rem to 1.1rem */
    margin-inline: 3px; /* Reduce from 5px to 3px */
  }
}

@media (max-width: 1100px) {
  /* Adjust breakpoint to avoid overlap */
  .nav-links {
    display: none;
  }
  .navbar-left {
    justify-content: flex-start;
  }
  .mobile-menu-icon {
    display: flex;
  }
  header.navbar {
    padding: 0 25px;
  }
}

@media (max-width: 768px) {
  .logo-link h2 {
    display: none; /* Hide title on smaller screens */
  }
  .navbar-center {
    /* Allow the logo to just be in the center without taking up space */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .navbar-right {
    gap: 5px;
  }
  .navbutton {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* ===== SCROLL TO TOP BUTTON ===== */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--navy);
  color: white;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#scrollToTopBtn.visible {
  opacity: 1;
  visibility: visible;
}

#scrollToTopBtn:hover {
  background-color: #0f1e2e;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

#scrollToTopBtn:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  #scrollToTopBtn {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1.1rem;
  }
}

/* ===== CURRENCY & COUNTRY MODAL ===== */
#currencyCountryModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

#currencyCountryModal.active {
  display: flex;
}

.currency-country-content {
  background: var(--white);
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow: visible;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
  position: relative;
  z-index: 2001;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.currency-country-content .booking-modal-header {
  padding: 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
}

.currency-country-content h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.booking-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-modal-close:hover {
  color: var(--navy);
  transform: rotate(90deg);
}

.currency-country-content .modal-body {
  padding: 30px;
}

.settings-section {
  margin-bottom: 30px;
}

.settings-section h3 {
  margin: 0 0 20px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-section h3 i {
  font-size: 18px;
  color: var(--sea);
}

.country-grid,
.currency-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== DROPDOWN STYLES ===== */
.dropdown-wrapper {
  position: relative;
  width: 100%;
}

.dropdown-toggle {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy);
}

.dropdown-toggle:hover {
  border-color: var(--sea);
  background: linear-gradient(135deg, #f0fafe 0%, #e8f9fc 100%);
  box-shadow: 0 4px 12px rgba(105, 202, 231, 0.15);
}

.dropdown-toggle:active,
.dropdown-toggle.active {
  border-color: var(--sea);
  background: linear-gradient(135deg, #e8f9fc 0%, #dff5fa 100%);
  box-shadow: 0 6px 20px rgba(105, 202, 231, 0.25);
}

.dropdown-toggle i:last-child {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: var(--sea);
}

.dropdown-toggle.active i:last-child {
  transform: rotate(180deg);
}

.toggle-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.currency-symbol-display {
  font-size: 28px;
  color: var(--sea);
  min-width: 32px;
  text-align: center;
}

.toggle-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.toggle-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.toggle-subtext {
  font-size: 12px;
  color: #999;
  font-weight: 400;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.dropdown-menu.active {
  max-height: 380px;
  opacity: 1;
  visibility: visible;
  border-color: var(--sea);
}

.dropdown-search {
  padding: 12px 14px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.dropdown-search-input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px 10px 36px;
  font-size: 13px;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.dropdown-search-input:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(105, 202, 231, 0.1);
}

.dropdown-search i {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 13px;
  pointer-events: none;
}

.dropdown-options {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
}

.dropdown-option {
  padding: 12px 14px;
  margin: 4px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  font-family: var(--font-body);
}

.dropdown-option:hover {
  background: #f5fafe;
  border-color: var(--sea);
}

.dropdown-option.selected {
  background: linear-gradient(
    135deg,
    rgba(105, 202, 231, 0.1),
    rgba(158, 245, 248, 0.1)
  );
  border-color: var(--sea);
  font-weight: 600;
}

.dropdown-option i {
  display: none;
  color: var(--sea);
  font-size: 16px;
  flex-shrink: 0;
}

.dropdown-option.selected i {
  display: block;
}

.option-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.currency-symbol {
  font-size: 22px;
  color: var(--sea);
  min-width: 28px;
  text-align: center;
}

.option-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-heading);
}

.option-subtext {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  font-family: var(--font-body);
}

/* Scrollbar styling for dropdowns */
.dropdown-options::-webkit-scrollbar {
  width: 6px;
}

.dropdown-options::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

.dropdown-options::-webkit-scrollbar-thumb {
  background: var(--sea);
  border-radius: 10px;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
  background: #5ab8d9;
}

.settings-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 24px 0;
}

.settings-info {
  padding: 16px;
  background: #f0fafe;
  border-left: 4px solid var(--sea);
  border-radius: 8px;
  margin-top: 24px;
}

.settings-info p {
  margin: 0;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-info i {
  color: var(--sea);
  font-size: 14px;
}

@media (max-width: 600px) {
  .currency-country-content {
    border-radius: 12px;
    max-height: 90vh;
    max-width: 95%;
  }

  .currency-country-content .modal-body {
    padding: 18px;
  }

  .settings-section h3 {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .dropdown-toggle {
    padding: 14px 14px;
    font-size: 14px;
  }

  .currency-symbol-display {
    font-size: 24px;
  }

  .toggle-text {
    font-size: 14px;
  }

  .toggle-subtext {
    font-size: 11px;
  }

  .dropdown-menu {
    max-height: 300px;
  }

  .dropdown-menu.active {
    max-height: 300px;
  }

  .dropdown-options {
    max-height: 240px;
  }

  .option-text {
    font-size: 13px;
  }

  .currency-symbol {
    font-size: 18px;
  }

  .settings-divider {
    margin: 18px 0;
  }

  .settings-info {
    margin-top: 18px;
    font-size: 12px;
  }
}

/* ===== SEO SECTIONS ===== */
.seo-sections {
  width: 100%;
  background: linear-gradient(180deg, #f5f5f5, #e9e9e9);
  padding: 0;
  border-top: none;
}

.seo-section {
  max-width: 100%;
  margin: 0;
  background: rgb(250, 250, 250);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 8%;
  margin-block: 10px;
  border-radius: 15px;
}

.seo-section:last-child {
  border-bottom: none;
}

.seo-section-header {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.seo-section-header:hover {
  background: rgba(105, 202, 231, 0.05);
  box-shadow: none;
}

.seo-section-header h3 {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

.seo-toggle-icon {
  color: #69cae7;
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
  min-width: 30px;
  text-align: center;
}

.seo-section-header.active .seo-toggle-icon {
  transform: rotate(45deg);
}

.seo-section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: transparent;
}

.seo-section-header.active ~ .seo-section-content {
  max-height: 1000px;
}

.seo-section.active .seo-section-content {
  max-height: 1000px;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 30px 0;
}

.seo-column h4 {
  color: #333;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid #69cae7;
  padding-bottom: 10px;
}

.seo-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-column li {
  margin: 10px 0;
}

.seo-column a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: all 0.2s ease;
  display: inline-block;
}

.seo-column a:hover {
  color: #69cae7;
  padding-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .seo-section-header h3 {
    font-size: 16px;
  }

  .seo-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px;
  }

  .seo-column h4 {
    font-size: 14px;
  }

  .seo-column a {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .seo-sections {
    padding: 20px 10px;
  }

  .seo-section {
    margin: 0 0 20px 0;
    border-radius: 8px;
  }

  .seo-section-header {
    padding: 16px 16px;
  }

  .seo-section-header h3 {
    font-size: 14px;
  }

  .seo-toggle-icon {
    font-size: 20px;
  }

  .seo-content-grid {
    padding: 15px 12px;
    gap: 15px;
  }

  .seo-column h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .seo-column a {
    font-size: 12px;
  }
}
