/* ═══════════════════════════════════════════════════════════════════════
   ThunderStorm Galaxy — Admin Auth Pages
   Layout: White form (left 42%) · Dark illustration (right 58%)
   Mirrors the store panel auth design exactly.
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@700&display=swap');

/* ── 1. RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    height: 100%;
}

/* ── 2. SPLIT SHELL ─────────────────────────────────────────────────────── */
.adm-wrap {
    display: flex;
    min-height: 100vh;
}

/* ── 3. LEFT — WHITE FORM PANEL ─────────────────────────────────────────── */
.adm-left {
    flex: 0 0 42%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.adm-left-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 48px 20px;
}

/* Logo */
.adm-logo-link { display: block; margin-bottom: 8px; }
.adm-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Form area — vertically centered */
.adm-form-wrap {
    flex: 1;
    width: 100%;
    max-width: 370px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.adm-form-head { margin-bottom: 24px; }

.adm-heading {
    font-size: 26px;
    font-weight: 700;
    color: #662db5;
    margin: 0 0 5px;
    letter-spacing: -0.3px;
}

.adm-subheading {
    font-size: 13.5px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Footer */
.adm-footer {
    font-size: 12px;
    color: #bbb;
    text-align: center;
    padding-top: 8px;
}

/* ── 4. RIGHT — DARK ILLUSTRATION PANEL ─────────────────────────────────── */
.adm-right {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: #1a0545;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none; /* hidden on mobile */
}
@media (min-width: 768px) {
    .adm-right { display: flex; align-items: center; justify-content: center; }
}

/* Dark overlay so text is readable over the photo */
.adm-right-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        150deg,
        rgba(26, 5, 69, 0.72) 0%,
        rgba(45, 10, 110, 0.55) 45%,
        rgba(102, 45, 181, 0.35) 100%
    );
    pointer-events: none;
}

/* Right panel content (logo + brand + chips) */
.adm-right-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 40px;
    color: #fff;
    width: 100%;
}

.adm-hero-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 28px;
    filter: drop-shadow(0 0 32px rgba(0, 171, 197, 0.5));
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 32px rgba(0, 171, 197, 0.50)); }
    50%       { filter: drop-shadow(0 0 56px rgba(0, 171, 197, 0.85)); }
}

.adm-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.adm-hero-cyan { color: #00abc5; }

.adm-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 260px;
    line-height: 1.65;
    margin-bottom: 36px;
}

/* Gear category chips */
.adm-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 300px;
}

.adm-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.adm-chip:hover {
    background: rgba(0, 171, 197, 0.12);
    border-color: rgba(0, 171, 197, 0.30);
    color: rgba(255, 255, 255, 0.80);
}

/* ── 5. RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .adm-left {
        flex: 0 0 100%;
    }
    .adm-left-inner {
        padding: 28px 24px 20px;
    }
}

/* ── 6. FILAMENT FORM — LABELS ──────────────────────────────────────────── */
.fi-fo-field-wrp-label label,
label.fi-fo-field-wrp-label-content,
.fi-label {
    color: #333333 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
}

