/* ============================================================
   ABMS - Sistema de Pagamentos
   CSS Principal - Mobile First
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

/* ---- CSS Variables ---- */
:root {
    /* Paleta principal - Azul marinho profissional */
    --color-primary: #0f2b5b;
    --color-primary-light: #1a4280;
    --color-primary-lighter: #2563eb;
    --color-primary-bg: #eff4ff;

    /* Accent - Dourado elegante */
    --color-accent: #c9962b;
    --color-accent-light: #e5b94e;
    --color-accent-bg: #fef9ec;

    /* Status */
    --color-success: #059669;
    --color-success-bg: #ecfdf5;
    --color-warning: #d97706;
    --color-warning-bg: #fffbeb;
    --color-danger: #dc2626;
    --color-danger-bg: #fef2f2;
    --color-info: #2563eb;
    --color-info-bg: #eff6ff;

    /* Neutros */
    --color-bg: #f8f9fc;
    --color-surface: #ffffff;
    --color-surface-hover: #f1f5f9;
    --color-border: #e2e8f0;
    --color-border-strong: #cbd5e1;
    --color-text: #1e293b;
    --color-text-secondary: #64748b;
    --color-text-muted: #94a3b8;

    /* Tipografia */
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Espaçamento */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Raio de borda */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(15, 43, 91, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 43, 91, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 43, 91, 0.12);
    --shadow-xl: 0 20px 48px rgba(15, 43, 91, 0.16);

    /* Transições */
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Sidebar */
    --sidebar-width: 280px;
    --header-height: 64px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--color-primary-lighter); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ---- Utilities ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* ============================================================
   AUTH PAGES (Login, Cadastro, Recuperar Senha)
   ============================================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background:
        linear-gradient(135deg, var(--color-primary) 0%, #1a3a6b 50%, var(--color-primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(201, 150, 43, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2xl);
    position: relative;
    animation: authSlideUp 0.5s ease-out;
}

@keyframes authSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.auth-logo p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

.auth-logo .accent-bar {
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    margin: var(--space-sm) auto 0;
}

/* ============================================================
   FORMS
   ============================================================ */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.9375rem;
    transition: all var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-primary-lighter);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

.form-control.is-invalid {
    border-color: var(--color-danger);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 480px) {
    .form-row--2 { grid-template-columns: 1fr 1fr; }
    .form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

.form-error {
    font-size: 0.75rem;
    color: var(--color-danger);
    margin-top: var(--space-xs);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--color-primary);
    color: white;
}
.btn-primary:hover { background: var(--color-primary-light); color: white; }

.btn-accent {
    background: var(--color-accent);
    color: white;
}
.btn-accent:hover { background: var(--color-accent-light); }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--color-border-strong);
    color: var(--color-text);
}
.btn-outline:hover { background: var(--color-surface-hover); border-color: var(--color-primary-lighter); color: var(--color-primary-lighter); }

.btn-danger {
    background: var(--color-danger);
    color: white;
}
.btn-danger:hover { background: #b91c1c; }

.btn-success {
    background: var(--color-success);
    color: white;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 0.625rem; border-radius: var(--radius-sm); }

.btn:disabled, .btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================================
   LAYOUT - DASHBOARD
   ============================================================ */

.app-layout {
    display: flex;
    min-height: 100vh;
}

/* ---- Sidebar ---- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--color-primary);
    color: white;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform var(--transition-slow);
    overflow-y: auto;
}

.sidebar-header {
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.sidebar-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.sidebar-header .badge-perfil {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--color-accent);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.sidebar-nav {
    flex: 1;
    padding: var(--space-md) 0;
}

.sidebar-section {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-top: var(--space-sm);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.625rem var(--space-lg);
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    color: white;
    background: rgba(255,255,255,0.06);
}

.sidebar-link.active {
    color: white;
    background: rgba(255,255,255,0.1);
    border-left-color: var(--color-accent);
}

.sidebar-link .icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    flex-shrink: 0;
}

.sidebar-link .badge-count {
    margin-left: auto;
    background: var(--color-danger);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sidebar-user .avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.sidebar-user .user-info {
    overflow: hidden;
}

.sidebar-user .user-name {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user .user-doc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* Mobile: sidebar como overlay */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99;
    }
    .sidebar-overlay.show { display: block; }
}

/* ---- Main Content ---- */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

@media (max-width: 768px) {
    .main-content { margin-left: 0; }
}

/* ---- Top Header ---- */
.top-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-height);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-lg);
}

.top-header .menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--color-text);
}

@media (max-width: 768px) {
    .top-header .menu-toggle { display: flex; }
}

.top-header .page-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
}

.top-header .header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.notification-btn:hover { color: var(--color-text); }

.notification-btn .dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--color-danger);
    border-radius: 50%;
    border: 2px solid white;
}

