* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Outfit", sans-serif;
}

.login-page {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

.login-container {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container h2 {
    margin-bottom: 10px;
    text-align: center;
    color: #333;
    font-weight: 600;
}

.login-container h2 i {
    color: #2a5298;
    margin-right: 8px;
}

.login-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.password-group {
    position: relative;
    margin-bottom: 20px;
}

.password-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.password-input input:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.password-input i {
    position: absolute;
    top: 12px;
    right: 15px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.password-input i:hover {
    color: #2a5298;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 82, 152, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.otp-message {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 12px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.resend {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.resend a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.resend a:hover {
    text-decoration: underline;
}

.extra-links {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.extra-links a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
}

.extra-links a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    /* background-color: #fee; */
    color: #c33;
    /* border: 1px solid #fcc; */
    text-align: center;
}

.alert-success {
    /* background-color: #efe; */
    background-color: none !important;
    color: #152f15;
    /* border: 1px solid #cfc; */
    text-align: center;
    border: none !important;
}

.phone-display {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.phone-display strong {
    color: #333;
}

.step-hidden {
    display: none;
}

#otp {
    letter-spacing: 4px;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
}