/* ── 7. FILAMENT FORM — INPUT WRAPPER ───────────────────────────────────── */
.fi-input-wrp {
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.fi-input-wrp:focus-within {
    border-color: #662db5 !important;
    box-shadow: 0 0 0 3px rgba(102, 45, 181, 0.10) !important;
}

/* ── 8. FILAMENT FORM — INPUT ELEMENT ──────────────────────────────────── */
.fi-input {
    background: transparent !important;
    color: #333333 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0.75rem 1rem !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
    min-height: 44px !important;
    height: auto !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.fi-input::placeholder {
    color: #c0c0c0 !important;
}

/* ── 9. FILAMENT FORM — SUBMIT BUTTON ──────────────────────────────────── */
.fi-form-actions .fi-btn,
button[type="submit"].fi-btn {
    all: unset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 0.75rem 1.5rem !important;
    background-color: #00abc5 !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease !important;
    margin-top: 6px !important;
    letter-spacing: 0.3px !important;
}

.fi-form-actions .fi-btn:hover,
button[type="submit"].fi-btn:hover {
    background-color: #0098b0 !important;
}

.fi-form-actions .fi-btn:disabled,
button[type="submit"].fi-btn:disabled {
    background-color: #a0d9e3 !important;
    cursor: not-allowed !important;
}

/* ── 10. FILAMENT FORM — LINKS (Forgot password?) ───────────────────────── */
.fi-link, a.fi-link {
    color: #00abc5 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}

.fi-link:hover, a.fi-link:hover {
    color: #0098b0 !important;
    text-decoration: underline !important;
}

/* ── 11. FILAMENT FORM — PASSWORD EYE BUTTON ───────────────────────────── */
.fi-ac-btn-action,
button.fi-ac-btn-action,
.fi-input-wrp button {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-height: unset !important;
    padding: 0 !important;
    margin: 0 4px !important;
    margin-top: 0 !important;
    border-radius: 6px !important;
    color: #c0c0c0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: color 0.15s, background-color 0.15s !important;
}

.fi-ac-btn-action:hover,
button.fi-ac-btn-action:hover,
.fi-input-wrp button:hover {
    color: #662db5 !important;
    background: rgba(102, 45, 181, 0.07) !important;
}

.fi-ac-btn-action svg,
button.fi-ac-btn-action svg,
.fi-input-wrp button svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    stroke: currentColor !important;
    fill: none !important;
}

.fi-ac-btn-action span:not(.sr-only),
button.fi-ac-btn-action span:not(.sr-only) {
    display: none !important;
}

/* ── 12. FILAMENT FORM — REMEMBER ME CHECKBOX ──────────────────────────── */
.fi-checkbox-input {
    accent-color: #00abc5 !important;
    width: 15px !important;
    height: 15px !important;
    cursor: pointer !important;
}

.fi-checkbox-label,
.fi-fo-field-wrp .fi-checkbox-component label {
    color: #555555 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
}

/* ── 13. FILAMENT FORM — FIELD SPACING ─────────────────────────────────── */
.fi-form .fi-fo-field-wrp + .fi-fo-field-wrp {
    margin-top: 14px;
}

/* ── 14. FILAMENT FORM — VALIDATION ERRORS ─────────────────────────────── */
[class*="fi-fo-field-wrp-error-message"],
.fi-fo-field-wrp-error-message {
    color: #e53e3e !important;
    font-size: 13px !important;
    margin-top: 4px !important;
}

.fi-fo-field-wrp-error .fi-input-wrp {
    border-color: #fc8181 !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.10) !important;
}

/* ── 15. FILAMENT FORM — ERROR ALERT BANNER ─────────────────────────────── */
.fi-alert {
    background: #fff5f5 !important;
    border: 1px solid #fed7d7 !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
}

.fi-alert-title,
.fi-alert-body,
.fi-alert p {
    color: #c53030 !important;
    font-size: 13.5px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   16. CUSTOM TSG FORM — matches store login exactly
   Used by custom-login.blade.php (replaces Filament's {{ $this->form }})
   ═══════════════════════════════════════════════════════════════════════════ */

.tsg-form {
    display: flex;
    flex-direction: column;
}

.tsg-field { margin-bottom: 14px; }

.tsg-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.tsg-req { color: #e53e3e; }

.tsg-input-wrap { position: relative; }

.tsg-input {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 13px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #333333;
    background: #ffffff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.tsg-input:focus {
    border-color: #662db5;
    box-shadow: 0 0 0 3px rgba(102, 45, 181, .08);
}

.tsg-wrap-error .tsg-input {
    border-color: #fc8181;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, .10);
}

.tsg-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
}

.tsg-icon[onclick] { pointer-events: auto; }

.tsg-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 13px;
}

.tsg-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #555555;
    font-weight: 400;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.tsg-checkbox {
    width: 15px;
    height: 15px;
    accent-color: #00abc5;
    cursor: pointer;
    flex-shrink: 0;
}

.tsg-forgot {
    color: #00abc5;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    transition: color .15s;
}
.tsg-forgot:hover { color: #0098b0; text-decoration: underline; }

.tsg-btn {
    display: block;
    width: 100%;
    height: 46px;
    margin-top: 4px;
    background: #00abc5;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .2s;
    box-sizing: border-box;
}
.tsg-btn:hover { background: #0098b0; }
.tsg-btn:disabled { background: #a0d9e3; cursor: not-allowed; }

.tsg-alert {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #c53030;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}
