:root {
    --sc-primary: #d80b38;
    --sc-primary-hover: #bb062e;
    --sc-primary-soft: #fff1f4;
    --sc-heading: #141927;
    --sc-text: #343b4a;
    --sc-muted: #707888;
    --sc-border: #e2e5eb;
    --sc-border-strong: #d5d9e1;
    --sc-page: #f6f7f9;
    --sc-white: #ffffff;
    --sc-success: #16804a;
    --sc-success-soft: #ecf8f1;
    --sc-danger: #bd1638;
    --sc-danger-soft: #fff1f3;
    --sc-radius: 18px;
    --sc-input-radius: 10px;
    --sc-shadow: 0 18px 48px rgba(21, 27, 38, .08);
}

.sc-account-page,
.sc-account-page * {
    box-sizing: border-box;
}

.sc-account-page {
    width: 100%;
    min-height: 70vh;
    padding: 34px 18px 54px;
    overflow-x: hidden;
    overflow-x: clip;
    color: var(--sc-text);
    background:
        radial-gradient(circle at 5% 5%, rgba(216, 11, 56, .045), transparent 28%),
        linear-gradient(180deg, #fafbfc 0, var(--sc-page) 100%);
    font-family: inherit;
}

.sc-account-container {
    width: min(880px, 100%);
    min-width: 0;
    margin: 0 auto;
}

.sc-account-container--narrow {
    width: min(560px, 100%);
}

.sc-account-container--wide {
    width: min(1040px, 100%);
}

.sc-account-breadcrumb {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--sc-muted);
    font-size: 14px;
    line-height: 1.4;
}

.sc-account-breadcrumb a {
    color: var(--sc-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.sc-account-breadcrumb a:hover {
    color: var(--sc-primary);
}

.sc-account-breadcrumb span {
    overflow: hidden;
    color: var(--sc-heading);
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sc-account-breadcrumb svg,
.sc-back-link svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sc-account-card {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    background: var(--sc-white);
    box-shadow: var(--sc-shadow);
}

.sc-account-card--auth {
    padding: 42px 46px 34px;
}

.sc-account-card--register {
    padding: 32px 58px 42px;
}

.sc-account-card--details {
    padding: 38px 48px 44px;
}

.sc-account-accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sc-primary) 0 28%, #f1a6b7 28% 42%, #f6f7f9 42% 100%);
}

.sc-brand-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: fit-content;
    margin: 0 auto 27px;
}

.sc-brand-lockup--left {
    justify-content: flex-start;
    margin: 0;
}

.sc-brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--sc-primary);
    box-shadow: 0 7px 16px rgba(216, 11, 56, .18);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.sc-brand-text {
    display: block;
    line-height: 1.05;
}

.sc-brand-text strong,
.sc-brand-text small {
    display: block;
}

.sc-brand-text strong {
    color: var(--sc-heading);
    font-size: 15px;
    font-weight: 600;
}

.sc-brand-text small {
    margin-top: 5px;
    color: var(--sc-muted);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sc-account-topbar {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf0f3;
}

.sc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--sc-muted);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: color .2s ease;
}

.sc-back-link:hover {
    color: var(--sc-primary);
}

.sc-account-heading {
    margin-bottom: 28px;
    text-align: center;
}

.sc-account-heading--compact {
    margin-bottom: 25px;
}

