/* =========================
   Zenith TeleHealth - Login Page Styles
   ========================= */

   :root {
    --primary-blue: #4c6cff;
    --primary-blue-dark: #3749d7;
    --text-blue: #001b96;
    --danger-red: #ef4444;
    --success-green: #10b981;
    --light-bg: #f8faff;
  }
  
  /* ========== Page Layout ========== */
  .auth-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6ebf5, #c7d2f5, #a5b4fc, #4c6cff);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 2rem;
  }
  
  .auth-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    width: 100%;
    max-height: 1000px;
    overflow: hidden;
  }
  
  .auth-card-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }
  
  /* ========== Flash Messages ========== */
  .alert-danger,
  .message.error {
    background: linear-gradient(135deg, #fee2e2, #fecaca) !important;
    border: 2px solid var(--danger-red) !important;
    border-radius: 14px !important;
    padding: 1rem 1.5rem !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #b91c1c !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.15) !important;
  }
  
  .alert-danger::before,
  .message.error::before {
    content: "\f06a"; /* Font Awesome exclamation-circle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--danger-red);
  }
  
  /* ========== Form Section ========== */
  .auth-form-section {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .auth-form-header {
    text-align: center;
    margin-bottom: 0.2rem;
  }
  
  .auth-title {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
  
  .auth-subtitle {
    font-size: 2rem;
    color: #555;
    margin-top: 0.2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  }
  
  /* Inputs */
  .form-control {
    height: 65px !important;
    font-size: 1.5rem !important;
    border: 2px solid rgba(76, 108, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 1rem 1.25rem !important;
    transition: all 0.3s ease !important;
  }
  
  .form-control:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 4px rgba(76, 108, 255, 0.15) !important;
  }
  
  /* ========== Buttons ========== */
  .auth-btn {
    height: 40px;
    width: 100%;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    margin-top: 2rem;
    text-align: center;
  }
  
  /* =========================
   Buttons with Shimmer Effect
   ========================= */
.auth-btn-success,
.auth-btn-secondary {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

/* Shimmer effect base */
.auth-btn-success::after,
.auth-btn-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

/* Hover shimmer */
.auth-btn-success:hover::after,
.auth-btn-secondary:hover::after {
  left: 100%;
}

/* Success Button */
.auth-btn-success {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: #fff;
  box-shadow: 0 6px 16px rgba(76, 108, 255, 0.3);
}

.auth-btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(76, 108, 255, 0.35);
}

/* Secondary Button */
.auth-btn-secondary {
  background: #fff;
  color: var(--danger-red);
  border: 2px solid var(--danger-red);
}

.auth-btn-secondary:hover {
  background: var(--danger-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

  
  
  /* Homepage button */
  .btn-homepage {
    height: 40px;
    width: 50%;
    font-size: 1.5rem;
    border-radius: 14px;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .btn-homepage:hover {
    background: var(--primary-blue);
    color: #fff;
  }
  
  /* ========== Info + Extra Links ========== */
  .auth-alert {
    background: rgba(239, 246, 255, 0.95);
    border: 2px solid rgba(76, 108, 255, 0.2);
    border-radius: 14px;
    padding: 1.2rem;
    font-size: 1.3rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    height: 95px;
  }
  
  .auth-alert i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
  }
  
  .auth-link {
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
  }
  
  .auth-link:hover {
    text-decoration: underline;
  }
  
  /* ========== Carousel Section ========== */
  .auth-carousel-section {
    flex: 1;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.auth-carousel-container {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.auth-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 27, 150, 0.15);
}

.auth-carousel .carousel-inner {
    border-radius: 12px;
}

.auth-carousel .carousel-item {
    height: 400px;
}

.auth-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-carousel .carousel-indicators {
    bottom: 20px;
}

.auth-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.auth-carousel .carousel-indicators button.active {
    background-color: white;
}

  
  .auth-info-box {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
  }
  
  .auth-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
  }
  
  .auth-info-text {
    font-size: 1.5rem;
    font-style: italic;
    color: #333;
  }
  
  /* ========== Responsive ========== */
  @media (max-width: 1200px) {
    .auth-card-body {
      grid-template-columns: 1fr;
    }
    .auth-carousel-section {
      display: none;
    }
  }

  .g-recaptcha {
    display: inline-block;
    border-radius: 10px;
    padding: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 1rem;
  }

  /* Ensure consistent spacing between form elements */
.auth-form .form-group {
    margin-bottom: 1.5rem;   /* add space below each input */
  }
  
  /* Add spacing after password hint */
  .password-hint {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;  /* space before next field */
    font-size: 1.3rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  