/* ═══════════════════════════════════════════════════════════
   CSMS · Auth CSS  (auth.blade + login.blade merged)
   Path: public/assets/css/auth.css
═══════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. DESIGN TOKENS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
    --ink:        #0C1220;
    --ink-mid:    #1B2740;
    --ink-light:  #253352;
    --steel:      #2E3D55;
    --amber:      #E8A020;
    --amber-b:    #F5BC4A;
    --amber-pale: #FEF3DC;
    --white:      #FFFFFF;
    --sl-50:      #F8FAFC;
    --sl-100:     #F0F3F7;
    --sl-200:     #DDE3ED;
    --sl-300:     #B8C4D4;
    --sl-400:     #8898AE;
    --sl-500:     #596B85;
    --sl-600:     #445265;
    --sl-700:     #334155;
    --text:       #1A2535;
    --r:          12px;
    --font-d:    'Sora', system-ui, sans-serif;
    --font-b:    'DM Sans', system-ui, sans-serif;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. BASE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; }
html, body {
    font-family: var(--font-b) !important;
    background: var(--ink) !important;
    color: var(--text);
    height: 100%; margin: 0; padding: 0;
    overflow: hidden;
}
::selection { background: var(--amber-b); color: var(--ink); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. SPLASH SCREEN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#splashScreen {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--ink);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: .75rem;
    animation: splashFade 0s 2s forwards;
}
@keyframes splashFade { to { opacity: 0; pointer-events: none; visibility: hidden; } }

.splash-logo {
    width: 64px; height: 64px; object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(232,160,32,.5));
    animation: splashPulse 1.6s ease-in-out infinite alternate;
}
@keyframes splashPulse {
    from { transform: scale(.95); opacity: .8; }
    to   { transform: scale(1.05); opacity: 1; }
}
.splash-text {
    font-family: var(--font-d); font-size: 2rem; font-weight: 700;
    color: var(--white); letter-spacing: .08em;
}
#splashScreen small {
    font-size: .75rem; color: rgba(255,255,255,.35);
    letter-spacing: .12em; text-transform: uppercase;
    font-family: var(--font-b);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. AUTH WRAPPER & PROGRESS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.auth-wrapper { height: 100vh; overflow: hidden; }

#progressOverlay {
    display: none; position: fixed; inset: 0; z-index: 8000;
    background: rgba(12,18,32,.72); backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
}
#progressOverlay.show { display: flex; }
.progress-box {
    background: var(--white); border-radius: var(--r);
    padding: 1.5rem 2rem; min-width: 260px; text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.progress-box .progress {
    height: 4px; border-radius: 2px; background: var(--sl-100); overflow: hidden;
}
.progress-box .progress-bar {
    background: linear-gradient(90deg, var(--ink-mid), var(--amber));
    transition: width .4s ease; border-radius: 2px;
}
.progress-text {
    display: block; margin-top: .65rem;
    font-size: .75rem; color: var(--sl-500); font-family: var(--font-b);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. WA FLOAT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.wa-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 500;
    width: 46px; height: 46px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center;
    color: var(--white) !important; font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.55); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. TOASTR (auth context)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#toast-container > .toast { font-family: var(--font-b) !important; font-size: .78rem !important; border-radius: 8px !important; box-shadow: 0 4px 20px rgba(0,0,0,.2) !important; opacity: 1 !important; }
#toast-container > .toast-success { background: #1A6B47 !important; }
#toast-container > .toast-error   { background: #B91C1C !important; }
#toast-container > .toast-info    { background: var(--ink-mid) !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. LOGIN PAGE LAYOUT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.auth-layout { display: flex; height: 100vh; overflow: hidden; }

/* ── Left Panel ── */
.auth-left { flex: 0 0 58%; position: relative; background: var(--ink); overflow: hidden; display: none; }
@media (min-width: 1024px) { .auth-left { display: flex; flex-direction: column; } }

.slide-wrap { position: absolute; inset: 0; background: var(--ink); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; }
.slide.active { opacity: 1; }
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(12,18,32,.88) 0%, rgba(12,18,32,.55) 50%, rgba(12,18,32,.75) 100%);
}

.geo-grid {
    position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .06;
    background-image: linear-gradient(rgba(232,160,32,1) 1px, transparent 1px), linear-gradient(90deg, rgba(232,160,32,1) 1px, transparent 1px);
    background-size: 60px 60px;
}
.geo-corner    { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; }
.geo-corner-br { position: absolute; bottom: 0; right: 0; z-index: 2; pointer-events: none; opacity: .4; }

