* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    overflow-y: auto;
}

:root {
    --split-width: 62%;
    --navy: #0b1f42;
    --navy-deep: #081633;
    --blue: #1E88E5;
    --blue-bright: #2f6fed;
}

.bg-left {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--split-width);
    height: 100%;
    background-image: url('../images/image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    display: flex;
    align-items: center;
}

.left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(4, 12, 30, 0.88) 0%,
        rgba(6, 16, 38, 0.72) 42%,
        rgba(8, 20, 45, 0.35) 68%,
        rgba(8, 20, 45, 0.15) 100%);
    z-index: -1;
}

.left-content {
    position: relative;
    padding: 40px 60px;
    max-width: 640px;
    color: #ffffff;
}

.eyebrow {
    color: #6db4f0;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.brand-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #4fa3ec;
}

.brand-title span {
    color: #4fa3ec;
    font-weight: 600;
}

.brand-divider {
    width: 60px;
    height: 3px;
    background: #4fa3ec;
    border-radius: 2px;
    margin-bottom: 22px;
}

.brand-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: #d7e3f5;
    max-width: 430px;
    margin-bottom: 40px;
}

.bg-right {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - var(--split-width));
    height: 100%;
    background-image: url('../images/loginbg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 2px 20px var(--split-width);
    position: relative;
}

.reset-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.reset-columns {
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.reset-card {
    width: 100%;
    padding: 44px 36px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.logo-img {
    display: block;
    width: 130px;
    height: auto;
    margin: 0 auto 22px;
}

h1 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.subtitle {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.step-indicator {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}

.step.active {
    background: linear-gradient(135deg, var(--blue-bright), #1a5fd0);
    color: #fff;
    box-shadow: 0 6px 14px rgba(30, 95, 208, 0.35);
}

.step.done {
    background: #e3f0ff;
    color: var(--blue-bright);
}

.step.done svg {
    width: 15px;
    height: 15px;
}

.step.inactive {
    background: #ececec;
    color: #aaa;
}

.step-label {
    font-size: 11px;
    color: #999;
    font-weight: 500;
    text-align: center;
}

.step-connector {
    height: 2px;
    width: 40px;
    background: #ececec;
    margin: 15px -4px 0;
}

.step-connector.filled {
    background: var(--blue-bright);
}

.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.input-wrap,
.password-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #a3a3a3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.input-icon svg {
    width: 100%;
    height: 100%;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 13px 18px 13px 44px;
    border: 1.5px solid #d6d6d6;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    background: #ffffff;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}

input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="text"]::placeholder {
    color: #b0b0b0;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
}

.password-wrap input {
    padding-right: 46px;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

.toggle-password {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    background: none;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
}

.toggle-password:hover {
    color: #1E88E5;
}

.toggle-password svg {
    width: 18px;
    height: 18px;
}

.toggle-password .icon-eye {
    display: inline;
}

.toggle-password .icon-eye-off {
    display: none;
}

.reset-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--blue-bright), #1a5fd0);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(30, 95, 208, 0.35);
}

.reset-button:hover {
    box-shadow: 0 12px 28px rgba(30, 95, 208, 0.45);
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    border: 1px solid #f5c6cb;
    text-align: left;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    border: 1px solid #c3e6cb;
    text-align: left;
}

.login-link {
    margin-top: 28px;
    font-size: 13px;
    color: #777;
}

.login-link a {
    color: var(--blue-bright);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

.reset-footer {
    margin-top: 50px;
    text-align: center;
    color: #cfe0f7;
}

.footer-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #d7e6fb;
    letter-spacing: 0.3px;
}

.footer-tags svg {
    width: 15px;
    height: 15px;
    color: #6db4f0;
}

.footer-copy {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 11.5px;
    line-height: 1.6;
    color: #8ea6cc;
}

.back-button {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    border: none;
    color: #444;
    text-decoration: none;
    z-index: 10;
}

.back-button svg {
    width: 20px;
    height: 20px;
}

.back-button:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.step-indicator.steps-3 .step-item {
    width: 92px;
}

.otp-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 18px;
}

input.otp-box {
    width: 42px;
    height: 48px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 0 0;
    border: 1.5px solid #d6d6d6;
    border-radius: 10px;
}

.resend-form {
    margin-top: 12px;
    text-align: center;
}

.resend-link {
    border: 0;
    background: none;
    color: var(--blue);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 860px) {
    .container {
        justify-content: center;
        padding: 20px;
    }
    .reset-wrap {
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    :root {
        --split-width: 8%;
    }
    .left-content {
        display: none;
    }
    .container {
        padding: 24px 16px;
    }
    .reset-wrap {
        max-width: 360px;
        width: 100%;
    }
    .reset-card {
        padding: 30px 26px 34px;
    }
    .back-button {
        top: 16px;
        left: 16px;
    }
}
