/* ============================================================
 * auth.css
 * Auto-extracted from blade templates
 * ============================================================ */


*, *::before, *::after { margin:0; padding:0; box-sizing:border-box }

        :root {
            --red: #e74c3c;
            --orange: #e67e22;
            --red-soft: rgba(231,76,60,0.08);
            --border: #eaeaea;
            --text: #1a1a1a;
            --muted: #888;
            --light: #f7f7f7;
        }

        body {
            font-family: 'Be Vietnam Pro', sans-serif;
            min-height: 100vh;
            display: flex;
            align-items: stretch;
            background: #f4f4f4;
        }

        /* ── LEFT PANEL ── */
        .left {
            width: 46%;
            background: linear-gradient(150deg, #c0392b 0%, #e74c3c 40%, #e67e22 80%, #f39c12 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 48px;
            position: relative;
            overflow: hidden;
        }
        .left::before {
            content: '';
            position: absolute; top: -100px; right: -100px;
            width: 360px; height: 360px; border-radius: 50%;
            background: rgba(255,255,255,0.07);
        }
        .left::after {
            content: '';
            position: absolute; bottom: -80px; left: -80px;
            width: 280px; height: 280px; border-radius: 50%;
            background: rgba(255,255,255,0.05);
        }
        .left-blob {
            position: absolute; top: 40%; left: -40px;
            width: 160px; height: 160px; border-radius: 50%;
            background: rgba(255,255,255,0.04);
        }
        .brand-icon {
            width: 76px; height: 76px;
            background: rgba(255,255,255,0.22);
            border-radius: 22px;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 28px;
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.3);
        }
        .brand-icon svg { width: 38px; height: 38px; stroke: #fff; fill: none; stroke-width: 1.8; }
        .brand-name { font-size: 34px; font-weight: 700; color: #fff; letter-spacing: -0.5px; margin-bottom: 14px; }
        .brand-tagline {
            font-size: 15px; color: rgba(255,255,255,0.82);
            text-align: center; line-height: 1.7; max-width: 280px; font-weight: 300;
        }
        .feature-list {
            margin-top: 48px; display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 300px;
        }
        .feature-item {
            display: flex; align-items: center; gap: 12px;
            color: rgba(255,255,255,0.88); font-size: 13.5px;
        }
        .feature-item .dot {
            width: 28px; height: 28px; border-radius: 8px;
            background: rgba(255,255,255,0.18);
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .feature-item .dot svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; }

        /* ── RIGHT PANEL ── */
        .right {
            width: 54%;
            display: flex; align-items: center; justify-content: center;
            padding: 60px 72px;
            background: #fff;
        }
        .form-wrap { width: 100%; max-width: 420px; }

        /* ── TABS ── */
        .tabs {
            display: flex;
            border-bottom: 2px solid var(--border);
            margin-bottom: 36px;
        }
        .tab-btn {
            flex: 1;
            padding: 12px 8px;
            font-family: inherit;
            font-size: 14px;
            font-weight: 500;
            color: var(--muted);
            background: none;
            border: none;
            border-bottom: 2.5px solid transparent;
            margin-bottom: -2px;
            cursor: pointer;
            transition: color .2s, border-color .2s;
            letter-spacing: 0.2px;
        }
        .tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
        .tab-btn:hover:not(.active) { color: #555; }

        /* ── PANELS ── */
        .panel { display: none; }
        .panel.active { display: block; }
        .panel-title { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
        .panel-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 30px; line-height: 1.5; }

        /* ── FIELDS ── */
        .field { margin-bottom: 18px; }
        .field label { display: block; font-size: 13px; font-weight: 500; color: #444; margin-bottom: 7px; }
        .input-wrap { position: relative; }
        .input-wrap .icon {
            position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
            width: 17px; height: 17px; stroke: #bbb; stroke-width: 1.8; fill: none; pointer-events: none;
        }
        .input-wrap input {
            width: 100%; padding: 12px 14px 12px 42px;
            border: 1.5px solid var(--border); border-radius: 10px;
            font-family: inherit; font-size: 14px; color: var(--text);
            outline: none; background: #fafafa;
            transition: border-color .2s, box-shadow .2s;
        }
        .input-wrap input:focus {
            border-color: var(--red); background: #fff;
            box-shadow: 0 0 0 4px var(--red-soft);
        }
        .input-wrap input::placeholder { color: #ccc; }
        .eye-btn {
            position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
            background: none; border: none; cursor: pointer; padding: 4px;
            display: flex; align-items: center;
        }
        .eye-btn svg { width: 17px; height: 17px; stroke: #bbb; stroke-width: 1.8; fill: none; }
        .field-error { font-size: 12px; color: #e53e3e; margin-top: 5px; }

        /* ── ALERT ── */
        .alert {
            margin-bottom: 20px; padding: 11px 14px;
            border-radius: 10px; font-size: 13px;
            display: flex; align-items: center; gap: 8px;
        }
        .alert svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke-width: 2; }
        .alert-error { background: #fff5f5; border: 1px solid #fed7d7; color: #c53030; }
        .alert-error svg { stroke: #e53e3e; }
        .alert-success { background: #f0fff4; border: 1px solid #c6f6d5; color: #276749; }
        .alert-success svg { stroke: #38a169; }

        /* ── BUTTONS ── */
        .btn-primary {
            width: 100%; padding: 13px; margin-top: 6px;
            background: linear-gradient(135deg, var(--red), var(--orange));
            color: #fff; font-family: inherit; font-size: 15px; font-weight: 600;
            border: none; border-radius: 10px; cursor: pointer;
            display: flex; align-items: center; justify-content: center; gap: 8px;
            transition: opacity .2s, transform .1s;
            letter-spacing: 0.3px;
        }
        .btn-primary:hover { opacity: 0.92; }
        .btn-primary:active { transform: scale(0.99); }
        .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
        .btn-primary svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 2; }
        .spinner {
            width: 17px; height: 17px;
            border: 2.5px solid rgba(255,255,255,0.35);
            border-top-color: #fff; border-radius: 50%;
            animation: spin .7s linear infinite; display: none;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ── FORGOT LINK ── */
        .forgot-link {
            display: block; text-align: right; margin-top: -10px; margin-bottom: 18px;
            font-size: 12.5px; color: var(--red); text-decoration: none; font-weight: 500;
            cursor: pointer;
        }
        .forgot-link:hover { text-decoration: underline; }

        /* ── ROW ── */
        .row { display: flex; gap: 14px; }
        .row .field { flex: 1; }

        /* ── PASSWORD STRENGTH ── */
        .strength-bar { display: flex; gap: 4px; margin-top: 8px; }
        .strength-bar span { flex: 1; height: 3px; border-radius: 2px; background: var(--border); transition: background .3s; }
        .strength-label { font-size: 11.5px; margin-top: 5px; color: var(--muted); }

        /* ── TERMS ── */
        .terms { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 6px; font-size: 12.5px; color: #666; }
        .terms input[type="checkbox"] { margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
        .terms a { color: var(--red); text-decoration: none; }
        .terms a:hover { text-decoration: underline; }

        /* ── FOOTER / SWITCH ── */
        .footer-text { text-align: center; margin-top: 28px; font-size: 12px; color: #ccc; }
        .switch-link { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
        .switch-link a { color: var(--red); font-weight: 500; text-decoration: none; cursor: pointer; }
        .switch-link a:hover { text-decoration: underline; }

        /* ── SUCCESS STATE ── */
        .success-state { text-align: center; padding: 20px 0; }
        .success-state .check-circle {
            width: 72px; height: 72px; border-radius: 50%;
            background: linear-gradient(135deg, #38a169, #48bb78);
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 20px;
        }
        .success-state .check-circle svg { width: 36px; height: 36px; stroke: #fff; fill: none; stroke-width: 2.5; }
        .success-state h3 { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
        .success-state p { font-size: 14px; color: var(--muted); line-height: 1.6; }

        /* ── OTP STEP BAR ── */
        .step-bar { display: flex; gap: 6px; margin-bottom: 22px; }
        .step-bar span { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background .35s; }
        .step-bar span.on { background: linear-gradient(90deg, var(--red), var(--orange)); }

        /* ── OTP ROW ── */
        .otp-row {
            display: flex;
            gap: 10px;
            margin: 8px 0 10px;
        }
        .otp-row input {
            flex: 1;
            min-width: 0;
            width: 100%;
            text-align: center;
            padding: 14px 4px;
            border: 1.5px solid var(--border);
            border-radius: 10px;
            font-family: 'Be Vietnam Pro', monospace;
            font-size: 22px;
            font-weight: 700;
            color: var(--text);
            outline: none;
            background: #fafafa;
            transition: border-color .2s, box-shadow .2s, background .2s;
        }
        .otp-row input:focus {
            border-color: var(--red);
            background: #fff;
            box-shadow: 0 0 0 4px var(--red-soft);
        }
        .otp-row input.filled {
            border-color: var(--orange);
            background: #fff8f5;
        }
        .otp-row input.otp-error {
            border-color: #e53e3e;
            background: #fff5f5;
            animation: shake .3s ease;
        }
        @keyframes shake {
            0%,100% { transform: translateX(0); }
            25% { transform: translateX(-4px); }
            75% { transform: translateX(4px); }
        }

        .otp-hint {
            font-size: 13px;
            color: var(--muted);
            margin-bottom: 16px;
            line-height: 1.6;
        }
        .otp-hint strong { color: var(--text); }
        .otp-hint .countdown { color: var(--red); font-weight: 600; }
        .otp-hint .resend { color: var(--red); cursor: pointer; font-weight: 500; text-decoration: underline; }
        .otp-hint .resend.disabled { color: var(--muted); text-decoration: none; cursor: not-allowed; }

        .inline-err { font-size: 12px; color: #e53e3e; margin-top: -6px; margin-bottom: 12px; display: none; }

        /* ── REMEMBER ME ── */
        .remember-row {
            display: flex; align-items: center; gap: 8px;
            margin-bottom: 16px; font-size: 13px; color: #555;
        }
        .remember-row input[type="checkbox"] { accent-color: var(--red); }

        @media (max-width: 820px) {
            body { flex-direction: column; }
            .left { width: 100%; padding: 40px 32px; min-height: 200px; }
            .feature-list { display: none; }
            .right { width: 100%; padding: 40px 28px; }
            .row { flex-direction: column; gap: 0; }
        }

*{margin:0;padding:0;box-sizing:border-box}
    body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:100vh;background:linear-gradient(135deg,#1a1a2e 0%,#0f3460 100%)}

    .page{display:flex;min-height:100vh;align-items:stretch}

    /* Left panel */
    .left{width:42%;background:linear-gradient(145deg,#e74c3c 0%,#e67e22 60%,#f39c12 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 48px;position:relative;overflow:hidden}
    .left::before{content:'';position:absolute;top:-100px;right:-100px;width:400px;height:400px;border-radius:50%;background:rgba(255,255,255,0.06)}
    .left::after{content:'';position:absolute;bottom:-80px;left:-80px;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,0.04)}
    .brand-logo{width:72px;height:72px;background:rgba(255,255,255,0.2);border-radius:20px;display:flex;align-items:center;justify-content:center;margin-bottom:24px;backdrop-filter:blur(10px)}
    .brand-logo svg{width:36px;height:36px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
    .brand-name{font-size:30px;font-weight:800;color:#fff;margin-bottom:10px}
    .brand-desc{font-size:15px;color:rgba(255,255,255,0.85);text-align:center;line-height:1.6;max-width:280px;margin-bottom:32px}
    .steps{display:flex;flex-direction:column;gap:14px;width:100%;max-width:300px}
    .step{display:flex;align-items:flex-start;gap:12px;color:rgba(255,255,255,0.9)}
    .step-num{width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,0.25);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex-shrink:0}
    .step-text{font-size:13px;line-height:1.5}

    /* Right panel */
    .right{flex:1;background:#fff;display:flex;align-items:center;justify-content:center;padding:40px 64px;overflow-y:auto}
    .form-wrap{width:100%;max-width:460px}
    .form-title{font-size:22px;font-weight:700;color:#1a1a1a;margin-bottom:5px}
    .form-sub{font-size:13.5px;color:#888;margin-bottom:28px}

    /* Invite info box */
    .invite-box{background:#fff5f0;border:1.5px solid #fde8cc;border-radius:10px;padding:13px 16px;margin-bottom:20px;display:flex;align-items:center;gap:10px}
    .invite-box svg{width:18px;height:18px;stroke:#e74c3c;fill:none;stroke-width:2;flex-shrink:0}
    .invite-box p{font-size:12.5px;color:#9a3412;line-height:1.5}
    .invite-box strong{color:#e74c3c}

    /* Steps indicator */
    .step-indicator{display:flex;align-items:center;gap:0;margin-bottom:28px}
    .step-dot{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0;transition:all .2s}
    .step-dot.done{background:linear-gradient(135deg,#e74c3c,#e67e22);color:#fff}
    .step-dot.active{background:linear-gradient(135deg,#e74c3c,#e67e22);color:#fff;box-shadow:0 0 0 4px rgba(231,76,60,0.2)}
    .step-dot.pending{background:#f0f0f0;color:#aaa}
    .step-line{flex:1;height:2px;background:#f0f0f0}
    .step-line.done{background:linear-gradient(135deg,#e74c3c,#e67e22)}
    .step-labels{display:flex;justify-content:space-between;margin-top:6px;margin-bottom:20px}
    .step-label{font-size:11px;color:#aaa;text-align:center;flex:1}
    .step-label.active{color:#e74c3c;font-weight:600}

    /* Form */
    .form-section{display:none}
    .form-section.active{display:block}
    .section-title{font-size:13px;font-weight:700;color:#e74c3c;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #fee2e2}
    .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
    .form-grid.g1{grid-template-columns:1fr}
    .field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}
    .field label{font-size:12.5px;font-weight:500;color:#444}
    .req{color:#e74c3c}
    .field input,.field select{padding:11px 12px;border:1.5px solid #e5e5e5;border-radius:9px;font-size:13.5px;color:#333;outline:none;background:#fff;transition:border-color .2s;font-family:inherit}
    .field input:focus,.field select:focus{border-color:#e74c3c;box-shadow:0 0 0 3px rgba(231,76,60,0.08)}
    .field-error{font-size:11.5px;color:#e74c3c;margin-top:3px}
    .field-hint{font-size:11.5px;color:#aaa;margin-top:3px}

    /* Password input wrapper with eye toggle */
    .pw-wrap{position:relative}
    .pw-wrap input{padding-right:40px;width:100%}
    .pw-eye{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;color:#bbb}
    .pw-eye svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

    /* Password strength */
    .strength-bar{display:flex;gap:3px;margin-top:6px}
    .strength-bar span{flex:1;height:3px;border-radius:2px;background:#e5e5e5;transition:background .3s}
    .strength-lbl{font-size:11px;color:#aaa;margin-top:4px}

    /* Terms */
    .terms-box{background:#f8f9fb;border-radius:10px;padding:14px;max-height:180px;overflow-y:auto;font-size:12px;color:#555;line-height:1.7;margin-bottom:14px;border:1px solid #e5e5e5}
    .terms-box h4{font-size:12.5px;font-weight:600;color:#333;margin-bottom:8px}
    .checkbox-row{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}
    .checkbox-row input[type=checkbox]{width:16px;height:16px;margin-top:2px;accent-color:#e74c3c;flex-shrink:0;cursor:pointer}
    .checkbox-row label{font-size:13px;color:#444;cursor:pointer;line-height:1.5}

    /* Nav buttons */
    .btn-row{display:flex;gap:10px;margin-top:20px}
    .btn{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 24px;border-radius:9px;font-size:14px;font-weight:600;cursor:pointer;border:none;transition:all .15s;width:100%}
    .btn-primary{background:linear-gradient(135deg,#e74c3c,#e67e22);color:#fff}
    .btn-primary:hover{opacity:0.9}
    .btn-primary:disabled{opacity:0.6;cursor:not-allowed}
    .btn-outline{background:#fff;color:#555;border:1.5px solid #e5e5e5;width:auto;flex-shrink:0;padding:12px 20px}
    .btn-outline:hover{border-color:#999}
    .btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
    .spinner{width:16px;height:16px;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;display:none}
    @keyframes spin{to{transform:rotate(360deg)}}

    /* Error/Success */
    .alert{padding:12px 16px;border-radius:9px;margin-bottom:16px;font-size:13px;display:flex;align-items:flex-start;gap:8px}
    .alert.error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
    .alert.success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
    .alert svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;flex-shrink:0;margin-top:1px}

    /* Success screen */
    .success-screen{text-align:center;padding:40px 20px;display:none}
    .success-screen.show{display:block}
    .success-icon{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#e74c3c,#e67e22);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-size:32px}
    .success-screen h2{font-size:22px;font-weight:700;color:#1a1a1a;margin-bottom:8px}
    .success-screen p{font-size:13.5px;color:#888;line-height:1.7}

    /* Error screen */
    .error-screen{text-align:center;padding:40px 20px}
    .error-screen .err-icon{width:64px;height:64px;border-radius:50%;background:#fee2e2;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
    .error-screen .err-icon svg{width:28px;height:28px;stroke:#e74c3c;fill:none;stroke-width:2}
    .error-screen h2{font-size:20px;font-weight:700;color:#1a1a1a;margin-bottom:8px}
    .error-screen p{font-size:13.5px;color:#888;line-height:1.7}

    @media(max-width:768px){
        .page{flex-direction:column}
        .left{width:100%;padding:40px 32px;min-height:auto}
        .right{padding:32px 24px}
        .form-grid{grid-template-columns:1fr}
    }

/* === from: layouts/guest.blade.php === */
*{margin:0;padding:0;box-sizing:border-box}
    body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;min-height:100vh;background:#f4f6f9}

    /* Toast */
    .toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:8px;pointer-events:none}
    .toast{display:flex;align-items:center;gap:10px;padding:13px 18px;border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,0.15);font-size:13.5px;font-weight:500;transform:translateX(120%);transition:transform .3s cubic-bezier(.34,1.56,.64,1);pointer-events:auto;min-width:280px;border-left:4px solid;background:#fff}
    .toast.show{transform:translateX(0)}
    .toast.success{color:#166534;border-color:#22c55e}
    .toast.error{color:#991b1b;border-color:#ef4444}
    .toast-close{background:none;border:none;cursor:pointer;color:inherit;opacity:0.5;font-size:16px;margin-left:auto}