body.ksbc-password-reset-page {
    --ksbc-reset-blue: #1769e0;
    --ksbc-reset-blue-dark: #0d5fd4;
    --ksbc-reset-navy: #10254a;
    --ksbc-reset-text: #17243b;
    --ksbc-reset-muted: #5f6f8a;
    --ksbc-reset-border: #d8e2ef;
    --ksbc-reset-soft: #f2f7ff;
}

body.ksbc-password-reset-page .tutor-wrap,
body.ksbc-password-reset-page .tutor-page-wrap,
body.ksbc-password-reset-page main {
    position: relative;
}

body.ksbc-password-reset-page .ksbc-password-reset-card {
    max-width: 610px !important;
    margin: 38px auto 42px !important;
    border: 1px solid #e3eaf4 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 18px 46px rgba(17, 43, 83, 0.09) !important;
    overflow: visible;
}

body.ksbc-password-reset-page .ksbc-password-reset-form {
    padding: 32px 38px 34px !important;
}

.ksbc-password-reset-heading {
    text-align: center;
    margin-bottom: 8px;
}

.ksbc-password-reset-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf4ff;
    color: var(--ksbc-reset-blue);
    margin-bottom: 18px;
}

.ksbc-password-reset-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ksbc-password-reset-heading h1 {
    margin: 0;
    color: var(--ksbc-reset-text);
    font-size: 31px;
    line-height: 1.2;
    font-weight: 700;
}

body.ksbc-password-reset-page .ksbc-password-reset-subtitle {
    max-width: 430px;
    margin: 0 auto 26px !important;
    color: var(--ksbc-reset-muted) !important;
    text-align: center;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

body.ksbc-password-reset-page .ksbc-password-reset-form .tutor-form-group {
    margin-bottom: 18px;
}

body.ksbc-password-reset-page .ksbc-password-reset-form label.tutor-block {
    color: var(--ksbc-reset-text);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px !important;
}

.ksbc-required {
    color: #e03232;
}

body.ksbc-password-reset-page .ksbc-password-field {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
}

body.ksbc-password-reset-page .ksbc-password-field input.tutor-form-control {
    min-height: 52px;
    padding-left: 52px !important;
    padding-right: 52px !important;
    border: 1px solid var(--ksbc-reset-border) !important;
    border-radius: 10px !important;
    color: var(--ksbc-reset-text) !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 15px !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

body.ksbc-password-reset-page .ksbc-password-field input.tutor-form-control:focus {
    border-color: #7aabf2 !important;
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.10) !important;
}

.ksbc-field-lock,
.ksbc-password-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ksbc-field-lock {
    left: 17px;
    color: #6e7f99;
    pointer-events: none;
}

.ksbc-field-lock svg,
.ksbc-password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ksbc-password-toggle {
    right: 10px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #61728d;
    cursor: pointer;
}

.ksbc-password-toggle:hover,
.ksbc-password-toggle:focus-visible {
    color: var(--ksbc-reset-blue);
    background: #f1f6fd;
    outline: none;
}

.ksbc-password-help {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 9px;
    background: var(--ksbc-reset-soft);
    color: #52627d;
    font-size: 13px;
    line-height: 1.45;
}

.ksbc-password-help-icon {
    display: inline-flex;
    color: var(--ksbc-reset-blue);
    margin-top: 1px;
    flex: 0 0 auto;
}

.ksbc-password-help-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.ksbc-password-reset-page .ksbc-reset-submit {
    min-height: 51px;
    border-radius: 9px !important;
    background: linear-gradient(90deg, #246de6, #3159df) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 7px 18px rgba(39, 96, 219, 0.16);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

body.ksbc-password-reset-page .ksbc-reset-submit:hover,
body.ksbc-password-reset-page .ksbc-reset-submit:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(39, 96, 219, 0.22);
    background: linear-gradient(90deg, #1f64d8, #294fd2) !important;
}

.ksbc-back-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin-top: 18px;
    color: var(--ksbc-reset-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.ksbc-back-login svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ksbc-back-login:hover,
.ksbc-back-login:focus-visible {
    color: var(--ksbc-reset-blue-dark);
    text-decoration: underline !important;
}

@media (max-width: 680px) {
    body.ksbc-password-reset-page .ksbc-password-reset-card {
        margin: 20px 14px 30px !important;
        border-radius: 13px !important;
    }

    body.ksbc-password-reset-page .ksbc-password-reset-form {
        padding: 26px 20px 28px !important;
    }

    .ksbc-password-reset-heading h1 {
        font-size: 26px;
    }
}
