/* ── AUTH ── */
.auth-wrap {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 360px;
}

/* ── LOGO ── */
.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .5px;
}

.auth-logo-text i {
    font-size: 22px;
    color: cornflowerblue;
}

.auth-logo-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

/* ── FIELD ── */
.afield {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 0 14px;
    margin-bottom: 10px;
    transition: border-color .2s;
}

.afield:focus-within {
    border-color: cornflowerblue;
}

.afield i {
    font-size: 15px;
    color: var(--muted);
    flex-shrink: 0;
}

.afield input,
.afield select {
    flex: 1;
    height: 44px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
}

.afield select option {
    background: var(--card);
    color: var(--text);
}

/* ── TUPLASH KUNING ROW ── */
.afields-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

/* ── CAPTCHA ── */
.captcha-row {
    display: grid;
    grid-template-columns: 44px 90px 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.captcha-refresh {
    height: 44px;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s;
}

.captcha-refresh:hover { border-color: cornflowerblue; }
.captcha-refresh i { font-size: 15px; color: var(--muted); }

.captcha-img {
    height: 44px;
    width: 90px;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.captcha-img img {
    width: 88px;
    height: 44px;
    object-fit: fill;
    display: block;
}

/* ── LABEL (kichik) ── */
.afield-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 5px;
    padding-left: 4px;
}

/* ── BUTTON ── */
.auth-btn {
    width: 100%;
    height: 46px;
    background: cornflowerblue;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-top: 6px;
    transition: opacity .2s, transform .15s;
}

.auth-btn:hover    { opacity: .88; }
.auth-btn:active   { transform: scale(.98); }
.auth-btn:disabled { opacity: .6; cursor: default; }

/* ── FOOTER ── */
.auth-foot {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
}

.auth-foot a {
    color: cornflowerblue;
    font-weight: 600;
}

/* ── DIVIDER ── */
.auth-divider {
    text-align: center;
    margin: 16px 0;
    position: relative;
    font-size: 12px;
    color: var(--muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--border);
}

.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