.sc-account-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--sc-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sc-account-heading h1,
.sc-details-header h1 {
    margin: 0;
    color: var(--sc-heading);
    font-size: clamp(27px, 3vw, 24px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.035em;
}

.sc-account-heading p,
.sc-details-header p {
    max-width: 540px;
    margin: 9px auto 0;
    color: var(--sc-muted);
    font-size: 14px;
    line-height: 1.65;
}

.sc-account-form {
    width: 100%;
    min-width: 0;
}

.sc-form-group {
    min-width: 0;
    margin-bottom: 20px;
}

.sc-form-group:last-child {
    margin-bottom: 0;
}

.sc-form-grid {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sc-form-label,
.sc-label-row {
    color: var(--sc-heading);
    font-size: 13px;
    font-weight: 650;
}

.sc-form-label {
    display: block;
    margin-bottom: 8px;
}

.sc-form-label > span {
    color: var(--sc-primary);
}

.sc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.sc-label-row .sc-form-label {
    margin: 0;
}

.sc-inline-link,
.sc-check-row a,
.sc-text-button {
        color: #000000;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}

.sc-inline-link {
    font-size: 12px;
}

.sc-inline-link:hover,
.sc-check-row a:hover,
.sc-text-button:hover {
    color: var(--sc-primary-hover);
    text-decoration: underline;
}

.sc-account-form input[type="text"],
.sc-account-form input[type="tel"],
.sc-account-form input[type="email"],
.sc-account-form input[type="password"] {
    display: block;
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--sc-border-strong);
    outline: 0;
    border-radius: var(--sc-input-radius);
    color: var(--sc-heading);
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.sc-account-form input::placeholder {
    color: #a1a7b2;
}

.sc-account-form input:focus {
    border-color: rgba(216, 11, 56, .68);
    box-shadow: 0 0 0 3px rgba(216, 11, 56, .09);
}

.sc-account-form input[readonly] {
    color: #667080;
    background: #f5f6f8;
    cursor: not-allowed;
}

.sc-phone-field,
.sc-input-icon {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
}

.sc-phone-field {
    height: 48px;
    overflow: hidden;
    border: 1px solid var(--sc-border-strong);
    border-radius: var(--sc-input-radius);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sc-phone-field:focus-within {
    border-color: rgba(216, 11, 56, .68);
    box-shadow: 0 0 0 3px rgba(216, 11, 56, .09);
}

.sc-phone-field.is-readonly {
    background: #f5f6f8;
}

.sc-phone-field input[type="tel"] {
    height: 46px;
    padding-left: 13px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.sc-phone-field input[type="tel"]:focus {
    box-shadow: none;
}

.sc-phone-code {
    display: inline-flex;
    height: 24px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 13px;
    border-right: 1px solid var(--sc-border);
    color: #4d5564;
    font-size: 13px;
    font-weight: 650;
}

.sc-input-icon input {
    padding-right: 47px !important;
}

.sc-password-toggle {
    position: absolute;
    right: 5px;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: #8a919e;
    background: transparent;
    cursor: pointer;
}

.sc-password-toggle:hover,
.sc-password-toggle:focus-visible {
    color: var(--sc-primary);
    background: var(--sc-primary-soft);
    outline: 0;
}

.sc-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.sc-password-toggle .sc-eye-closed,
.sc-password-toggle.is-visible .sc-eye-open {
    display: none;
}

.sc-password-toggle.is-visible .sc-eye-closed {
    display: block;
}

.sc-form-help,
.sc-field-error {
    display: block;
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.45;
}

.sc-form-help {
    color: var(--sc-muted);
}

.sc-field-error {
    color: var(--sc-danger);
}

.sc-account-form .is-invalid {
    border-color: #dd6b82;
}

.sc-check-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    margin: 2px 0 22px;
    color: #5f6776;
    font-size: 12.5px;
    line-height: 1.5;
    cursor: pointer;
}

.sc-check-row input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 1px 0 0;
    accent-color: var(--sc-primary);
}

.sc-check-row--terms {
    margin: 3px 0 23px;
}

.sc-primary-button,
.sc-secondary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.sc-primary-button {

    width: 100%;
    border: 1px solid #000;
    color: #fff;
    background: #000;
    box-shadow: 0 9px 20px rgba(216, 11, 56, .16);
}

.sc-primary-button:hover {
   background: #000;
    box-shadow: 0 9px 20px rgba(216, 11, 56, .16);
    color: #fff;
    box-shadow: 0 10px 24px rgba(216, 11, 56, .22);
    transform: translateY(-1px);
}

.sc-primary-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sc-secondary-button {
    width: 100%;
    border: 1px solid var(--sc-border-strong);
    color: var(--sc-heading);
    background: #fff;
    box-shadow: none;
}

.sc-secondary-button:hover {
    border-color: #b7bdc7;
    color: var(--sc-primary);
    background: #fafafa;
}

.sc-auth-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 24px 0 17px;
    color: #8a919d;
    font-size: 11.5px;
    white-space: nowrap;
}

.sc-auth-divider::before,
.sc-auth-divider::after {
    height: 1px;
    flex: 1 1 auto;
    background: #e8eaee;
    content: '';
}

.sc-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    color: #7a8290;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.sc-secure-note svg,
.sc-verified-badge svg,
.sc-field-verified svg,
.sc-section-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.sc-secure-note svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: var(--sc-success);
}

.sc-alert {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
}

.sc-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.sc-alert--success {
    border-color: #b9e2ca;
    color: #17663f;
    background: var(--sc-success-soft);
}

.sc-alert--danger {
    border-color: #f1c5cf;
    color: #98203b;
    background: var(--sc-danger-soft);
}

.sc-stepper {
    position: relative;
    display: grid;
    max-width: 510px;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto 34px;
    padding: 0;
    list-style: none;
}

.sc-stepper::before {
    position: absolute;
    top: 15px;
    right: 16.67%;
    left: 16.67%;
    height: 1px;
    background: #dfe2e7;
    content: '';
}

.sc-stepper li {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    color: #959ca8;
    font-size: 11px;
    font-weight: 650;
}

.sc-stepper li > span {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid #d8dce3;
    border-radius: 50%;
    color: #717887;
    background: #fff;
    font-size: 12px;
}

.sc-stepper li.is-active,
.sc-stepper li.is-done {
    color: var(--sc-heading);
}

.sc-stepper li.is-active > span {
    border-color: var(--sc-primary);
    color: #fff;
    background: var(--sc-primary);
    box-shadow: 0 5px 13px rgba(216, 11, 56, .18);
}

.sc-stepper li.is-done > span {
    border-color: #f0a9b8;
    color: var(--sc-primary);
    background: var(--sc-primary-soft);
}

.sc-register-step[hidden] {
    display: none !important;
}

.sc-register-step {
    width: min(600px, 100%);
    margin: 0 auto;
    animation: scStepIn .25s ease both;
}

@keyframes scStepIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sc-step-heading {
    margin-bottom: 22px;
    text-align: center;
}

.sc-step-heading h2 {
    margin: 0;
    color: var(--sc-heading);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.018em;
}

.sc-step-heading p {
    margin: 6px 0 0;
    color: var(--sc-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.sc-step-heading p strong {
    color: var(--sc-heading);
}

.sc-otp-group {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.sc-account-form .sc-otp-group input {
    height: 54px;
    padding: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.sc-otp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
}

.sc-text-button {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 11.5px;
    cursor: pointer;
}

.sc-text-button:disabled {
    color: #a0a6b0;
    cursor: default;
    text-decoration: none;
}

.sc-button-row,
.sc-details-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.sc-button-row .sc-primary-button,
.sc-button-row .sc-secondary-button,
.sc-details-actions .sc-primary-button,
.sc-details-actions .sc-secondary-button {
    width: auto;
    min-width: 150px;
}

.sc-details-header {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 31px;
    padding-bottom: 26px;
    border-bottom: 1px solid #e9ebef;
}

.sc-details-header p {
    margin-right: 0;
    margin-left: 0;
}

.sc-verified-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid #c7e7d4;
    border-radius: 999px;
    color: var(--sc-success);
    background: var(--sc-success-soft);
    font-size: 11.5px;
    font-weight: 700;
}

.sc-verified-badge svg {
    width: 16px;
    height: 16px;
}

.sc-form-section {
    margin-bottom: 27px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef0f3;
}

.sc-section-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
}

.sc-section-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #f3ccd5;
    border-radius: 9px;
    color: var(--sc-primary);
    background: var(--sc-primary-soft);
}

.sc-section-icon svg {
    width: 18px;
    height: 18px;
}

.sc-section-title h2 {
    margin: 0;
    color: var(--sc-heading);
    font-size: 16px;
    font-weight: 700;
}

.sc-section-title p {
    margin: 3px 0 0;
    color: var(--sc-muted);
    font-size: 11.5px;
}

.sc-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sc-radio-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.sc-radio-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.sc-radio-card span {
    display: inline-flex;
    min-width: 105px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--sc-border-strong);
    border-radius: 9px;
    color: #515968;
    background: #fff;
    font-size: 12.5px;
    font-weight: 600;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.sc-radio-card input:checked + span {
    border-color: #e3768d;
    color: var(--sc-primary);
    background: var(--sc-primary-soft);
    box-shadow: inset 0 0 0 1px rgba(216, 11, 56, .08);
}

.sc-radio-card input:focus-visible + span {
    outline: 3px solid rgba(216, 11, 56, .12);
    outline-offset: 2px;
}

.sc-verified-field {
    position: relative;
}

.sc-verified-field .sc-phone-field {
    padding-right: 37px;
}

.sc-field-verified {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    color: var(--sc-success);
    transform: translateY(-50%);
}

.sc-field-verified svg {
    width: 19px;
    height: 19px;
}

.sc-details-actions {
    margin-top: 3px;
}

.sc-toast {
    position: fixed;
    z-index: 9999;
    right: 22px;
    bottom: 22px;
    display: flex;
    max-width: min(380px, calc(100vw - 32px));
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid #c9e6d4;
    border-radius: 10px;
    color: #17663f;
    background: #fff;
    box-shadow: 0 15px 38px rgba(19, 31, 24, .16);
    font-size: 12.5px;
    line-height: 1.45;
    animation: scToastIn .25s ease both;
}

.sc-toast::before {
    display: block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--sc-success);
    content: '';
}

