.soves-auth-page {
    background: #f7f8fb;
    min-height: 100vh;
}
.soves-auth-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(28px, 6vw, 72px) 0;
}
.soves-auth-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 520px);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.soves-auth-copy h1 {
    margin: 10px 0 16px;
    color: #111827;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.02;
}
.soves-auth-copy p {
    margin: 0;
    max-width: 540px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
}
.soves-auth-card {
    border: 1px solid #dde5ef;
    border-radius: 8px;
    background: #fff;
    padding: clamp(22px, 4vw, 34px);
}
.soves-auth-form {
    display: grid;
    gap: 16px;
}
.soves-auth-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}
.soves-auth-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}
.soves-auth-steps li:not(:last-child)::after {
    content: "\203A";
    margin-left: auto;
    color: var(--soves-primary, #e5352f);
    font-size: 18px;
    line-height: 1;
}
.soves-auth-steps span {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e0ea;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    font-size: 12px;
}
.soves-auth-steps li.is-active,
.soves-auth-steps li.is-complete {
    color: var(--soves-primary, #e5352f);
}
.soves-auth-steps li.is-active span,
.soves-auth-steps li.is-complete span {
    border-color: var(--soves-primary, #e5352f);
    background: var(--soves-primary, #e5352f);
    color: #fff;
}
.soves-auth-stage {
    display: grid;
    gap: 16px;
}
.soves-auth-stage[hidden] {
    display: none;
}
.soves-auth-stage h2 {
    margin: 0;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
}
.soves-auth-stage>p {
    margin: -6px 0 2px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}
.soves-auth-form label,
.soves-auth-resend {
    display: grid;
    gap: 8px;
}
.soves-auth-form [hidden],
.soves-auth-stage [hidden] {
    display: none !important;
}
.soves-auth-form .is-full {
    grid-column: 1 / -1;
}
.soves-auth-form label span,
.soves-auth-types legend {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}
.soves-auth-form input[type="text"],
.soves-auth-form input[type="email"],
.soves-auth-form input[type="tel"],
.soves-auth-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    padding: 0 14px;
    outline: none;
    box-shadow: none !important;
    transition: border-color .2s ease;
}
.soves-auth-password-control {
    position: relative;
    display: block;
}
.soves-auth-password-control input {
    padding-right: 48px !important;
}
.soves-auth-password-control button {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #667085;
    cursor: pointer;
    transform: translateY(-50%);
}
.soves-auth-password-control button:hover,
.soves-auth-password-control button.is-visible {
    background: transparent !important;
    color: var(--soves-primary, #e5352f);
    box-shadow: none !important;
}
.soves-auth-form input:focus {
    border-color: var(--soves-primary, #e5352f);
    box-shadow: none !important;
}
.soves-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.soves-auth-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}
.soves-auth-stage[data-signup-step="type"] .soves-auth-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.soves-auth-business-types {
    padding-bottom: 4px;
}
.soves-auth-business-types[hidden] {
    display: none;
}
.soves-auth-types legend {
    grid-column: 1 / -1;
    margin-bottom: 2px;
}
.soves-auth-types label {
    display: block;
}
.soves-auth-types input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.soves-auth-types label>span {
    position: relative;
    display: grid;
    min-height: 112px;
    grid-template-rows: auto auto 1fr;
    gap: 7px;
    align-items: center;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    color: #374151;
    background: #fff;
    padding: 14px 12px;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.soves-auth-types .soves-ms-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(229, 53, 47, .08);
    color: var(--soves-primary, #e5352f);
    font-size: 20px;
}
.soves-auth-types strong {
    color: #111827;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}
.soves-auth-types small {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}
.soves-auth-types input:checked+span,
.soves-auth-types label>span:hover {
    border-color: var(--soves-primary, #e5352f);
    background: #fff7f6;
    color: var(--soves-primary, #e5352f);
}
.soves-auth-types input:checked+span::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--soves-primary, #e5352f);
}
.soves-auth-types input:checked+span strong {
    color: var(--soves-primary, #e5352f);
}
.soves-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #4b5563;
    font-size: 14px;
}
.soves-auth-row a,
.soves-auth-switch a,
.soves-auth-check a,
.soves-auth-resend button {
    color: var(--soves-primary, #e5352f);
    font-weight: 700;
    text-decoration: none;
}
.soves-auth-row a:hover,
.soves-auth-switch a:hover,
.soves-auth-check a:hover,
.soves-auth-resend button:hover {
    text-decoration: underline;
}
.soves-auth-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    flex-direction: row;
    align-items: center;
    gap: 10px !important;
    color: #4b5563;
}
.soves-auth-check input {
    width: 16px;
    height: 16px;
}
.soves-auth-check span {
    font-weight: 600 !important;
}
body.soves-auth-standalone .soves-auth-page .soves-auth-submit,
body.soves-auth-standalone .soves-auth-page button.soves-auth-submit,
body.soves-auth-standalone .soves-auth-page button.soves-auth-submit[type="submit"],
body.soves-auth-standalone .soves-auth-page button.soves-auth-submit[type="button"],
body.soves-auth-standalone .soves-auth-page a.soves-auth-submit {
    min-height: 48px;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 999px;
    background: var(--soves-primary, #e5352f) !important;
    color: #fff !important;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 0.16s ease;
}
body.soves-auth-standalone .soves-auth-page .soves-auth-submit:hover,
body.soves-auth-standalone .soves-auth-page .soves-auth-submit:focus-visible,
body.soves-auth-standalone .soves-auth-page button.soves-auth-submit:hover,
body.soves-auth-standalone .soves-auth-page button.soves-auth-submit:focus-visible,
body.soves-auth-standalone .soves-auth-page a.soves-auth-submit:hover,
body.soves-auth-standalone .soves-auth-page a.soves-auth-submit:focus-visible {
    background: var(--soves-primary-dark, #c82420) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
    outline: 0;
}
.soves-auth-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}
body.soves-auth-standalone .soves-auth-page .soves-auth-secondary,
body.soves-auth-standalone .soves-auth-page button.soves-auth-secondary[type="button"],
body.soves-auth-standalone .soves-auth-page button.soves-auth-secondary[type="submit"] {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e0ea !important;
    border-radius: 999px;
    background: #fff !important;
    color: #374151 !important;
    padding: 12px 18px;
    box-shadow: none !important;
    transform: none !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
}
body.soves-auth-standalone .soves-auth-page .soves-auth-secondary:hover,
body.soves-auth-standalone .soves-auth-page .soves-auth-secondary:focus-visible,
body.soves-auth-standalone .soves-auth-page button.soves-auth-secondary[type="submit"]:hover,
body.soves-auth-standalone .soves-auth-page button.soves-auth-secondary[type="submit"]:focus-visible {
    border-color: var(--soves-primary, #e5352f) !important;
    background: rgba(229, 53, 47, .08) !important;
    color: var(--soves-primary, #e5352f) !important;
    outline: 0;
}
.soves-auth-verify-stage {
    text-align: center;
}
.soves-auth-verify-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border-radius: 999px;
    background: rgba(229, 53, 47, .08);
    color: var(--soves-primary, #e5352f);
    font-size: 24px;
}
.soves-auth-resend {
    margin-top: 14px;
    text-align: center;
}
.soves-auth-verify-stage .soves-auth-resend {
    margin: 2px 0 0;
}
.soves-auth-resend button {
    border: 0;
    cursor: pointer;
}
.soves-auth-switch {
    margin: 18px 0 0;
    color: #4b5563;
    text-align: center;
}
.soves-alert-info,
.soves-alert-success,
.soves-alert-error {
    margin-bottom: 16px;
}
@media (max-width: 860px) {
    .soves-auth-panel {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .soves-auth-shell {
        width: min(100% - 20px, 1120px);
        padding: 28px 0;
    }
    .soves-auth-card {
        padding: 18px;
    }
    .soves-auth-grid,
    .soves-auth-types {
        grid-template-columns: 1fr;
    }
    .soves-auth-steps {
        grid-template-columns: 1fr;
    }
    .soves-auth-steps li:not(:last-child)::after {
        display: none;
    }
    .soves-auth-actions {
        grid-template-columns: 1fr;
    }
    .soves-auth-row {
        align-items: flex-start;
        flex-direction: column;
    }
}