:root {
  --doh-green: #034C2B;
  --doh-green-light: #046338;
  --accent: #ffc107;
  --bg: #f5f7fa;
  --brand-green: #034C2B;
}

body {
    /* font-family: Verdana; */
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    margin: 0;
    overflow-x: hidden;
}

/* Updated Left Side Section - Responsive Stacking */
.hero-login-side {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(3, 76, 43, 0.85), rgba(3, 76, 43, 0.9)), 
                url('../../images/bg1.jpg') center/cover no-repeat;
    min-height: 40vh; /* Takes up top portion on mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

/* Decorative Shapes - Simplified for performance on mobile */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
}
.shape-1 { width: 200px; height: 200px; background: var(--accent); top: -40px; right: -40px; opacity: 0.2; }
.shape-2 { width: 150px; height: 150px; background: #00c2ff; bottom: -30px; left: -30px; opacity: 0.15; }

.brand-logo {
    width: 100px; /* Scaled down for 375px width */
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

/* Buttons & Inputs */
.btn-brand {
    background-color: var(--brand-green);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: var(--doh-green-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 76, 43, 0.3);
}

/* Form Styles - Optimized for Mobile Typing */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: var(--brand-green);
}

.form-control {
    border-left: none;
    font-size: 16px !important; /* Critical: Prevents iOS auto-zoom */
    height: 48px; /* Larger tap target */
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--brand-green);
}

/* Floating Action Button (FAB) for Mobile */

.home-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    padding: 0;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--brand-green);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;

}

.home-fab i {
    font-size: 1.25rem;
}

.input-group .btn {
    border-left: none;
}

.input-group .form-control:focus {
    box-shadow: none;
}

#togglePassword {
    cursor: pointer;
}

.btn-brand {
    background-color: #034C2B;
    color: #fff;
}

.btn-brand:hover {
    background-color: #023d22;
    color: #fff;
}

@media (max-width: 991px) {

    /* .brand-circle {
    width: 96px;
    height: 96px;
    } */
    .brand-logo {
        width: 90px;
    }
}

/* Mobile font scaling */
@media (max-width: 575px) {

    .brand-logo {
        width: 75px;
    }

    .brand-title {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }

    .brand-desc {
        max-width: 420px;
        font-size: 0.9rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-desc {
        font-size: 0.9rem;
    }

    .form-label {
        font-size: 0.85rem;
    }

    .form-control-lg {
        font-size: 0.9rem;
        padding: 0.55rem 0.75rem;
    }

    .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .home-fab {
        width: 42px;
        height: 42px;
    }

    .home-fab i {
        font-size: 1.1rem;
    }
}

        .auth-links-top {
  text-align: right;
  margin-top: -0.5rem;
}

.auth-links-bottom {
  margin-top: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-muted {
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: none;
}

.link-muted:hover {
  color: #034C2B;
  text-decoration: underline;
}

.link-strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #034C2B;
  text-decoration: none;
}

.link-strong:hover {
  text-decoration: underline;
}
.password-eye {
  border: 1px solid #d1d5db;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
  gap: 10px;
}

.login-options .form-check {
  margin: 0;
}

.form-check-input {
  transform: scale(1.1);
  cursor: pointer;
}
.form-check-input:checked {
  background-color: #034C2B;
  border-color: #034C2B;
}

.form-check-input:focus {
  border-color: #034C2B;
  box-shadow: 0 0 0 0.2rem rgba(3, 76, 43, 0.25);
}
.forgot-link {
  font-size: 0.85rem;
}

.forgot-link:hover {
  color: var(--brand-green);
}



    .btn-brand:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}


/* Privacy Modal */

.privacy-header {
  background: #034C2B;
  color: white;
  border-bottom: none;
}

.privacy-modal {
  border-radius: 14px;
  overflow: hidden;
}

.privacy-note {
  background: #e6f4ec;
  color: #034C2B;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Mobile fix */
@media (max-width: 576px) {
  .login-options {
    flex-direction: column;
    align-items: flex-start;
  }

  .forgot-link {
    margin-left: 1.8rem; /* aligns with checkbox text */
  }
}

.password-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.password-header .forgot-link {
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: none;
}

.password-header .forgot-link:hover {
  color: #034C2B;
}