/* Login Section Variables */
:root {
    --primary: #109b50;
    --primary-hover: #0c7b3f;
    --primary-light: #e6f7ed;
    --primary-transparent: rgba(16, 155, 80, 0.7);
    --dark: #223344;
    --light: #f5f9fc;
    --white: #ffffff;
    --gray: #6c757d;
    --border-radius: 8px;
    --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
  }
  
  /* Login Section Global Styles */
  .login-section {
    height: 100%;
    margin: 0;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    position: relative;
    font-family: 'Nunito', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
  
  /* Full-width Carousel Styles */
  .full-page-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .carousel-inner, 
  .carousel-item, 
  .image-container {
    height: 100vh;
    width: 100vw;
  }
  
  .carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomInOut 25s infinite alternate;
  }
  
  @keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
  }
  
  .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), var(--primary-transparent));
    backdrop-filter: blur(1px);
  }
  
  /* Carousel Branding */
  .carousel-branding {
    position: absolute;
    bottom: 10%;
    left: 5%;
    z-index: 10;
    color: var(--white);
    max-width: 50%;
    animation: fadeInUp 1s ease-out;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .branding-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .branding-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  .logo-badge {
    background-color: rgba(255, 255, 255, 0.95);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  /* Carousel Indicators */
  .carousel-indicators {
    right: 5%;
    left: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
  }
  
  .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 6px 0;
    opacity: 0.5;
    transition: var(--transition);
  }
  
  .carousel-indicators button.active {
    opacity: 1;
    width: 12px;
    height: 12px;
    background-color: var(--white);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  }
  
  /* Login Form Styles */
  .login-form-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 5%;
    z-index: 1;
  }
  
  .login-form-container {
    width: 420px;
    max-width: 90%;
    animation: slideInRight 0.8s ease-out;
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .login-card {
    width: 100%;
    padding: 2.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(1px);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
  
  .login-header {
    margin-bottom: 2rem;
  }
  
  .login-logo {
    display: block;
    margin: 0 auto 1rem;
    width: 60px;
    height: auto;
  }
  
  .login-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.5rem;
  }
  
  .login-subtitle {
    color: var(--primary-light);
    font-size: 1.1rem;
  }
  
  /* Social Login */
  .login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
  }
  
  .login-divider::before,
  .login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .login-divider span {
    padding: 0 1rem;
  }
  
  .social-login {
    margin-top: 1rem;
  }
  
  .social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.2rem;
    transition: var(--transition);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--dark);
    background-color: rgba(255, 255, 255, 0.8);
  }
  
  .social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    background-color: white;
  }
  
  /* Secure Login Badge */
  .secure-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 1.5rem;
  }
  
  .secure-login i {
    margin-right: 0.5rem;
  }
  
  /* Footer */
  .login-footer {
    text-align: center;
    color: var(--white);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  /* Responsive styles */
  @media (max-width: 991.98px) {
    .carousel-branding {
      max-width: 80%;
    }
    
    .login-form-wrapper {
      justify-content: center;
      padding: 0 20px;
    }
    
    .login-form-container {
      width: 100%;
      max-width: 420px;
    }
  }
  
  @media (max-width: 575.98px) {
    .carousel-branding {
      display: none;
    }
    
    .carousel-indicators {
      flex-direction: row;
      left: 50%;
      right: auto;
      top: auto;
      bottom: 20px;
      transform: translateX(-50%);
    }
    
    .carousel-indicators button {
      margin: 0 4px;
    }
    
    .login-card {
      padding: 1.5rem;
    }
    
    .login-title {
      font-size: 1.8rem;
    }
  }