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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #0f172a;
}


/* =================================
   PAGE
================================= */

.login-page {
    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;

    background: #f6f8fa;
}


/* =================================
   CARD
================================= */

.login-card {
    width: 448px;

    padding: 42px 40px 41px;

    background: #ffffff;

    border: 1px solid #edf0f3;

    border-radius: 16px;

    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.08),
        0 2px 5px rgba(15, 23, 42, 0.06);
}


/* =================================
   BACK LINK
================================= */

.back-link {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 27px;

    color: #009d91;

    text-decoration: none;

    font-size: 15px;
    font-weight: 500;
}

.back-link svg {
    width: 17px;
    height: 17px;

    stroke-width: 2;
}

.back-link:hover {
    color: #007f76;
}


/* =================================
   EMPLOYEE ICON
================================= */

.employee-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 21px;

    background: #ecfaf8;

    border-radius: 13px;

    color: #009f92;
}

.employee-icon svg {
    width: 23px;
    height: 23px;

    stroke-width: 2;
}


/* =================================
   HEADING
================================= */

.login-heading {
    margin-bottom: 31px;
}

.login-heading h1 {
    margin-bottom: 10px;

    color: #07142d;

    font-size: 24px;
    font-weight: 700;

    line-height: 1.2;
}

.login-heading p {
    color: #587092;

    font-size: 14px;

    line-height: 1.45;
}


/* =================================
   FORM
================================= */

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #17233d;

    font-size: 14px;
    font-weight: 600;
}


/* Email input */

.form-group input {
    width: 100%;
    height: 46px;

    padding: 0 16px;

    border: 1px solid #d6dee8;

    border-radius: 12px;

    outline: none;

    background: #ffffff;

    color: #15223a;

    font-family: inherit;
    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #64748b;
}

.form-group input:focus {
    border-color: #0ca89b;

    box-shadow:
        0 0 0 3px rgba(12, 168, 155, 0.10);
}


/* =================================
   ERROR
================================= */

.error-message {
    display: none;

    margin-top: 6px;

    color: #dc2626;

    font-size: 12px;
}

.error-message.show {
    display: block;
}

.form-group input.input-error {
    border-color: #dc2626;
}


/* =================================
   INFORMATION BOX
================================= */

.info-box {
    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-bottom: 20px;

    padding: 13px 13px;

    background: #edf5ff;

    border: 1px solid #cfe2ff;

    border-radius: 12px;

    color: #075be8;
}

.info-box svg {
    width: 15px;
    height: 15px;

    margin-top: 1px;

    flex-shrink: 0;

    stroke-width: 2;
}

.info-box p {
    margin: 0;

    font-size: 12px;

    line-height: 1.4;
}


.send-otp-btn {
    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: none;
    border-radius: 12px;

    background: #079d91;
    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}

.send-otp-btn:hover {
    background: #078c82;
}

.send-otp-btn:active {
    transform: scale(0.99);
}

.send-otp-btn:disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

/* Spinner */

.btn-spinner {
    display: none;

    width: 18px;
    height: 18px;

    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;

    border-radius: 50%;

    animation: otpButtonSpin 0.7s linear infinite;
}

.send-otp-btn.loading .btn-spinner {
    display: block;
}

@keyframes otpButtonSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 520px) {

    .login-page {
        align-items: flex-start;

        padding: 25px 15px;
    }

    .login-card {
        width: 100%;

        padding: 32px 24px;
    }

    .login-heading h1 {
        font-size: 22px;
    }

    .login-heading p br {
        display: none;
    }

}

/* =================================
   OTP PAGE
================================= */

.otp-card {
    width: 448px;
}


/* Heading */

.otp-heading {
    margin-bottom: 30px;
}

.otp-heading h1 {
    margin-bottom: 10px;

    color: #07142d;

    font-size: 24px;
    font-weight: 700;

    line-height: 1.2;
}

.otp-heading p {
    margin-bottom: 5px;

    color: #587092;

    font-size: 14px;
    line-height: 1.45;
}

.otp-heading strong {
    color: #17233d;

    font-size: 14px;
    font-weight: 600;
}


/* =================================
   OTP INPUTS
================================= */

.otp-inputs {
    width: 100%;

    display: flex;

    gap: 9px;

    margin-bottom: 20px;
}

