* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", Arial, sans-serif;
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 120px; 
}

header {
    width: 100%;
    background-color: #b10012;
    padding: 15px 50px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

header .header-logo {
    height: 60px;
}

header .header-text {
    font-size: 1.8rem;
    font-weight: bold;
}

form {
    background: #ffffff;
    padding: 32px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    transition: all 0.3s ease;
}

h2, form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #b10012;
    font-size: 1.7rem;
    font-weight: 700;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #b10012;
}

input {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #b10012;
    box-shadow: 0 0 5px rgba(177,0,18,0.3);
    outline: none;
}

button {
    margin-top: 20px;
    width: 100%;
    background-color: #b10012;
    border: none;
    color: white;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

button:hover:not([disabled]) {
    background-color: #990000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

button[disabled] {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.8;
}

#sendOtpBtn, 
#verifyOtpBtn {
    width: auto;
    padding: 6px 12px;
    font-size: 14px;
    background-color: #b10012;
    border-radius: 6px;
    border: none;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#sendOtpBtn:hover:not([disabled]), 
#verifyOtpBtn:hover:not([disabled]) {
    background-color: #990000;
    transform: translateY(-1px);
}

#otpSection {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

#otpSection input {
    flex: 1;
    margin-right: 10px;
}

#otpStatus {
    margin-left: 10px;
    font-weight: 600;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link a {
    color: #b10012;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #9b000f;
    text-decoration: underline;
}
.password-hint {
    display: block;
    font-size: 12px;
    color: #444;
    margin: 5px 0 10px 0;
    line-height: 1.4;
}


.password-hint ul {
    margin: 5px 0 0 15px;
    padding: 0;
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    header .header-logo {
        height: 50px;
    }

    header .header-text {
        font-size: 1.3rem;
    }

    form {
        width: 90%;
        padding: 30px 20px;
    }
}
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 42px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: color .2s;
}

.toggle-password:hover {
    color: #d6001c;
}

