/* Customer sign-in / register / forgot / reset. Plain CSS, no Tailwind rebuild needed. */
.ac-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 960px; margin: 8px auto 24px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 18px 50px rgba(15, 23, 42, .12); border: 1px solid #e3e8f2; }
.ac-wrap.ac-single { grid-template-columns: minmax(0, 1fr); max-width: 460px; }

.ac-promo {
    position: relative; display: flex; flex-direction: column; justify-content: center; padding: 44px 40px; color: #fff; overflow: hidden;
    background: linear-gradient(155deg, #4c1d95 0%, #6d28d9 55%, #c026d3 120%);
}
.ac-promo::before, .ac-promo::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ac-promo::before { width: 260px; height: 260px; right: -90px; top: -90px; }
.ac-promo::after { width: 200px; height: 200px; left: -70px; bottom: -70px; }
.ac-promo > * { position: relative; z-index: 1; }
.ac-promo h2 { margin: 0 0 8px; font-size: 1.7rem; line-height: 1.2; font-weight: 700; color: #fff; }
.ac-promo > p { margin: 0 0 24px; color: rgba(255, 255, 255, .85); line-height: 1.6; }
.ac-promo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ac-promo li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: rgba(255, 255, 255, .95); }
.ac-promo li svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .16); color: #fff; box-sizing: border-box; }
.ac-promo li span { padding-top: 6px; }

.ac-form { padding: 40px; }
.ac-single .ac-form { padding: 36px 32px; }
.ac-title { margin: 0 0 4px; font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; color: #0f172a; }
.ac-sub { margin: 0 0 22px; font-size: .92rem; color: #64748b; }

.ac-field { margin-bottom: 16px; }
.ac-field > label { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 600; color: #334155; }
.ac-input {
    display: block; width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 10px;
    background: #fff; color: #0f172a; font-size: .95rem; transition: border-color .15s, box-shadow .15s;
}
.ac-input::placeholder { color: #94a3b8; }
.ac-input:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); }
.ac-input.is-error { border-color: #e11d48; }
.ac-code { letter-spacing: .5em; text-align: center; font-size: 1.2rem; font-weight: 600; }
.ac-pass { position: relative; }
.ac-pass .ac-input { padding-right: 48px; }
.ac-pass button { position: absolute; top: 0; right: 0; width: 46px; height: 46px; display: grid; place-items: center; border: 0; background: none; color: #64748b; cursor: pointer; border-radius: 0 10px 10px 0; }
.ac-pass button:hover { color: #6d28d9; }
.ac-pass button:focus-visible { outline: 2px solid #7c3aed; outline-offset: -2px; }
.ac-hint { margin: 6px 0 0; font-size: .78rem; color: #64748b; }
.ac-error { margin: 6px 0 0; font-size: .78rem; color: #e11d48; }
.ac-check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: #334155; }
.ac-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: #6d28d9; }

.ac-submit {
    width: 100%; height: 48px; border: 0; border-radius: 10px; cursor: pointer; font-size: .98rem; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, #6d28d9, #c026d3); box-shadow: 0 8px 18px rgba(109, 40, 217, .3); transition: transform .1s, box-shadow .15s;
}
.ac-submit:hover { box-shadow: 0 10px 24px rgba(109, 40, 217, .4); }
.ac-submit:active { transform: translateY(1px); }
.ac-submit:focus-visible { outline: 3px solid rgba(124, 58, 237, .35); outline-offset: 2px; }
.ac-submit:disabled { opacity: .7; cursor: wait; }

.ac-links { margin: 16px 0 0; font-size: .82rem; color: #64748b; text-align: center; line-height: 1.6; }
.ac-links a, .ac-foot a { color: #6d28d9; font-weight: 600; text-decoration: none; }
.ac-links a:hover, .ac-foot a:hover { text-decoration: underline; }
.ac-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid #e8ecf5; text-align: center; font-size: .9rem; color: #475569; }
.ac-staff { max-width: 960px; margin: 0 auto 8px; text-align: center; font-size: .8rem; color: #64748b; }
.ac-staff a { color: #6d28d9; font-weight: 500; }

@media (max-width: 800px) {
    .ac-wrap { grid-template-columns: 1fr; margin-top: 0; border-radius: 16px; }
    .ac-promo { display: none; }
    .ac-form, .ac-single .ac-form { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) { .ac-input, .ac-submit { transition: none; } }