.otp-input {
    width: 44px;
    height: 48px;

    border: 2px solid #dce4ee;

    border-radius: 12px;

    outline: none;

    background: #ffffff;

    color: #101828;

    font-family: inherit;

    font-size: 20px;
    font-weight: 600;

    text-align: center;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.otp-input:focus {
    border-color: #0ca89b;

    box-shadow:
        0 0 0 3px rgba(12, 168, 155, 0.10);
}


/* Filled OTP */

.otp-input.filled {
    border-color: #0ca89b;
}


/* OTP Error */

.otp-error {
    display: none;

    margin-top: -10px;
    margin-bottom: 12px;

    color: #dc2626;

    font-size: 12px;
}

.otp-error.show {
    display: block;
}


/* =================================
   VERIFY BUTTON
================================= */

.verify-otp-btn {
    width: 100%;
    height: 48px;

    border: none;

    border-radius: 12px;

    background: #079d91;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}

.verify-otp-btn:hover:not(:disabled) {
    background: #078c82;
}


/* Disabled state from Figma */

.verify-otp-btn:disabled {
    background: #7bc8c2;

    cursor: not-allowed;
}


/* =================================
   RESEND
================================= */

.resend-section {
    min-height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 17px;

    color: #64748b;

    font-size: 14px;
}

.resend-section strong {
    margin-left: 4px;

    color: #009c91;
}


/* Hidden initially */

.resend-btn {
    display: none;

    padding: 0;

    border: none;

    background: transparent;

    color: #009c91;

    font-family: inherit;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

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


/* =================================
   CHANGE EMAIL
================================= */

.change-email {
    margin-top: 11px;

    text-align: center;
}

.change-email a {
    color: #8191b5;

    text-decoration: none;

    font-size: 14px;
}

.change-email a:hover {
    color: #64748b;

    text-decoration: underline;
}


/* =================================
   OTP MOBILE
================================= */

@media (max-width: 520px) {

    .otp-card {
        width: 100%;
    }

    .otp-inputs {
        justify-content: space-between;

        gap: 5px;
    }

    .otp-input {
        width: 14%;
        max-width: 44px;
    }

}


/* =========================================
   PROFILE LOADING PAGE
========================================= */

.loading-card {
    width: 448px;

    padding: 40px;

    background: #ffffff;

    border: 1px solid #edf0f3;

    border-radius: 16px;

    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.08),
        0 2px 5px rgba(15, 23, 42, 0.06);
}


/* =========================================
   MAIN LOADER
========================================= */

.profile-loader-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    background: #edfaf8;

    border-radius: 50%;
}


.main-spinner {
    width: 26px;
    height: 26px;

    border: 3px solid #d8f3ef;
    border-top-color: #009f92;

    border-radius: 50%;

    animation: loaderSpin 0.8s linear infinite;
}


@keyframes loaderSpin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================
   HEADING
========================================= */

.loading-heading {
    text-align: center;

    margin-bottom: 27px;
}


.loading-heading h1 {
    margin-bottom: 10px;

    color: #07142d;

    font-size: 21px;
    font-weight: 700;
}


.loading-heading p {
    color: #587092;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================
   LOADING STEPS
========================================= */

.loading-steps {
    margin-bottom: 25px;
}


.loading-step {
    display: flex;
    align-items: center;

    gap: 11px;

    min-height: 30px;

    font-size: 14px;
}


.step-status {
    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;
}


/* Completed */

.loading-step.active {
    color: #17233d;
}


.loading-step.active .step-status {
    border: 2px solid #00bf75;

    color: #00bf75;
}


.loading-step.active .step-status svg {
    width: 12px;
    height: 12px;

    stroke-width: 3;
}


/* Currently loading */

.loading-step.loading {
    color: #17233d;
}


.loading-step.loading .step-status {
    border: none;
}


/* Small spinner */

.small-spinner {
    width: 16px;
    height: 16px;

    display: block;

    border: 2px solid #d8f3ef;

    border-top-color: #009f92;

    border-radius: 50%;

    animation: loaderSpin 0.8s linear infinite;
}


/* Pending */

.loading-step.pending {
    color: #91a0c0;
}


.loading-step.pending .step-status {
    border: 2px solid #dbe5ef;

    background: #ffffff;
}


/* =========================================
   PROGRESS
========================================= */

.profile-progress {
    width: 100%;
}


.progress-track {
    width: 100%;
    height: 6px;

    overflow: hidden;

    background: #edf1f5;

    border-radius: 10px;
}


.progress-fill {
    width: 0;
    height: 100%;

    background: #08b7a6;

    border-radius: 10px;

    transition: width 0.4s ease;
}


.progress-percentage {
    margin-top: 8px;

    color: #8291b5;

    font-size: 12px;

    text-align: center;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 520px) {

    .loading-card {
        width: 100%;

        padding: 35px 24px;
    }


    .loading-heading p br {
        display: none;
    }

}