@keyframes scToastIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {
    .sc-account-page {
        padding: 22px 13px 38px;
    }

    .sc-account-card--auth,
    .sc-account-card--register,
    .sc-account-card--details {
        padding: 30px 20px 27px;
        border-radius: 15px;
        box-shadow: 0 13px 34px rgba(21, 27, 38, .075);
    }

    .sc-account-topbar {
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .sc-brand-lockup--left .sc-brand-text {
        display: none;
    }

    .sc-account-heading h1,
    .sc-details-header h1 {
        font-size: 27px;
    }

    .sc-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sc-stepper {
        margin-bottom: 28px;
    }

    .sc-stepper li small {
        font-size: 10px;
    }

    .sc-otp-group {
        gap: 6px;
    }

    .sc-account-form .sc-otp-group input {
        height: 48px;
        font-size: 18px;
    }

    .sc-button-row,
    .sc-details-actions {
        flex-direction: column-reverse;
    }

    .sc-button-row .sc-primary-button,
    .sc-button-row .sc-secondary-button,
    .sc-details-actions .sc-primary-button,
    .sc-details-actions .sc-secondary-button {
        width: 100%;
    }

    .sc-details-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .sc-radio-group {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .sc-radio-card span {
        width: 100%;
        min-width: 0;
        padding-right: 6px;
        padding-left: 6px;
        font-size: 11.5px;
    }

    .sc-section-title {
        align-items: flex-start;
    }

    .sc-toast {
        right: 16px;
        bottom: 16px;
        left: 16px;
        max-width: none;
    }
}

@media (max-width: 399.98px) {
    .sc-account-card--auth,
    .sc-account-card--register,
    .sc-account-card--details {
        padding-right: 16px;
        padding-left: 16px;
    }

    .sc-brand-text small {
        letter-spacing: .05em;
    }

    .sc-otp-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .sc-radio-group {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-account-page *,
    .sc-account-page *::before,
    .sc-account-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   AJAX + LIVE VALIDATION SUPPORT
   Existing design rules above are intentionally unchanged.
   ========================================================= */

.sc-ajax-alert {
    width: 100%;
    margin: -6px 0 22px;
    padding: 12px 14px;
    border: 1px solid #d9e0e8;
    border-radius: 10px;
    color: #445064;
    background: #f6f8fb;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.sc-ajax-alert[hidden] {
    display: none !important;
}

.sc-ajax-alert.is-success {
    border-color: #b9dfc8;
    color: #12633b;
    background: var(--sc-success-soft);
}

.sc-ajax-alert.is-info {
    border-color: #c9d9ec;
    color: #315a82;
    background: #f3f8fd;
}

.sc-ajax-alert.is-warning {
    border-color: #f2d08e;
    color: #78500d;
    background: #fff8e8;
}

.sc-ajax-alert.is-danger {
    border-color: #efbdc7;
    color: #9d1834;
    background: var(--sc-danger-soft);
}

.sc-field-feedback {
    display: block;
    min-height: 17px;
    margin-top: 6px;
    color: var(--sc-muted);
    font-size: 11.5px;
    line-height: 1.4;
    transition: color .18s ease;
}

.sc-field-feedback:empty {
    min-height: 0;
    margin-top: 0;
}

.sc-field-feedback.is-error {
    color: var(--sc-danger);
}

.sc-field-feedback.is-success {
    color: var(--sc-success);
}

.sc-field-feedback.is-success::before {
    margin-right: 5px;
    content: '\2713';
    font-weight: 800;
}

.sc-form-group.is-invalid > input,
.sc-form-group.is-invalid > select,
.sc-form-group.is-invalid > textarea,
.sc-form-group.is-invalid [data-field-control] {
    border-color: #d95b72 !important;
    /* box-shadow: 0 0 0 3px rgba(202, 31, 65, .08) !important; */
}

.sc-form-group.is-valid > input,
.sc-form-group.is-valid > select,
.sc-form-group.is-valid > textarea,
.sc-form-group.is-valid [data-field-control] {
    border-color: #48a879 !important;
    /* box-shadow: 0 0 0 3px rgba(35, 145, 93, .07) !important; */
}

.sc-form-group.is-invalid .sc-radio-card span {
    border-color: #d95b72;
}

.sc-form-group.is-valid .sc-radio-card input:checked + span {
    border-color: #48a879;
    color: #17663f;
    background: #f0faf4;
}

.sc-form-group--check {
    margin-bottom: 20px;
}

.sc-form-group--check .sc-check-row {
    margin-bottom: 0;
}

.sc-primary-button.is-loading,
.sc-secondary-button.is-loading {
    pointer-events: none;
    cursor: wait;
    opacity: .82;
}

.sc-button-spinner {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 2px solid rgba(255, 255, 255, .48);
    border-top-color: #fff;
    border-radius: 50%;
    animation: scButtonSpin .7s linear infinite;
}

@keyframes scButtonSpin {
    to {
        transform: rotate(360deg);
    }
}

.sc-toast--danger {
    border-color: #efc4cd;
    color: #98203b;
    background: #fff8f9;
}

.sc-toast--danger::before {
    background: var(--sc-danger);
}

.sc-toast--warning {
    border-color: #ecd8a4;
    color: #7a5a12;
    background: #fffbef;
}

.sc-toast--warning::before {
    background: #c18a13;
}

.sc-toast.is-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}
