/* ALLROUNDER Signup — UI Kit helpers (Tailwind CDN 補完) */

.ar-container {
    width: 91.666667%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.ar-panel {
    background: #fff;
    border: 1px solid #d6d3d1;
}

.ar-panel--dark {
    background: #000;
    border-color: #450a0a;
    color: #f5f5f4;
}

.ar-field:focus {
    outline: none;
    border-color: #450a0a;
    box-shadow: 0 0 0 1px #450a0a;
}

.ar-field.is-error {
    border-color: #450a0a;
    background: #fef2f2;
}

.ar-choice:has(input:checked) {
    border-color: #450a0a;
    background: #b91c1c;
    color: #fafaf9;
}

.ar-choice:has(input:checked) .ar-choice__desc {
    color: #fecaca;
}

.ar-steps__list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ar-step__item {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
}

.ar-step__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0.875rem;
    left: calc(50% + 0.9rem);
    width: calc(100% - 1.8rem);
    height: 1px;
    background: #d6d3d1;
}

.ar-step__item.is-done:not(:last-child)::after,
.ar-step__item.is-current:not(:last-child)::after {
    background: #b91c1c;
}

.ar-step__num {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    line-height: 1;
    color: #57534e;
    background: #fff;
    border: 1px solid #a8a29e;
}

.ar-step__item.is-done .ar-step__num,
.ar-step__item.is-current .ar-step__num {
    background: #b91c1c;
    color: #fff;
    border-color: #b91c1c;
}

.ar-step__label {
    display: none;
    margin-top: 0.5rem;
    max-width: 100%;
    padding: 0 0.15rem;
    font-size: 0.7rem;
    line-height: 1.3;
    color: #78716c;
    word-break: keep-all;
}

.ar-step__item.is-current .ar-step__label {
    color: #1c1917;
    font-weight: 700;
}

.ar-step__item.is-done .ar-step__label {
    color: #57534e;
}

.ar-steps__current {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.875rem 0 0;
    font-size: 0.875rem;
    color: #1c1917;
}

.ar-steps__current-label {
    font-weight: 700;
}

@media (min-width: 640px) {
    .ar-step__label {
        display: block;
    }

    .ar-steps__current {
        display: none;
    }
}

@media (min-width: 768px) {
    .ar-step__label {
        font-size: 0.8125rem;
    }
}

.ar-or-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #78716c;
    font-size: 0.875rem;
}

.ar-or-divider::before,
.ar-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d6d3d1;
}

.ar-line-option {
    border: 1px solid #d6d3d1;
    background: #fafaf9;
    padding: 1.25rem;
}
