/* Prevent horizontal overflow globally */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* Hero Section Container */
#home-section.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.slider-item {
  position: relative;
  min-height: 100vh;
  background: #f6f4f1;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.slider-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.slider-item .container-fluid {
  height: 88%;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

/* CRITICAL FIX: Only target rows inside the slider */
.slider-item .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  height: 100%;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Image in Slider */
.slider-item .one-third {
  flex: 0 0 60%;
  max-width: 60%;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
  display: block;
  margin: 0;
  object-fit: contain;
}

.slider-item .one-third:hover {
  transform: scale(1.02);
}

/* Text in Slider */
.slider-item .one-forth {
  flex: 0 0 35%;
  max-width: 35%;
  padding-left: 30px;
}

.slider-item .subheading {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9db8a0;
}

/* CRITICAL FIX: Only target H1/P inside the slider */
.slider-item h1 {
  font-size: 44px;
  line-height: 1.2;
  margin: 16px 0;
  color: #2e2e2e;
}

.slider-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* Slider Button */
.slider-item .btn-custom {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 34px;
  background: #9db8a0;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
}

/* Responsive Fixes for Slider - Tablet and below */
@media (max-width: 991.98px) {
  #home-section.hero {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
  }

  .slider-item {
    min-height: auto;
    height: auto;
    padding: 40px 0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
  }

  .slider-item .container-fluid {
    padding-left: 0;
    padding-right: 0;
    height: auto;
    min-height: auto;
  }

  .slider-item .row {
    flex-direction: column !important;
    justify-content: flex-start;
    text-align: center;
    padding: 20px 15px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: auto;
    min-height: auto;
  }

  .slider-item .one-third {
    flex: 0 0 auto;
    max-width: 330px;
    width: 100%;
    margin: 0 auto 20px auto;
    transform: none;
    order: 1;
  }

  .slider-item .one-forth {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    order: 2;
    margin-top: 20px;
  }

  .slider-item h1 {
    font-size: 28px;
    line-height: 1.3;
    margin: 12px 0;
  }

  .slider-item p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .slider-item .btn-custom {
    font-size: 13px;
    padding: 10px 24px;
  }
}

/* Ensure laptop/desktop keeps side-by-side layout */
@media (min-width: 992px) {
  .slider-item .row {
    flex-direction: row !important;
  }

  .slider-item .one-third {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    transform: none !important;
  }

  .slider-item .one-forth {
    flex: 0 0 35% !important;
    max-width: 35% !important;
    padding-left: 30px !important;
  }
}

/* =========================================
     2. DEAL OF THE MONTH SECTION (Scoped)
     ========================================= */

.ftco-deal {
  background: #e3dcc8;
  padding: 7em 0;
  font-family: "Poppins", sans-serif;
  color: #333;
}

/* Typography */
.ftco-deal .heading-section h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
}

.ftco-deal .sub-heading {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7f8c8d;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Product Image */
.ftco-deal .main-product-img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.ftco-deal .main-product-img:hover {
  transform: translateY(-5px);
}

/* Timer */
#timer {
  margin-top: 20px;
  display: flex !important;
}

#timer .time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: #ffffff !important; /* The box stays white */
  margin-right: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

  /* FIX: Set the number color to Dark Blue/Gray */
  font-weight: bold;
  font-size: 24px;
  color: #2c3e50 !important;
  position: relative;
  z-index: 10;
}

#timer .time span {
  /* FIX: Set the label color (Days, Hours, etc.) to Gray */
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: #7f8c8d !important;
  margin-top: -2px;
  display: block;
}

/* Product Details */
.ftco-deal .text-deal h2 a {
  font-family: "Playfair Display", serif;
  color: #000;
  text-decoration: none;
  font-size: 28px;
}

.ftco-deal .price {
  margin: 15px 0;
  font-size: 22px;
}
.ftco-deal .price-dc {
  text-decoration: line-through;
  color: #95a5a6;
  font-size: 18px;
}
.ftco-deal .price-sale {
  color: #e74c3c;
  font-weight: 700;
  font-size: 24px;
}

