        /* Your existing CSS styles */
        /* Full height viewport setup */
        html, body {
          height: 100%;
          margin: 0;
          padding: 0;
          font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      }

      /* Main container - centers form on screen */
      .form-container {
          min-height: 100vh;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 20px;
          background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      }

      /* Form wrapper with responsive sizing */
      .form-wrapper {
          background: white;
          border-radius: 16px;
          box-shadow: 0 20px 40px rgba(0,0,0,0.1);
          padding: 2rem;
          width: 100%;
          max-width: 500px;
          position: relative;
          overflow: hidden;
          display: flex;
          flex-direction: column;
      }

      /* Header and Footer styling */
      .form-header {
          text-align: center;
          margin-bottom: 1.5rem;
          padding-bottom: 1rem;
          border-bottom: 1px solid #e9ecef;
      }

      .form-header h1 {
          font-size: 1.75rem;
          font-weight: 700;
          color: #495057;
          margin: 0 0 0.5rem 0;
      }

      .form-header p {
          color: #6c757d;
          margin: 0;
          font-size: 1rem;
          line-height: 1.5;
      }

      .form-header .logo {
          max-width: 120px;
          height: auto;
          margin-bottom: 1rem;
      }

      .form-footer {
          text-align: center;
          margin-top: 1.5rem;
          padding-top: 1rem;
          border-top: 1px solid #e9ecef;
      }

      .form-footer p {
          color: #6c757d;
          margin: 0;
          font-size: 0.9rem;
          line-height: 1.4;
      }

      .form-footer a {
          color: #667eea;
          text-decoration: none;
      }

      .form-footer a:hover {
          text-decoration: underline;
      }

      /* Main form content area */
      .form-content {
          flex: 1;
          display: flex;
          flex-direction: column;
      }

      /* Form elements responsive sizing */
      .form-control, .form-select {
          padding: 0.75rem 1rem;
          font-size: 1rem;
          border-radius: 8px;
          border: 2px solid #e9ecef;
          transition: border-color 0.3s ease;
          width: 100%;
          box-sizing: border-box;
      }

      .form-control:focus, .form-select:focus {
          border-color: #667eea;
          box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
          outline: none;
      }

      /* Button styling */
      .btn-primary {
          background: linear-gradient(90deg, #667eea, #764ba2);
          border: none;
          padding: 0.75rem 2rem;
          border-radius: 8px;
          font-weight: 600;
          min-height: 44px;
          transition: transform 0.2s ease;
          color: white;
          cursor: pointer;
          font-size: 1rem;
      }

      .btn-primary:hover:not(:disabled) {
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
      }

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

      /* Labels */
      .form-label {
          font-weight: 600;
          color: #495057;
          margin-bottom: 0.5rem;
          display: block;
      }

      .required::after {
          content: " *";
          color: #dc3545;
      }

      /* Field groups */
      .field-group {
          margin-bottom: 1.5rem;
      }

      /* Password field with toggle */
      .password-field {
          position: relative;
      }

      .password-toggle {
          position: absolute;
          right: 1rem;
          top: 50%;
          transform: translateY(-50%);
          background: none;
          border: none;
          color: #6c757d;
          cursor: pointer;
          font-size: 0.9rem;
          padding: 0;
          z-index: 2;
      }

      .password-toggle:hover {
          color: #495057;
      }

      /* Alert messages */
      .alert {
          padding: 0.75rem 1rem;
          margin-bottom: 1rem;
          border-radius: 8px;
          font-size: 0.9rem;
          line-height: 1.4;
      }

      .alert-error {
          background-color: #f8d7da;
          border: 1px solid #f5c6cb;
          color: #721c24;
      }

      .alert-success {
          background-color: #d4edda;
          border: 1px solid #c3e6cb;
          color: #155724;
      }

      /* Loading spinner */
      .spinner {
          width: 20px;
          height: 20px;
          border: 2px solid #ffffff;
          border-top: 2px solid transparent;
          border-radius: 50%;
          animation: spin 1s linear infinite;
          margin-right: 0.5rem;
          display: inline-block;
      }

      @keyframes spin {
          0% { transform: rotate(0deg); }
          100% { transform: rotate(360deg); }
      }

      /* Forgot password link */
      .forgot-password {
          text-align: center;
          margin-top: 1rem;
      }

      .forgot-password a {
          color: #667eea;
          text-decoration: none;
          font-size: 0.9rem;
      }

      .forgot-password a:hover {
          text-decoration: underline;
      }

      /* Responsive adjustments */
      @media (max-width: 576px) {
          .form-wrapper {
              padding: 1.5rem;
              margin: 10px;
              border-radius: 12px;
          }

          .form-container {
              padding: 10px;
              align-items: flex-start;
              padding-top: 10vh;
          }

          .form-header h1 {
              font-size: 1.5rem;
          }

          .form-header p {
              font-size: 0.9rem;
          }
      }

      @media (min-width: 768px) {
          .form-wrapper {
              max-width: 600px;
              padding: 3rem;
          }
      }

      @media (min-width: 992px) {
          .form-wrapper {
              max-width: 450px;
          }
      }