/* ---- Page Content ---- */
.page-content {
    padding: var(--space-lg);
    max-width: 1200px;
}

@media (min-width: 1024px) {
    .page-content { padding: var(--space-xl) var(--space-2xl); }
}

.page-header {
    margin-bottom: var(--space-xl);
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

.page-header .actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

.card-body {
    padding: var(--space-lg);
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

/* ---- Stat Cards ---- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 2px 0 0 2px;
}

.stat-card--primary::after { background: var(--color-primary); }
.stat-card--accent::after { background: var(--color-accent); }
.stat-card--success::after { background: var(--color-success); }
.stat-card--danger::after { background: var(--color-danger); }

.stat-card .stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.03em;
    margin-top: var(--space-xs);
    font-family: var(--font-mono);
}

.stat-card .stat-change {
    font-size: 0.75rem;
    margin-top: var(--space-xs);
    font-weight: 500;
}

/* ============================================================
   STATUS BADGES
   ============================================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-pendente { background: var(--color-warning-bg); color: var(--color-warning); }
.badge-pendente::before { background: var(--color-warning); }

.badge-confirmado, .badge-recebido, .badge-pago { background: var(--color-success-bg); color: var(--color-success); }
.badge-confirmado::before, .badge-recebido::before, .badge-pago::before { background: var(--color-success); }

.badge-cancelado, .badge-expirado, .badge-falha { background: var(--color-danger-bg); color: var(--color-danger); }
.badge-cancelado::before, .badge-expirado::before, .badge-falha::before { background: var(--color-danger); }

.badge-info { background: var(--color-info-bg); color: var(--color-info); }
.badge-info::before { background: var(--color-info); }

/* ============================================================
   TABLES
   ============================================================ */

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}

.table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.875rem;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: var(--color-surface-hover);
}

/* Mobile: card layout para tabelas */
@media (max-width: 640px) {
    .table-responsive-cards thead { display: none; }
    .table-responsive-cards tbody tr {
        display: block;
        padding: var(--space-md);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        margin-bottom: var(--space-sm);
        background: var(--color-surface);
    }
    .table-responsive-cards td {
        display: flex;
        justify-content: space-between;
        padding: var(--space-xs) 0;
        border: none;
    }
    .table-responsive-cards td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        color: var(--color-text-muted);
    }
}

/* ============================================================
   PAYMENT METHOD SELECTOR
   ============================================================ */

.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

@media (min-width: 480px) {
    .payment-methods { grid-template-columns: repeat(3, 1fr); }
}

.payment-method {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.payment-method:hover {
    border-color: var(--color-primary-lighter);
    background: var(--color-primary-bg);
}

.payment-method.selected {
    border-color: var(--color-primary-lighter);
    background: var(--color-primary-bg);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.payment-method .method-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.payment-method .method-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text);
}

.payment-method .method-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
}

/* ============================================================
   ALERTS & TOASTS
   ============================================================ */

.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.alert-success { background: var(--color-success-bg); color: var(--color-success); border-left: 4px solid var(--color-success); }
.alert-danger { background: var(--color-danger-bg); color: var(--color-danger); border-left: 4px solid var(--color-danger); }
.alert-warning { background: var(--color-warning-bg); color: var(--color-warning); border-left: 4px solid var(--color-warning); }
.alert-info { background: var(--color-info-bg); color: var(--color-info); border-left: 4px solid var(--color-info); }

.toast-container {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md) var(--space-lg);
    min-width: 280px;
    max-width: 400px;
    animation: toastSlide 0.3s ease-out;
}

@keyframes toastSlide {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 43, 91, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal-overlay.show { display: flex; }

.modal {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFade 0.25s ease-out;
}

@keyframes modalFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 { font-size: 1.125rem; font-weight: 700; }

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    color: var(--color-text-muted);
    font-size: 1.25rem;
    line-height: 1;
}

.modal-body { padding: var(--space-lg); }
.modal-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-text-muted);
}

.empty-state .icon { font-size: 3rem; margin-bottom: var(--space-md); opacity: 0.5; }
.empty-state h3 { font-size: 1.125rem; font-weight: 600; color: var(--color-text-secondary); margin-bottom: var(--space-sm); }
.empty-state p { max-width: 320px; margin: 0 auto; font-size: 0.875rem; }

/* ============================================================
   LOADING
   ============================================================ */

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-primary-lighter);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
    background: linear-gradient(90deg, var(--color-border) 25%, var(--color-surface-hover) 50%, var(--color-border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer { to { background-position: -200% 0; } }

/* ============================================================
   PWA INSTALL BANNER
   ============================================================ */

.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: white;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    z-index: 150;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    box-shadow: var(--shadow-xl);
}

.pwa-install-banner.show { transform: translateY(0); }

.pwa-install-banner p { font-size: 0.875rem; }
.pwa-install-banner .btn { flex-shrink: 0; }
