/* Background */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat Alternates', sans-serif;
}

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #EFF6FF 0%, #FAF5FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Main container */
.login-box {
    width: 100%;
    max-width: 560px;
}

.w-96 {
    max-width:1024px;
    width: 100%;
}

/* Logo box with M */
.login-logo {
    width: 80px;
    height: 80px;
    background: #3a556a;
    color: #FF7F50;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 600;
    margin: 0 auto 24px auto;
}

/* Card */
.login-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    height: 600px;
    border-top: 0.63px solid rgba(0, 0, 0, 0.1)

}

/* Title */
.login-title {
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
}

.login-title span {
    color: #44687F;
}

.login-sub {
    text-align: center;
    color: #44687F;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Labels */
.login-label {
    font-size: 14px;
    /* margin-bottom: 6px; */
    font-weight: 500;
    display: block;
}
.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    /* margin-bottom: 6px; */
}

/* Input wrapper */
.input-wrap {
    position: relative;
    margin-bottom: 16px;
}

.input-wrap input {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 40px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

.input-wrap input:focus {
    border-color: #44687F;
    box-shadow: 0 0 0 3px #ff7f509d;
}

/* Icons inside input */
.input-icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

.input-icon-right {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
}

/* Forgot password link */
.forgot-pass {
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
    color: #3b82f6;
    /* margin-top: -6px; */
    /* margin-bottom: 10px; */
    cursor: pointer;
}

/* Remember me */
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    background-color: rgba(249, 250, 251, 1);
    border-radius: 12px;
    padding: 24px;
}

.remember-me input {
    width: 16px;
    height: 16px;
}

/* Submit button */
.login-btn {
    width: 100%;
    height: 48px;
    background: #ff6f41;
    border: none;
    border-radius: 8px;
    color: black;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.2s;
}

.login-btn:hover {
    background: #ff5a22;
}

/* Register text */
.register-text {
    text-align: center;
    font-size: 14px;
    margin-top: 16px;
    color: #6b7280;
}

.register-text a {
    color: #3b82f6;
    text-decoration: none;
}

/* Footer small text */
.secure-text {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
}


/* Step Tabs */
.reset-steps {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #9ca3af;
    margin-bottom: 4px;
    padding: 0 4px;
}

.step-item {
    width: 33.3%;
    text-align: center;
    padding-bottom: 4px;
    cursor: pointer;
}

.step-item.active {
    color: #111827;
    font-weight: 600;
}

/* Underline */
.step-underline {
    width: 100%;
    height: 3px;
    background: #f0f0f0;
    border-radius: 2px;
    margin-bottom: 24px;
    position: relative;
}

.step-underline-active {
    width: 33.3%;
    height: 3px;
    background: #ff6f41;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: 0.25s;
}


/* Labels above progress bar */
.reset-steps2 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    padding:0 10px;
}

.reset-steps2 .step-label {
    font-size: 13px;
    color: #9ca3af;
    transition: 0.2s;
}

.reset-steps2 .step-label.active {
    color: #000;
    font-weight: 500;
}

/* Background bar */
.steps-progress {
    width: 100%;
    height: 6px;
    background: #ffe4d6; /* very light orange */
    border-radius: 10px;
    position: relative;
    margin-bottom: 60px;
    overflow: hidden;
}

/* Orange fill */
.steps-progress-active {
    height: 100%;
    width: 33.3%;
    background: #ff6f41;
    border-radius: 10px;
    transition: width 0.3s ease;
}
.step-content {
    margin: 48px 0;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: #eee;
    margin: 0 auto;
}


/* OTP boxes */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.otp-input {
    width: 48px;
    height: 56px;
    font-size: 20px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f5f6fa;
    outline: none;
}

.otp-input:focus {
    border-color: #ff6f41;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(255, 111, 65, 0.25);
}

/* Resend block */
.otp-resend-block {
    margin-top: 10px;
    margin-bottom: 10px;
}

.otp-resend-text {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.otp-resend-link {
    font-size: 14px;
    color: #3b82f6;
    text-decoration: none;
}


/* Password requirements box */
.password-rules-box {
    background: #EFF6FF;
    border: 1px solid #BEDBFF;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 4px;
}

.password-rules-title {
    font-size: 14px;
    font-weight: 600;
    color: #1C398E;
    margin-bottom: 6px;
}

.password-rules-list {
    margin: 0;
    padding-left: 16px;
    font-size: 14px;
    color: #1447E6; /* as in screenshot */
}

.password-rules-list li {
    margin-bottom: 4px;
}


/* Mobile optimization */
@media (max-width: 480px) {
    .login-card {
        padding: 22px;
    }
    .login-title {
        font-size: 22px;
    }
}
