.authcenter-portals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    font-size: 15px;
    opacity: .95;
}

.authcenter-portals span {
    display: inline-flex;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
}

.authcenter-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(245, 164, 0, .12);
    color: #5a4312;
    font-size: 14px;
    line-height: 1.45;
}

.authcenter-form .form-control:focus {
    border-color: #f5a400;
    box-shadow: 0 0 0 3px rgba(245, 164, 0, .16);
}

.authcenter-selector {
    width: min(100%, 700px);
}

.authcenter-selector .authForm__subtitle {
    max-width: 480px;
    color: #627067;
    font-size: 16px;
    line-height: 1.55;
}

.authcenter-choice-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.authcenter-choice {
    --choice-accent: #008347;
    --choice-tint: #eaf5ef;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid #dce6df;
    border-radius: 20px;
    background: #fcfdfc;
    color: #223a2e;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.authcenter-choice[data-portal="client"] {
    --choice-accent: #946000;
    --choice-tint: #fff3d9;
}

.authcenter-choice[data-portal="dev"] {
    --choice-accent: #4c6285;
    --choice-tint: #edf1f8;
}

.authcenter-choice:hover,
.authcenter-choice:focus-visible {
    border-color: var(--choice-accent);
    background: #fff;
    box-shadow: 0 6px 20px rgba(34, 58, 46, .08);
    color: #223a2e;
}

.authcenter-choice:focus-visible {
    outline: 3px solid var(--choice-accent);
    outline-offset: 3px;
}

.authcenter-choice__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--choice-tint);
    color: var(--choice-accent);
}

.authcenter-choice__icon svg {
    width: 25px;
    height: 25px;
}

.authcenter-choice__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.authcenter-choice__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.authcenter-choice__description {
    color: #627067;
    font-size: 14px;
    line-height: 1.45;
}

.authcenter-choice__host {
    margin-top: 3px;
    color: var(--choice-accent);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.authcenter-choice__arrow {
    width: 24px;
    height: 24px;
    color: var(--choice-accent);
}

.authcenter-selector-note {
    margin: 22px 0 0;
    color: #627067;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .authcenter-portals { display: none; }
}

@media (max-width: 575px) {
    .authcenter-selector .authForm__title { font-size: 28px; }
    .authcenter-selector .authForm__subtitle { font-size: 14px; }
    .authcenter-choice-list { margin-top: 22px; }
    .authcenter-choice {
        grid-template-columns: 38px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 16px 12px;
        border-radius: 16px;
    }
    .authcenter-choice__icon { width: 38px; height: 38px; border-radius: 12px; }
    .authcenter-choice__icon svg { width: 22px; height: 22px; }
    .authcenter-choice__title { font-size: 16px; }
    .authcenter-choice__description { font-size: 13px; }
    .authcenter-choice__arrow { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .authcenter-choice { transition: none; }
}
