@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary-green: #8dc126;
  --primary-green-rgb: 141, 193, 38;
  --dark-color: #1c1b1a;
  --dark-color-rgb: 28, 27, 26;
  --light-bg: #1c1b1a;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-dark-bg: rgba(28, 27, 26, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.25);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

/* --- Base Reset & Typography --- */
body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: #cbd5e1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* Dynamic Ambient Glow Blobs in Background */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: #8dc126;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.15;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: #8dc126;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.18;
  z-index: -2;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--white);
}

/* --- Premium Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(141, 193, 38, 0.4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-green);
}

/* --- Layout Utility Classes --- */
.bg-dark-brand {
  background-color: var(--dark-color);
  color: var(--white);
}

.text-green-brand {
  color: var(--primary-green);
}

.bg-green-brand {
  background-color: var(--primary-green);
}

/* --- Glassmorphism Navigation --- */
.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 1.45rem;
  color: var(--white) !important;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green) !important;
}

/* Glassmorphism navbar */
.glass-header {
  background: rgba(28, 27, 26, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  z-index: 1000;
}

.header-scrolled {
  background: rgba(28, 27, 26, 0.85);
  padding: 0.4rem 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* --- Top Info Bar --- */
.top-bar {
  background-color: rgba(28, 27, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  padding: 6px 0;
  font-family: var(--font-display);
}
.top-bar a {
  color: rgba(255, 255, 255, 0.7);
}
.top-bar a:hover {
  color: var(--primary-green);
}

/* --- Hero Banners --- */
.hero-slider-section {
  position: relative;
  background-color: var(--dark-color);
  height: 85vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(28, 27, 26, 0.95) 0%, rgba(28, 27, 26, 0.6) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  animation: zoomBg 20s infinite alternate ease-in-out;
}

@keyframes zoomBg {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Inner Page Hero Header */
.page-header {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: var(--dark-color);
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.45;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

/* --- Dynamic Search Panel --- */
.search-panel {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.glass-search-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  padding: 2.5rem;
}

.search-nav-tabs {
  border: none;
  margin-bottom: 1.5rem;
}

.search-nav-tabs .nav-link {
  border: none;
  background: none;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85) !important;
  border-radius: 30px;
  margin-right: 0.5rem;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.25rem !important;
}

.search-nav-tabs .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.search-nav-tabs .nav-link.active {
  background-color: var(--primary-green);
  color: #1c1b1a !important;
  border-color: var(--primary-green);
}

.search-nav-tabs .nav-link.active::after {
  display: none;
}

/* --- Premium Buttons --- */
.btn-premium {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.85rem 2.25rem;
  border-radius: 50px; /* Modern pill style from the mockup */
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium-green {
  background-color: var(--primary-green);
  color: #1c1b1a; /* Dark text on high-contrast lime green background */
  border: 1px solid var(--primary-green);
  box-shadow: 0 8px 24px rgba(141, 193, 38, 0.25);
}

.btn-premium-green:hover {
  background-color: #a1d92e;
  color: #1c1b1a;
  border-color: #a1d92e;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(141, 193, 38, 0.4);
}

.btn-premium-dark {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-premium-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-premium-outline {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-premium-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-premium-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}

.btn-premium-outline-white:hover {
  background-color: var(--white);
  color: #1c1b1a;
  transform: translateY(-2px);
}

/* --- Glassmorphism Cards --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* --- Animated Property Card --- */
.property-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.property-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.property-card:hover .property-img {
  transform: scale(1.08);
}

.property-badge-group {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.property-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  color: var(--white);
}

.property-badge-status {
  background-color: var(--primary-green);
  color: #1c1b1a;
}

.property-badge-type {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.property-favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(28, 27, 26, 0.6);
  backdrop-filter: blur(5px);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.property-favorite:hover, .property-favorite.active {
  color: #e63946;
  background: var(--white);
  transform: scale(1.1);
}

.property-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.property-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--white);
  transition: var(--transition-smooth);
}

.property-title:hover {
  color: var(--primary-green);
}

.property-location {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.property-features {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
  margin-bottom: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.feature-item i {
  color: var(--primary-green);
}

.property-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.property-actions .btn {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.65rem 0;
  border-radius: 30px; /* Rounded pill style */
  font-weight: 700;
  text-transform: uppercase;
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
  border: 1px solid #25d366;
}
.btn-whatsapp:hover {
  background-color: #128c7e;
  color: var(--white);
  border-color: #128c7e;
}

/* --- Animated Counters & Stats --- */
.stats-section {
  position: relative;
  background-color: var(--dark-color);
  padding: 5rem 0;
  color: var(--white);
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Services Card UI --- */
.service-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background-color: rgba(141, 193, 38, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover .service-icon-box {
  background-color: var(--primary-green);
  color: var(--white);
  transform: scale(1.1);
}

/* --- Video Custom Player CSS --- */
.custom-video-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  background-color: #000;
}

.custom-video-element {
  width: 100%;
  display: block;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem;
  z-index: 10;
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-video-container:hover .video-controls {
  opacity: 1;
}

.video-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.video-progress-filled {
  height: 100%;
  background: var(--primary-green);
  width: 0%;
  border-radius: 3px;
  transition: width 0.1s linear;
}

.video-buttons-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.video-left-controls, .video-right-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.video-ctrl-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.video-ctrl-btn:hover {
  color: var(--primary-green);
  transform: scale(1.1);
}

.video-time {
  font-size: 0.8rem;
  font-family: var(--font-mono, monospace);
  color: rgba(255, 255, 255, 0.8);
}

.video-volume-slider {
  width: 70px;
  height: 4px;
  accent-color: var(--primary-green);
  cursor: pointer;
}

/* Play Overlay Button */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(141, 193, 38, 0.9);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(141, 193, 38, 0.4);
  transition: var(--transition-smooth);
}

.video-play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--dark-color);
  color: var(--primary-green);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* --- Masonry Gallery Grid --- */
.masonry-grid {
  display: flex;
  margin-left: -15px;
  width: auto;
}

.masonry-col {
  padding-left: 15px;
  background-clip: padding-box;
}

.gallery-item {
  margin-bottom: 15px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 27, 26, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  text-align: center;
  color: var(--white);
  padding: 1rem;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

/* --- Testimonials --- */
.testimonial-card {
  padding: 2.5rem;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.testimonial-quote-icon {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 5rem;
  color: rgba(141, 193, 38, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* --- Footer UI --- */
footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-green);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary-green);
  padding-left: 5px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-btn:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: translateY(-3px);
  border-color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
}

/* --- Search Filter Badges (listings.html) --- */
.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.filter-badge {
  padding: 8px 18px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  font-size: 0.85rem;
  font-family: var(--font-display);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-badge:hover, .filter-badge.active {
  background-color: var(--primary-green);
  color: #1c1b1a;
  border-color: var(--primary-green);
}

/* --- WhatsApp Global Sticky Button --- */
.whatsapp-sticky {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  color: var(--white);
  font-size: 2rem;
  transition: var(--transition-smooth);
}

.whatsapp-sticky:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: var(--white);
}

/* --- Newsletter Card --- */
.newsletter-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3.5rem;
  color: var(--white);
}

/* --- Leaflet/Map Box styling --- */
.map-placeholder-box {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Favorite Notification --- */
.fav-toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--dark-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 4px solid var(--primary-green);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  pointer-events: none;
}
.fav-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Form Improvements & Selection --- */
.form-control, .form-select {
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--white) !important;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}
.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--white) !important;
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 0.25rem rgba(141, 193, 38, 0.25) !important;
}
select option {
  background-color: #1c1b1a !important;
  color: #ffffff !important;
}

/* --- Global Bootstrap Overrides for Dark Frosted Glass --- */
.bg-white {
  background-color: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--white) !important;
}
.bg-light {
  background-color: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #cbd5e1 !important;
}
.text-dark {
  color: var(--white) !important;
}
.text-black {
  color: var(--white) !important;
}
.card {
  background-color: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--white) !important;
}

/* Bright text overrides for dark/frosted backgrounds */
.text-muted, .text-black-50 {
  color: rgba(255, 255, 255, 0.65) !important;
}
.text-secondary {
  color: #94a3b8 !important;
}
.text-body, p {
  color: #cbd5e1 !important;
}
.lead {
  color: #f1f5f9 !important;
}
h1, h2, h3, h4, h5, h6, .display-4, .display-5, .display-6 {
  color: var(--white) !important;
}
.list-group-item {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}
.accordion-item {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}
.accordion-button {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--white) !important;
}
.accordion-button:not(.collapsed) {
  background-color: rgba(141, 193, 38, 0.15) !important;
  color: var(--primary-green) !important;
  box-shadow: none !important;
}
.accordion-button::after {
  filter: invert(1) !important;
}
.table {
  color: #cbd5e1 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.table th, .table td {
  background-color: rgba(255, 255, 255, 0.02) !important;
  color: #cbd5e1 !important;
}