.left-inner { position: relative; z-index: 3; display: flex; flex-direction: column; height: 100%; padding: 2.5rem 2.75rem; }

.left-brand { display: flex; align-items: center; gap: .75rem; }
.left-brand-icon {
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-d); font-weight: 700; font-size: .85rem; color: var(--ink);
    box-shadow: 0 4px 14px rgba(232,160,32,.4); flex-shrink: 0;
}
.left-brand-name { font-family: var(--font-d); font-size: .95rem; font-weight: 700; color: rgba(255,255,255,.9); line-height: 1; }
.left-brand-name small { display: block; font-family: var(--font-b); font-size: .52rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.32); margin-top: .18rem; }

.slide-text { position: absolute; bottom: 3.5rem; left: 2.75rem; right: 2.75rem; z-index: 3; opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.slide-text.show { opacity: 1; transform: translateY(0); }
.slide-tag { display: inline-block; background: rgba(232,160,32,.18); border: 1px solid rgba(232,160,32,.35); border-radius: 100px; padding: .2rem .75rem; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-b); margin-bottom: .6rem; }
.slide-text h3 { font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: .4rem; }
.slide-text p  { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.6; }

.slide-dots { position: absolute; bottom: 1.5rem; left: 2.75rem; z-index: 3; display: flex; gap: .4rem; }
.sdot { width: 20px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.2); transition: all .4s ease; }
.sdot.active { background: var(--amber); width: 32px; }

.feature-list { position: absolute; top: 50%; right: 2.75rem; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: .65rem; }
.feat-item { display: flex; align-items: center; gap: .6rem; padding: .55rem .85rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; backdrop-filter: blur(8px); transition: background .2s; }
.feat-item:hover { background: rgba(255,255,255,.09); }
.feat-icon { width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; background: rgba(232,160,32,.15); border: 1px solid rgba(232,160,32,.25); display: flex; align-items: center; justify-content: center; font-size: .65rem; color: var(--amber-b); }
.feat-text { font-size: .72rem; color: rgba(255,255,255,.65); line-height: 1.35; }
.feat-text strong { display: block; color: rgba(255,255,255,.85); font-weight: 600; font-size: .73rem; }

/* ── Right Panel ── */
.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--sl-50); position: relative; overflow-y: auto; padding: 2rem 1.5rem; }
.auth-right::before { content: ''; position: absolute; top: -10%; right: -10%; z-index: 0; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(232,160,32,.06) 0%, transparent 70%); pointer-events: none; }
.auth-right::-webkit-scrollbar { width: 4px; }
.auth-right::-webkit-scrollbar-thumb { background: var(--sl-300); border-radius: 3px; }

.auth-card { width: 100%; max-width: 400px; position: relative; z-index: 1; }

/* ── Mobile brand ── */
.mobile-brand { display: none; text-align: center; margin-bottom: 1.75rem; }
@media (max-width: 1023px) { .mobile-brand { display: block; } }
.mobile-brand-icon { width: 48px; height: 48px; border-radius: 12px; margin: 0 auto .6rem; background: linear-gradient(135deg, var(--ink-mid) 0%, var(--steel) 100%); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 700; font-size: 1.1rem; color: var(--amber); box-shadow: 0 4px 16px rgba(12,18,32,.2); }
.mobile-brand-name { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--ink-mid); }
.mobile-brand-name small { display: block; font-family: var(--font-b); font-size: .6rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--sl-400); margin-top: .15rem; }

