/**
 * ACBAR Registration — account type selection (LTR / RTL)
 */
:root {
    --reg-green: #27883b;
    --reg-green-dark: #1f6d30;
    --reg-green-soft: rgba(39, 136, 59, 0.12);
    --reg-navy: #1a2332;
    --reg-text: #2f3542;
    --reg-muted: #5c6578;
    --reg-bg: #eef2f6;
    --reg-surface: #ffffff;
    --reg-border: rgba(26, 35, 50, 0.1);
    --reg-shadow: 0 16px 40px rgba(26, 35, 50, 0.1);
    --reg-radius: 18px;
    --reg-teal: #0d6e6a;
}

.acbar-reg {
    color: var(--reg-text);
    text-align: start;
    background: var(--reg-bg);
}

.acbar-reg__shell {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    padding: 40px 0 56px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(39, 136, 59, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(13, 110, 106, 0.1), transparent 50%),
        var(--reg-bg);
}

.acbar-reg__panel {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px);
    background: var(--reg-surface);
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius);
    box-shadow: var(--reg-shadow);
}

.acbar-reg__intro {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 36px);
    padding-bottom: clamp(20px, 3vw, 28px);
    border-bottom: 1px solid var(--reg-border);
}

.acbar-reg__intro-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--reg-green-soft), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(39, 136, 59, 0.2);
    color: var(--reg-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.acbar-reg__title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--reg-navy);
    letter-spacing: -0.02em;
}

.acbar-reg__subtitle {
    margin: 0 auto;
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--reg-muted);
}

.acbar-reg__alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.acbar-reg__alert--success {
    background: var(--reg-green-soft);
    border: 1px solid rgba(39, 136, 59, 0.25);
    color: var(--reg-green-dark);
}

.acbar-reg__alert--error {
    background: rgba(180, 35, 24, 0.1);
    border: 1px solid rgba(180, 35, 24, 0.22);
    color: #b42318;
}

.acbar-reg__choices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .acbar-reg__choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

.acbar-reg__choice {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    padding: 22px 22px 20px;
    background: linear-gradient(180deg, #fafbfc 0%, var(--reg-surface) 100%);
    border: 1px solid var(--reg-border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.acbar-reg__choice:hover,
.acbar-reg__choice:focus {
    border-color: rgba(39, 136, 59, 0.35);
    box-shadow: 0 14px 32px rgba(39, 136, 59, 0.12);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.acbar-reg__choice--employer:hover,
.acbar-reg__choice--employer:focus {
    border-color: rgba(13, 110, 106, 0.35);
    box-shadow: 0 14px 32px rgba(13, 110, 106, 0.12);
}

.acbar-reg__choice-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.acbar-reg__choice-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.acbar-reg__choice--seeker .acbar-reg__choice-icon {
    background: var(--reg-green-soft);
    color: var(--reg-green);
    border: 1px solid rgba(39, 136, 59, 0.18);
}

.acbar-reg__choice--employer .acbar-reg__choice-icon {
    background: rgba(13, 110, 106, 0.12);
    color: var(--reg-teal);
    border: 1px solid rgba(13, 110, 106, 0.18);
}

.acbar-reg__choice-meta {
    min-width: 0;
    flex: 1;
}

.acbar-reg__choice-tag {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.acbar-reg__choice--seeker .acbar-reg__choice-tag {
    background: var(--reg-green-soft);
    color: var(--reg-green-dark);
}

.acbar-reg__choice--employer .acbar-reg__choice-tag {
    background: rgba(13, 110, 106, 0.12);
    color: var(--reg-teal);
}

.acbar-reg__choice-title {
    margin: 0 0 6px;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--reg-navy);
    line-height: 1.3;
}

.acbar-reg__choice-desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--reg-muted);
}

.acbar-reg__choice-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--reg-green);
}

.acbar-reg__choice--employer .acbar-reg__choice-cta {
    color: var(--reg-teal);
}

.acbar-reg__choice-cta i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.acbar-reg__choice:hover .acbar-reg__choice-cta i,
.acbar-reg__choice:focus .acbar-reg__choice-cta i {
    transform: translateX(4px);
}

[dir="rtl"] .acbar-reg__choice:hover .acbar-reg__choice-cta i,
[dir="rtl"] .acbar-reg__choice:focus .acbar-reg__choice-cta i {
    transform: translateX(-4px);
}

[dir="rtl"] .acbar-reg__choice-cta i::before {
    content: "\f060";
}

.acbar-reg__footer {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--reg-border);
    text-align: center;
    font-size: 0.9375rem;
    color: var(--reg-muted);
}

.acbar-reg__footer a {
    margin-inline-start: 6px;
    font-weight: 800;
    color: var(--reg-green);
    text-decoration: none;
}

.acbar-reg__footer a:hover,
.acbar-reg__footer a:focus {
    color: var(--reg-green-dark);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .acbar-reg__shell {
        min-height: auto;
        padding: 24px 0 40px;
    }

    .acbar-reg__panel {
        padding: 20px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acbar-reg__choice {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .acbar-reg__choice:hover,
    .acbar-reg__choice:focus {
        transform: none;
    }
}