.ftco-deal .product-desc {
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

/* Deal Button (Specific to this section) */
.ftco-deal .btn-custom {
  display: inline-block; /* Added for stability */
  padding: 12px 30px;
  background: #2c3e50;
  color: #fff !important;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(44, 62, 80, 0.2);
  margin-top: 0; /* Resetting potential conflict */
}
.ftco-deal .btn-custom:hover {
  background: #000;
  transform: translateY(-2px);
}

/* Thumbnails */
.thumb-deal {
  padding: 0;
  list-style: none;
}
.thumb-deal li.img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 10px;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.thumb-deal li.img:hover {
  border-color: #2c3e50;
  transform: scale(1.1);
}

/* --- SKINCARE GRID STYLE (IMPROVED) --- */
.skincare-section {
  background: #fcfbf8;
  padding: 90px 0;
}

/* Card */
.skincare-card {
  background: #ffffff;
  border-radius: 4px;
  transition: all 0.45s ease;
  margin-bottom: 30px;
  border: 1px solid #eceae4;
  text-align: center;
  overflow: hidden;
}

.skincare-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

/* Image container */
.skincare-card .img-prod {
  position: relative;
  padding: 40px 30px;
  background: linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);
  display: block;
}

.skincare-card .img-prod img {
  max-height: 320px;
  width: auto;
  margin: 0 auto;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Badge */
.skincare-card .status {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #9db8a0;
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.skincare-card .status.sale {
  background: #e74c3c;
}

/* Text */
.skincare-card .text {
  padding: 30px 20px;
}

.skincare-card .cat span {
  color: #aaa;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 6px;
}

.skincare-card h3 {
  margin-bottom: 12px;
}

.skincare-card h3 a {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: #2e2e2e;
  font-weight: 600;
  text-decoration: none;
}

/* Pricing */
.skincare-card .price {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.skincare-card .price .price-dc {
  text-decoration: line-through;
  color: #999;
  margin-right: 8px;
}

.skincare-card .price-sale {
  color: #e74c3c;
  font-weight: 600;
}

/* CTA */
.skincare-card .bottom-area {
  margin-top: 18px;
}

.skincare-card .add-to-cart {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #d8d3c4;
  border-radius: 25px;
  color: #2c3e50;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.skincare-card .add-to-cart:hover {
  background: #9db8a0;
  color: #fff;
  border-color: #9db8a0;
}

/* Remove image layout */
.testimony-wrap.no-image {
  padding: 40px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #eceae4;
}

/* Quote icon */
.quote-icon {
  display: inline-block;
  font-size: 28px;
  color: #9db8a0;
  margin-bottom: 15px;
}

/* Center text */
.testimony-wrap.no-image .text {
  padding-left: 20px;
}

.testimony-wrap.no-image .line {
  padding-left: 10px;
}
/* Name */
.testimony-wrap.no-image .name {
  font-weight: 600;
  margin-top: 20px;
  color: #2e2e2e;
}

/* Role */
.testimony-wrap.no-image .position {
  font-size: 12px;
  color: #888;
}

/* =========================================
   NAVBAR STYLING IMPROVEMENTS
   ========================================= */

/* Top Bar - Contact Information */
.top-bar {
  background: #1a1a1a;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.top-bar-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #9db8a0;
}

.top-bar-icon span {
  font-size: 14px;
}

.top-bar-text {
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.top-bar-delivery {
  justify-content: flex-end;
}

/* Main Navbar */
.ftco-navbar-light {
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative !important;
  top: 0 !important;
  width: 100%;
}

/* Override any transparent or dark backgrounds */
.ftco-navbar-light.bg-dark {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.ftco-navbar-light .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

/* Brand Styling */
.navbar-brand {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50 !important;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #9db8a0 !important;
}

.brand-text {
  color: #2c3e50;
}

/* Navbar Toggler */
.navbar-toggler {
  border: 2px solid rgba(44, 62, 80, 0.3);
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  border-color: #9db8a0;
  color: #9db8a0;
  outline: none;
}

.navbar-toggler .oi-menu {
  font-size: 18px;
}

.menu-text {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navbar Links */
.navbar-nav {
  align-items: center;
  flex-direction: row;
  display: flex;
}

.navbar-nav .nav-item {
  margin: 0 8px;
}

.navbar-nav .nav-link {
  color: #2c3e50 !important;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
  border-radius: 4px;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover {
  color: #9db8a0 !important;
  background: rgba(157, 184, 160, 0.1);
}

.navbar-nav .nav-item.active .nav-link {
  color: #9db8a0 !important;
  background: rgba(157, 184, 160, 0.15);
}

/* Cart Link Styling */
.nav-cart .cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #9db8a0;
  color: #ffffff !important;
  border-radius: 25px;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
}

.nav-cart .cart-link:hover {
  background: #7fa085;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(157, 184, 160, 0.3);
}

.nav-cart .cart-link .icon-shopping_cart {
  font-size: 18px;
}

.nav-cart .cart-count {
  font-size: 13px;
  font-weight: 600;
}

/* Services Section - Ensure proper spacing */
.ftco-services {
  position: relative;
  z-index: 2;
  background: #fff;
}

.ftco-section.ftco-no-pt.ftco-no-pb {
  position: relative;
  z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
  /* Ensure hero doesn't overlay services */
  #home-section.hero {
    position: relative;
    z-index: 1;
  }

  .ftco-services {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 0;
  }

  .top-bar {
    padding: 8px 0;
  }

  .top-bar-item {
    padding: 3px 0;
    justify-content: center;
  }

  .top-bar-delivery {
    justify-content: center;
  }

  .top-bar-text {
    font-size: 11px;
  }

  .ftco-navbar-light {
    padding: 12px 0;
    position: relative;
    z-index: 1000;
  }

  .navbar-brand {
    font-size: 24px;
  }

  .navbar-nav {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-item {
    margin: 5px 0;
  }

  .navbar-nav .nav-link {
    padding: 12px 20px !important;
    border-radius: 6px;
    color: #2c3e50 !important;
  }

  .navbar-nav .nav-link:hover {
    background: #f8f9fa;
    color: #9db8a0 !important;
  }

  .nav-cart .cart-link {
    justify-content: center;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .navbar-toggler {
    border: 1px solid #ddd;
    padding: 8px 12px;
  }

  .navbar-toggler .oi-menu {
    color: #2c3e50;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    display: none; /* Hide on very small screens for cleaner look */
  }

  .navbar-brand {
    font-size: 20px;
  }

  .menu-text {
    font-size: 11px;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 10px 15px !important;
  }

  .slider-item h1 {
    font-size: 24px;
  }

  .slider-item p {
    font-size: 13px;
  }

  .slider-item .one-third {
    max-width: 280px;
  }
}

/* Desktop/Laptop Specific Styles */
@media (min-width: 992px) {
  /* White background - slim navbar */
  .ftco-navbar-light {
    padding: 8px 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
  }

  /* Force white background on all navbar variations */
  .ftco-navbar-light.bg-dark,
  .ftco-navbar-light.navbar-dark,
  nav.ftco-navbar-light {
    background: #ffffff !important;
    background-color: #ffffff !important;
  }

  /* Dark brand text for white background */
  .ftco-navbar-light .navbar-brand,
  .ftco-navbar-light .navbar-brand span,
  .navbar-brand {
    font-size: 26px;
    margin-right: 40px;
    color: #2c3e50 !important;
  }

  .ftco-navbar-light .navbar-brand:hover,
  .ftco-navbar-light .navbar-brand:focus,
  .navbar-brand:hover,
  .navbar-brand:focus {
    color: #9db8a0 !important;
  }

  .navbar-nav {
    flex-direction: row !important;
    padding: 0;
    background: transparent !important;
    border-radius: 0;
    margin-top: 0;
  }

  .navbar-nav .nav-item {
    margin: 0 8px;
  }

  /* Dark nav links for white background */
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link,
  .navbar-nav .nav-link {
    padding: 8px 16px !important;
    font-size: 13px;
    color: #2c3e50 !important;
  }

  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,
  .navbar-nav .nav-link:hover {
    color: #9db8a0 !important;
    background: rgba(157, 184, 160, 0.1) !important;
  }

  .ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link,
  .navbar-nav .nav-item.active .nav-link {
    color: #9db8a0 !important;
    background: rgba(157, 184, 160, 0.15) !important;
  }

  /* Cart with green background */
  .nav-cart .cart-link {
    background: #9db8a0 !important;
    color: #ffffff !important;
  }

  .nav-cart .cart-link:hover {
    background: #7fa085 !important;
    color: #ffffff !important;
  }

  .navbar-toggler {
    display: none;
  }

  .top-bar {
    padding: 10px 0;
  }

  .top-bar-item {
    padding: 0;
  }

  .top-bar-text {
    font-size: 13px;
  }

  .top-bar-delivery {
    text-align: right;
  }
}

/* Scrolled Navbar State */
.ftco-navbar-light.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: fixed !important;
  top: 0;
  z-index: 1000;
  background: #ffffff !important;
}

.ftco-navbar-light.scrolled .navbar-brand {
  font-size: 24px;
  color: #2c3e50 !important;
}

@media (min-width: 992px) {
  .ftco-navbar-light.scrolled {
    padding: 6px 0;
    background: #ffffff !important;
  }

  .ftco-navbar-light.scrolled .navbar-brand {
    font-size: 26px;
    color: #2c3e50 !important;
  }

  .ftco-navbar-light.scrolled .navbar-nav .nav-link {
    color: #2c3e50 !important;
  }
}

/* =========================================
   MODERN LOGIN / SIGNUP PAGE STYLING
   ========================================= */

/* Variables for easy theming */
:root {
  --primary-color: #9db8a0;
  --primary-dark: #7fa085;
  --text-dark: #2c3e50;
  --text-muted: #8898aa;
  --bg-light: #f4f7f6;
  --white: #ffffff;
  --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px rgba(157, 184, 160, 0.2);
  --radius: 20px;
}

.login-section {
  padding: 80px 0;
  background: var(--bg-light);
  /* Subtle background pattern */
  background-image: radial-gradient(#e3ece6 1px, transparent 1px);
  background-size: 20px 20px;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Left Side - Login Form */
.login-form-side {
  padding: 60px;
  display: flex;
  align-items: center;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.login-form-container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  /* Add subtle animation on load */
  animation: fadeIn 0.8s ease-out;
}

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

.login-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.login-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Form Styling */
.login-form .form-group {
  margin-bottom: 25px;
}

.login-form label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.login-form .form-control {
  height: 55px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fdfdfd;
  color: #495057;
}

.login-form .form-control:focus {
  border-color: var(--primary-color);
  background: var(--white);
  box-shadow: 0 4px 15px rgba(157, 184, 160, 0.15);
  outline: none;
}

/* Password Input Wrapper */
.password-group {
  position: relative;
}

.password-input-wrapper {
  position: relative;
}

.password-input-wrapper .form-control {
  padding-right: 50px;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  background: #f0f0f0;
  color: var(--primary-color);
}

.forgot-password-link {
  display: inline-block;
  float: right;
  margin-top: -30px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.forgot-password-link:hover {
  color: var(--primary-color);
}

.remember-me {
  margin-top: 15px;
  margin-bottom: 35px;
  margin-left: 35px;
  display: flex;
  align-items: center;
}

.remember-me .form-check {
  padding-left: 0;
  display: flex;
  align-items: center;
}

.remember-me .form-check-input {
  margin-top: 0;
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.remember-me .form-check-label {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 0; /* Override previous margin */
  text-transform: none; /* Override uppercase */
  letter-spacing: normal;
}

/* Alert Messages */
.login-form .alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid;
}

.login-form .alert-danger {
  background-color: #fee;
  border-color: #fcc;
  color: #c33;
}

.login-form .alert-success {
  background-color: #efe;
  border-color: #cfc;
  color: #3c3;
}

/* Login Button */
.btn-login {
  width: 100%;
  height: 55px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  border: none;
  border-radius: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(157, 184, 160, 0.4);
}

.btn-login:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(157, 184, 160, 0.5);
  filter: brightness(105%);
}

.btn-login:active {
  transform: translateY(0);
}

/* Sign Up Link */
.signup-link-container {
  margin-top: 30px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 25px;
}

.signup-link-container p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

.signup-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  margin-left: 5px;
  position: relative;
}

.signup-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.signup-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Right Side - Image Area */
.login-image-side {
  padding: 0;
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.login-image-placeholder {
  width: 100%;
  height: 100%;
  /* Fallback color */
  background-color: var(--primary-color);
  /* Modern Gradient + Image Mix */
  background-image: linear-gradient(
      to bottom,
      rgba(44, 62, 80, 0.1),
      rgba(44, 62, 80, 0.4)
    ),
    url("https://images.unsplash.com/photo-1518112166137-45e324022878?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80"); /* Example Nature/Abstract Image */
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Content overlay on the image side */
.image-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  z-index: 10;
}

.image-text-overlay h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
}

.image-text-overlay p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
  .login-card {
    min-height: auto;
  }

  .login-form-side {
    padding: 50px 30px;
  }

  .login-image-side {
    display: none; /* Hide image on tablet/mobile to focus on form */
  }
}
