 
       .login {
            margin-left: auto;
            margin-right: auto;
            background: #fff;
            padding: 40px;
            padding-bottom: 80px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            width: 90%; /* Adjust based on preference */
            max-width: 400px;
            box-sizing: border-box;
        }
    
 
        
        .form-group {
            position: relative;
            margin-bottom:16px;
        }
        
        input[type="text"], input[type="email"], input[type="tel"] {
            width: 100%;
            padding: 15px;
            border: 1px solid #ccc; /* Light border for inputs */
            border-radius: 4px;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
            font-size: 16px;
            background-color: #fafafa;
            color: #333;
            box-sizing: border-box;
            transition: all 0.3s ease;
        }
        
        input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus {
            border-color: #0070c5;
            
        }
        
      #login  label {
            position: absolute;
            top: 16px;
            left: 15px;
            color: #777;
            transition: all 0.3s;
            pointer-events: none;
            background: transparent;
            padding: 0 5px;
        }
        
       #login  input[type="text"]:focus + label,  #login input[type="email"]:focus + label, #login input[type="tel"]:focus + label,
       #login  input[type="text"]:not(:placeholder-shown) + label, #login input[type="email"]:not(:placeholder-shown) + label, #login input[type="tel"]:not(:placeholder-shown) + label {
            top: -12px;
            color: #006abb;
            font-size: 14px;
            font-weight: 500;
            background: #fff;
        }
        
      #login   .error-container {
            display: flex;
            align-items: center;
            color: #d9534f;
            font-size: 13px;
            margin-top: 5px;
            display: none;
            margin-left: 3px;
        }
        
     #login    .error-icon {
            color: #d9534f;
            font-size: 15px;
            margin-right: 5px;
        }

      #login  input[type="submit"] {
            height: 45px;
            width: 100%;
            float: right;
            margin-top: 2px;
            padding: 12px 26px;
            border-radius: 3px;
            border: none;
            outline: none;
            background-color: #0178d4;
            color: #ffffff;
            font-family: "Montserrat", sans-serif;
            font-size: 15px;
            font-weight: bold;
            letter-spacing: 1px;
            text-transform: uppercase;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
          }
      #login    input[type="submit"]:hover {
            background-color: #0064b0;
          }
      #login  button {
            padding: 12px 20px;
            border: none;
            border-radius: 4px;
            background: linear-gradient(45deg, #018562, #018562);
            color: white;
            cursor: pointer;
           
            width: 100%;
            font-size: 16px;
            box-sizing: border-box;
        }
        
     #login   button:hover {
            background: #005a9e;
            transform: translateY(-2px);
        }
        
 
        .alert.alert-danger {
        display: none; /* Only show when there's an error, controlled by JS */
        background-color: #f8d7da; /* Light red */
        color: #721c24; /* Dark red */
        padding: 10px;
        margin-top: 10px;
        border-radius: 5px;
        border: 1px solid #f5c6cb;
        margin-bottom: 30px;
        text-align: center;

    }
    .spinner {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.8);
        width: 100px;
        height: 100px;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      }
      
      .spinner-inner {
        width: 50px;
        height: 50px;
        border: 3px solid rgba(0, 0, 0, 0.3);
        border-top-color: #333;
        border-radius: 50%;
        animation: spin 1s linear infinite;
      }
      
      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }