/* Extracted from site/admin-payouts.html on 2026-04-14 */

.wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px 80px; }
        h1 { font-size: 30px; font-weight: 800; margin: 0 0 4px; }
        .sub { color: var(--text-secondary); margin: 0 0 24px; }
        .totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 28px; }
        .stat { background: white; border: 1.5px solid var(--border, #e5e7eb); border-radius: 12px; padding: 20px; }
        .stat .label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 6px; }
        .stat .value { font-size: 28px; font-weight: 800; }
        .stat .value.owed { color: #dc2626; }
        .stat .value.paid { color: #16a34a; }
        table { width: 100%; border-collapse: collapse; background: white; border: 1.5px solid var(--border, #e5e7eb); border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
        th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border, #e5e7eb); font-size: 13px; }
        th { background: #f9fafb; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
        tr:last-child td { border-bottom: none; }
        .money { font-weight: 700; font-variant-numeric: tabular-nums; }
        .money.owed { color: #dc2626; }
        .money.paid { color: #16a34a; }
        .badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
        .badge.pending { background: #fef3c7; color: #92400e; }
        .badge.processing { background: #dbeafe; color: #1e40af; }
        .badge.completed { background: #dcfce7; color: #166534; }
        .badge.failed { background: #fee2e2; color: #991b1b; }
        h2 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
        .section { margin-bottom: 32px; }
        .btn { display: inline-block; padding: 10px 20px; background: var(--accent, #2563eb); color: white; border: none; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; }
        .btn:hover { opacity: 0.9; }
        .btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 6px; }
        .loading { padding: 60px; text-align: center; color: var(--text-muted); }
        .error { background: #fee2e2; border: 1.5px solid #fca5a5; color: #991b1b; padding: 14px; border-radius: 8px; }
        .empty { text-align: center; padding: 40px; color: var(--text-muted); }
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 100; align-items: center; justify-content: center; }
        .modal-overlay.active { display: flex; }
        .modal { background: white; border-radius: 16px; padding: 28px; max-width: 480px; width: 90%; }
        .modal h3 { margin: 0 0 16px; font-size: 18px; }
        .modal label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 4px; color: var(--text-secondary); }
        .modal input, .modal select, .modal textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border, #e5e7eb); border-radius: 8px; font-size: 14px; box-sizing: border-box; }
        .modal textarea { resize: vertical; min-height: 60px; }
        .modal .actions { margin-top: 18px; display: flex; gap: 10px; justify-content: flex-end; }
        .modal .btn-cancel { background: #f3f4f6; color: #374151; }
        .back-link { display: inline-block; margin-bottom: 16px; color: var(--accent, #2563eb); text-decoration: none; font-weight: 600; font-size: 14px; }
        .back-link:hover { text-decoration: underline; }