/* ── Mobile ticker ── */
.mobile-ticker { text-align: center; margin-bottom: 1.5rem; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .mobile-ticker { display: none; } }
.mobile-slide { display: none; }
.mobile-slide.active { display: block; animation: tickerIn .4s ease; }
@keyframes tickerIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.mobile-slide h5 { font-family: var(--font-d); font-size: .85rem; font-weight: 700; color: var(--ink-mid); margin-bottom: .2rem; }
.mobile-slide p  { font-size: .75rem; color: var(--sl-500); margin: 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. AUTH SECTIONS & FORM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.auth-section { display: none; }
.auth-section.show { display: block; animation: secIn .3s ease; }
@keyframes secIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

.sec-head { margin-bottom: 1.5rem; padding-bottom: .85rem; border-bottom: 1px solid var(--sl-200); }
.sec-head h4 { font-family: var(--font-d); font-size: 1.15rem; font-weight: 700; color: var(--ink-mid); margin: 0 0 .2rem; }
.sec-head p  { font-size: .78rem; color: var(--sl-500); margin: 0; line-height: 1.5; }
.sec-badge { display: inline-flex; align-items: center; gap: .35rem; background: rgba(232,160,32,.1); border: 1px solid rgba(232,160,32,.25); border-radius: 100px; padding: .2rem .65rem; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: .5rem; }

/* Float label */
.float-group { position: relative; margin-bottom: 1rem; }
.float-group input {
    width: 100%; padding: .9rem 1rem .35rem;
    font-family: var(--font-b); font-size: .85rem; color: var(--text);
    background: var(--white); border: 1px solid var(--sl-200); border-radius: 9px;
    outline: none; transition: border-color .18s, box-shadow .18s; -webkit-appearance: none;
}
.float-group input:focus { border-color: var(--ink-mid); box-shadow: 0 0 0 3px rgba(27,39,64,.09); }
.float-group input:focus ~ label,
.float-group input:not(:placeholder-shown) ~ label { top: .35rem; font-size: .6rem; color: var(--sl-500); letter-spacing: .06em; }
.float-group label { position: absolute; top: .75rem; left: 1rem; font-size: .82rem; color: var(--sl-400); pointer-events: none; transition: all .18s ease; }
.float-group .pwd-toggle { position: absolute; top: 50%; right: .85rem; transform: translateY(-50%); color: var(--sl-400); cursor: pointer; font-size: .8rem; transition: color .15s; }
.float-group .pwd-toggle:hover { color: var(--ink-mid); }

/* Login button */
.btn-login {
    width: 100%; padding: .8rem;
    font-family: var(--font-d); font-size: .82rem; font-weight: 700; letter-spacing: .04em;
    background: var(--ink-mid); color: var(--white); border: none; border-radius: 9px;
    cursor: pointer; transition: background .18s, box-shadow .18s, transform .1s;
    display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.1rem;
}
.btn-login:hover { background: var(--ink-light); box-shadow: 0 4px 18px rgba(27,39,64,.3); transform: translateY(-1px); }
.btn-login:active { transform: translateY(0); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. AUTH NAV TABS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.auth-nav { display: flex; border-top: 1px solid var(--sl-200); margin-top: 1.5rem; padding-top: 1rem; gap: .25rem; }
.auth-nav-btn {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    gap: .28rem; padding: .5rem .25rem;
    background: none; border: none; border-radius: 8px; cursor: pointer;
    font-family: var(--font-b); font-size: .6rem; font-weight: 600;
    letter-spacing: .05em; text-transform: uppercase;
    color: var(--sl-400); transition: all .18s; text-decoration: none !important;
}
.auth-nav-btn i { font-size: .82rem; }
.auth-nav-btn:hover { background: var(--sl-100); color: var(--ink-mid); }
.auth-nav-btn.active { background: rgba(27,39,64,.07); color: var(--ink-mid); box-shadow: inset 0 -2px 0 var(--amber); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. AUTH SECTION CONTENT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Register */
.register-info { background: var(--sl-100); border: 1px solid var(--sl-200); border-radius: 10px; padding: 1.25rem; text-align: center; }
.register-info p { font-size: .8rem; color: var(--sl-600); margin: 0; }
.register-info a { color: var(--ink-mid); font-weight: 600; }

/* Contact */
.contact-list { display: flex; flex-direction: column; gap: .5rem; }
.contact-item { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem .9rem; background: var(--white); border: 1px solid var(--sl-200); border-radius: 9px; text-decoration: none !important; transition: background .15s, border-color .15s; }
.contact-item:hover { background: var(--sl-50); border-color: var(--sl-300); }
.contact-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .75rem; }
.ci-company { background: #FEF2F2; color: #B91C1C; }
.ci-maps    { background: #FFFBEB; color: #D97706; }
.ci-wa      { background: #F0FDF4; color: #16A34A; }
.ci-email   { background: #EFF6FF; color: #2563EB; }
.contact-label { font-size: .68rem; font-weight: 700; color: var(--sl-600); margin-bottom: .1rem; }
.contact-val   { font-size: .78rem; color: var(--text); }

/* FAQ */
.faq-accordion .accordion-item { border: 1px solid var(--sl-200) !important; border-radius: 8px !important; overflow: hidden; margin-bottom: .4rem; }
.faq-accordion .accordion-button { font-family: var(--font-b); font-size: .78rem; font-weight: 600; color: var(--ink-mid) !important; background: var(--white) !important; padding: .65rem .9rem !important; box-shadow: none !important; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--sl-50) !important; border-bottom: 1px solid var(--sl-200); }
.faq-accordion .accordion-button::after { width: .75rem; height: .75rem; background-size: .75rem; }
.faq-accordion .accordion-body { font-size: .77rem; color: var(--sl-600); padding: .65rem .9rem !important; line-height: 1.65; background: var(--white); }
