:root {
    --background: #1a1a2e;
    --color: #ffffff;
    --primary-color: #0f3460;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: "Poppins";
    background: var(--background);
    color: var(--color);
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  /* Container */
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .login-container {
    position: relative;
    width: 35%;
    max-width: 100%;
  }
  
  /* Glassmorphism Card */
  .form-container {
    margin-top: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    text-align: center;
  }
  
  /* Illustration */
  .illustration-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .illustration {
    width: clamp(180px, 70%, 240px);
    height: auto;
  }
  
  /* Headings */
  h1 {
    font-size: 2rem;
    margin: 1.5rem 0;
    letter-spacing: 1px;
  }
  
  .form-subtitle {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }
  
  /* Inputs */
  .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
    text-align: left;
  }
  
  .input-group label {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 1rem;
  }
  
  input {
    padding: 14px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: black !important;
    width: 100%;
    font-size: 0.95rem;
  }
  
  input:focus {
    outline: 2px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
  }
  
  /* Button */
  button {
    background: var(--primary-color);
    padding: 14px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  
  button:hover {
    transform: scale(1.03);
  }
  
  /* Links */
  .register-forget {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    font-size: 0.9rem;
  }
  
  a {
    text-decoration: none;
    color: var(--color);
    transition: opacity 0.2s;
  }
  
  a:hover {
    opacity: 0.7;
  }
  
  /* Decorative Circles */
  .circle {
    width: 8rem;
    height: 8rem;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    z-index: -1;
  }
  
  .circle-one {
    top: 0;
    left: 0;
    transform: translate(-45%, -45%);
  }
  
  .circle-two {
    bottom: 0;
    right: 0;
    transform: translate(45%, 45%);
  }
  
  /* Modal Styling */
  .support-modal,
  .modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
  }
  
  .support-modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: fit-content;
    height: fit-content;
    margin: auto;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(15, 52, 96, 0.95);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    text-align: center;
    gap: 1.25rem;
  }
  
  .support-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .support-modal__header h2 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .support-modal__close {
    position: absolute;
    top: 2%;
    right: 3%;
    background: transparent;
    border: none;
    color: var(--color);
    font-size: 1.75rem;
    cursor: pointer;
  }
  
  .support-modal__content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
  }
  
  .support-modal__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .support-modal__contact a {
    font-weight: 600;
    text-decoration: underline;
  }
  
  .modal-backdrop {
    background: rgba(0, 0, 0, 0.65);
    z-index: 998;
  }
  
  /* Hidden State */
  .hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .container {
      padding: 2rem 1rem;
      height: auto;
      min-height: 100vh;
    }
  
    .login-container {
      width: 100%;
      max-width: 22rem;
    }
  
    .circle {
      display: none;
    }
  }
  
  @media (max-width: 420px) {
    h1 {
      font-size: 1.75rem;
    }
  
    .support-modal {
      width: calc(100% - 2rem);
      padding: 1.5rem;
    }
  }


  .theme-btn-container {
    position: absolute;
    left: 0;
    bottom: 2rem;
  }

   /* Alert Messages */
          .alert {
              padding: 12px 16px;
              border-radius: 6px;
              margin-bottom: 20px;
              font-size: 14px;
              line-height: 1.5;
              animation: slideDown 0.3s ease-out;
          }

          .alert-success {
              background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
              color: #155724;
              border: 1px solid #c3e6cb;
              border-left: 4px solid #28a745;
          }

          .alert-error {
              background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
              color: #721c24;
              border: 1px solid #f5c6cb;
              border-left: 4px solid #dc3545;
          }

          .alert span {
              display: block;
              font-weight: 500;
          }

          @keyframes slideDown {
              from {
                  opacity: 0;
                  transform: translateY(-10px);
              }
              to {
                  opacity: 1;
                  transform: translateY(0);
              }
          }

          /* Input validation states */
          input.error {
              border-color: #dc3545 !important;
              background-color: #fff5f5;
          }

          input.success {
              border-color: #28a745 !important;
              background-color: #f0fff4 !important;
          }

          /* Focus states for better UX */
          input:focus {
              outline: none;
              border-color: #0066cc;
              box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
          }