/* CIBI — parent/auth/login.blade.php */
:root {
            --primary: #6366f1; --primary-dark: #4f46e5; --primary-light: #818cf8;
            --primary-bg: #eef2ff; --text-dark: #1e293b; --text-muted: #64748b;
            --text-light: #94a3b8; --bg: #f8fafc; --card-bg: #fff; --border: #e2e8f0;
            --radius: 12px; --radius-sm: 8px; --shadow-md: 0 4px 16px rgba(0,0,0,.08);
            --shadow-lg: 0 8px 32px rgba(0,0,0,.10); --danger: #ef4444;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
            min-height: 100vh; display: flex; flex-direction: column; align-items: center;
            justify-content: center; background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 50%, #f0fdf4 100%);
            padding: 76px 20px 20px; gap: 32px;
        }
        .topbar {
            position: fixed; top: 0; left: 0; right: 0; height: 60px;
            background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(226,232,240,.6);
            display: flex; align-items: center; justify-content: space-between;
            padding: 0 28px; z-index: 100;
        }
        .topbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: opacity .15s ease; }
        .topbar-brand:hover { opacity: .8; }
        .topbar-logo {
            width: 34px; height: 34px; border-radius: 9px;
            background: linear-gradient(135deg, var(--primary), #8b5cf6);
            display: flex; align-items: center; justify-content: center;
            color: #fff; font-weight: 800; font-size: 15px;
            box-shadow: 0 2px 8px rgba(99,102,241,.25);
        }
        .topbar-brand-text { font-size: 15px; font-weight: 700; color: var(--text-dark); letter-spacing: -0.01em; }
        .topbar-btn {
            display: inline-flex; align-items: center; gap: 7px;
            padding: 8px 16px; border-radius: 8px;
            font-size: 13px; font-weight: 600; color: var(--text-muted);
            text-decoration: none; background: transparent;
            border: 1px solid var(--border); transition: all .15s ease;
        }
        .topbar-btn:hover {
            color: var(--primary); border-color: var(--primary-light);
            background: var(--primary-bg);
        }
        .topbar-btn svg { transition: transform .15s ease; }
        .topbar-btn:hover svg { transform: translateX(-2px); }
        .auth-wrapper { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; }
        .auth-container {
            width: 100%; background: var(--card-bg);
            border-radius: 20px; box-shadow: var(--shadow-lg);
            padding: 40px 36px; border: 1px solid var(--border);
        }
        .auth-logo {
            width: 56px; height: 56px; border-radius: 14px;
            background: linear-gradient(135deg, var(--primary), #8b5cf6);
            display: flex; align-items: center; justify-content: center;
            font-weight: 800; color: #fff; font-size: 24px; margin: 0 auto 16px;
        }
        .auth-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
        .auth-title { text-align: center; font-size: 24px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
        .auth-subtitle { text-align: center; font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
        .form-group { margin-bottom: 20px; }
        .form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
        .form-input {
            width: 100%; padding: 12px 16px; border: 1px solid var(--border);
            border-radius: var(--radius-sm); font-size: 15px; color: var(--text-dark);
            background: var(--card-bg); transition: all .15s ease; font-family: inherit;
        }
        .form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg); }
        .form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
        .form-check input { accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }
        .form-check label { font-size: 14px; color: var(--text-muted); cursor: pointer; line-height: 1.5; }
        .form-check label a { color: var(--primary); font-weight: 600; text-decoration: none; }
        .form-check label a:hover { text-decoration: underline; }
        .form-check > a { font-size: 13px; color: var(--primary); font-weight: 600; text-decoration: none; }
        .form-check > a:hover { text-decoration: underline; }
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            padding: 12px 24px; border-radius: var(--radius-sm); border: none;
            font-size: 15px; font-weight: 600; cursor: pointer; transition: all .15s ease;
            text-decoration: none; width: 100%; font-family: inherit;
        }
        .btn-primary { background: var(--primary); color: #fff; }
        .btn-primary:hover { background: var(--primary-dark); }
        .btn:disabled { opacity: .6; cursor: not-allowed; }
        .testing-notice {
            background: #fef3c7; border: 1px solid #fde68a; color: #92400e;
            padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 20px;
            font-size: 13px; font-weight: 500; line-height: 1.5;
            display: flex; align-items: flex-start; gap: 8px;
        }
        .alert {
            padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px;
            font-size: 14px; font-weight: 500;
        }
        .alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
        .alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
        .auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
        .auth-footer a { color: var(--primary); font-weight: 600; text-decoration: none; }
        .auth-footer a:hover { text-decoration: underline; }
        .admin-link { text-align: center; margin-top: 16px; font-size: 13px; }
        .admin-link a { color: var(--text-muted); text-decoration: none; }
        .admin-link a:hover { color: var(--primary); }
        .divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
        .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
        .divider span { font-size: 13px; color: var(--text-muted); }
        .btn-google {
            display: flex; align-items: center; justify-content: center; gap: 10px;
            width: 100%; padding: 12px 24px; border-radius: var(--radius-sm);
            border: 1px solid var(--border); background: #fff;
            font-size: 15px; font-weight: 600; color: var(--text-dark);
            text-decoration: none; cursor: pointer; transition: all .15s ease;
            font-family: inherit;
        }
        .btn-google:hover { background: #f8fafc; border-color: #cbd5e1; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
        /* Legal footer with proper spacing */
        .legal-footer { width: 100%; max-width: 440px; text-align: center; padding-top: 20px; border-top: 1px solid rgba(148,163,184,.2); }
        .legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-bottom: 10px; }
        .legal-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; }
        .legal-links a:hover { color: var(--primary); }
        .legal-links .sep { color: var(--text-light); font-size: 12px; }
        .copyright { font-size: 11px; color: var(--text-light); line-height: 1.6; }
        @media (max-width: 480px) {
            .auth-container { padding: 28px 20px; }
            .auth-title { font-size: 20px; }
        }
