.uc-auth-page {
    min-height: 100vh;
    margin: 0;
    background: #f2f3f5;
    color: #2d3033;
}

.uc-auth-page *,
.uc-auth-page *::before,
.uc-auth-page *::after {
    box-sizing: border-box;
}

.uc-reset-shell.section-account {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 48px 20px;
    overflow: hidden;
}

section.uc-reset-shell.section-account .img-backdrop {
    position: absolute;
    inset: 0;
    height: 42vh;
    min-height: 300px;
    background-position: center;
    background-size: cover;
}

section.uc-reset-shell.section-account .img-backdrop::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(63, 13, 99, 0.20), rgba(63, 13, 99, 0.44));
}

section.uc-reset-shell.section-account .spacer {
    display: none;
}

.uc-reset-card.card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    margin: 0;
    border: 1px solid rgba(67, 35, 91, 0.08);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(42, 25, 54, 0.20);
}

.uc-reset-card .card-body {
    padding: 40px 44px 42px;
}

.uc-reset-card .row,
.uc-reset-card [class*="col-"] {
    width: 100%;
    margin: 0;
    padding: 0;
}

section.uc-reset-shell.section-account .uc-reset-logo.img-circle {
    position: static;
    display: block;
    float: none;
    top: auto;
    right: auto;
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border: 5px solid #ffffff;
    border-radius: 50%;
    background: #4c0b73;
    box-shadow: 0 8px 24px rgba(76, 11, 115, 0.24);
    object-fit: cover;
}

.uc-reset-title {
    margin: 0 0 10px;
    color: #25272a;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.uc-reset-intro {
    max-width: 390px;
    margin: 0 auto 28px;
    color: #646970;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
}

.uc-reset-form {
    width: 100%;
}

.uc-reset-field {
    margin: 0 0 20px;
}

.uc-reset-field label {
    display: block;
    margin: 0 0 8px;
    color: #34373b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.uc-reset-input.form-control {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #cfd2d7;
    border-radius: 9px;
    background: #ffffff;
    color: #25272a;
    font-size: 16px;
    line-height: 50px;
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.uc-reset-input.form-control::placeholder {
    color: #999ea5;
    opacity: 1;
}

.uc-reset-input.form-control:hover {
    border-color: #aaaeb5;
}

.uc-reset-input.form-control:focus {
    border-color: #6b36a0;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(107, 54, 160, 0.14);
}

.uc-reset-help {
    display: block;
    margin-top: 7px;
    color: #767b82;
    font-size: 13px;
    line-height: 1.4;
}

.uc-reset-submit.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    padding: 13px 20px;
    border: 0;
    border-radius: 9px;
    background: #67349a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    box-shadow: 0 7px 18px rgba(103, 52, 154, 0.22);
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.uc-reset-submit.btn:hover,
.uc-reset-submit.btn:focus {
    background: #55277f;
    color: #ffffff;
    outline: 0;
    box-shadow: 0 9px 22px rgba(85, 39, 127, 0.30);
}

.uc-reset-submit.btn:active {
    transform: translateY(1px);
}

.uc-reset-secondary {
    margin: 20px 0 0;
    text-align: center;
}

.uc-reset-secondary a {
    color: #67349a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.uc-reset-secondary a:hover,
.uc-reset-secondary a:focus {
    color: #4a1f70;
    text-decoration: underline;
}

.uc-reset-card .alert {
    margin: 0 0 22px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .uc-reset-shell.section-account {
        align-items: flex-start;
        padding: 24px 12px;
    }

    section.uc-reset-shell.section-account .img-backdrop {
        height: 230px;
        min-height: 230px;
    }

    .uc-reset-card.card {
        margin-top: 42px;
        border-radius: 14px;
    }

    .uc-reset-card .card-body {
        padding: 30px 20px 32px;
    }

    section.uc-reset-shell.section-account .uc-reset-logo.img-circle {
        width: 78px;
        height: 78px;
        margin-bottom: 18px;
    }

    .uc-reset-title {
        font-size: 25px;
    }

    .uc-reset-intro {
        margin-bottom: 24px;
        font-size: 14px;
    }

    .uc-reset-input.form-control {
        height: 50px;
        line-height: 48px;
    }

    .uc-reset-submit.btn {
        min-height: 50px;
        padding-right: 14px;
        padding-left: 14px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .uc-reset-shell.section-account {
        padding-right: 8px;
        padding-left: 8px;
    }

    .uc-reset-card .card-body {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 600px) and (max-height: 650px) {
    .uc-reset-shell.section-account {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .uc-reset-card.card {
        margin-top: 0;
    }

    .uc-reset-card .card-body {
        padding-top: 20px;
        padding-bottom: 22px;
    }

    section.uc-reset-shell.section-account .uc-reset-logo.img-circle {
        width: 64px;
        height: 64px;
        margin-bottom: 12px;
    }

    .uc-reset-title {
        margin-bottom: 6px;
        font-size: 23px;
    }

    .uc-reset-intro {
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .uc-reset-field {
        margin-bottom: 14px;
    }

    .uc-reset-field label {
        margin-bottom: 6px;
    }

    .uc-reset-input.form-control {
        height: 46px;
        line-height: 44px;
    }

    .uc-reset-submit.btn {
        min-height: 48px;
        margin-top: 2px;
    }

    .uc-reset-secondary {
        margin-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .uc-reset-input.form-control,
    .uc-reset-submit.btn {
        transition: none;
    }
}
