/* ============================================================
   ROLETA DA SORTE - DESIGN SYSTEM
   Estilo: Framer / Linear / Stripe / Vercel
   Mobile-first, sem dependências externas
   ============================================================ */

/* ------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--bg-page);
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: 16px; /* evita zoom automático no iOS */
}

a {
    color: inherit;
}

/* ------------------------------------------------------------
   DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
    /* Cores dinâmicas (sobrescritas via inline style com base nas settings) */
    --color-primary: #1E3A5F;
    --color-secondary: #C9A227;

    /* Superfícies - tema escuro premium (azul-marinho / preto) */
    --bg-page: #0B1220;
    --bg-card: #141D2E;
    --bg-subtle: #1C2738;
    --bg-overlay: rgba(5, 9, 18, 0.7);

    /* Texto */
    --text-primary: #F4F6F9;
    --text-secondary: #A8B3C6;
    --text-muted: #6E7A8E;
    --text-on-primary: #FFFFFF;

    /* Bordas */
    --border-subtle: #243046;
    --border-strong: #354561;

    /* Estados */
    --color-success: #2EBD7E;
    --color-success-bg: rgba(46, 189, 126, 0.12);
    --color-error: #E0566B;
    --color-error-bg: rgba(224, 86, 107, 0.12);

    /* Acentos discretos */
    --color-gold: #C9A227;
    --color-light-blue: #6FA8DC;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 0 4px;

    /* Raios */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Espaçamento (escala 4/8) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;

    /* Transições */
    --ease-default: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 400ms;
}

/* ------------------------------------------------------------
   LAYOUT GERAL
   ------------------------------------------------------------ */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: var(--space-5) var(--space-4);
}

.container--wide {
    max-width: 1100px;
}

/* ------------------------------------------------------------
   TIPOGRAFIA
   ------------------------------------------------------------ */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
    font-size: 14px;
}

.text-center {
    text-align: center;
}

/* ------------------------------------------------------------
   HERO PÚBLICO
   ------------------------------------------------------------ */
.hero {
    text-align: center;
    padding: var(--space-6) 0 var(--space-4);
}

.hero__logo {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    object-fit: cover;
    margin: 0 auto var(--space-4);
    box-shadow: var(--shadow-md);
}

.hero__title {
    margin-bottom: var(--space-2);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero__subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 360px;
    margin: 0 auto var(--space-2);
}

.hero__description {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 340px;
    margin: 0 auto;
}

/* ------------------------------------------------------------
   CARDS
   ------------------------------------------------------------ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-5);
}

.card--compact {
    padding: var(--space-4);
    border-radius: var(--radius-md);
}

/* ------------------------------------------------------------
   FORMULÁRIOS
   ------------------------------------------------------------ */
.form-group {
    margin-bottom: var(--space-4);
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color var(--duration-fast) var(--ease-default),
                box-shadow var(--duration-fast) var(--ease-default);
    min-height: 48px;
}

.form-textarea {
    min-height: 96px;
    resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow) color-mix(in srgb, var(--color-primary) 15%, transparent);
}

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

.form-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.form-error {
    font-size: 13px;
    color: var(--color-error);
    margin-top: var(--space-1);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.form-row {
    display: flex;
    gap: var(--space-3);
}

.form-row .form-group {
    flex: 1;
}

.color-input-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
}

.color-input-wrap input[type="color"] {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0;
    background: none;
    cursor: pointer;
}

.color-input-wrap input[type="text"] {
    border: none;
    flex: 1;
    min-height: auto;
    padding: 8px;
}

.color-input-wrap input[type="text"]:focus {
    box-shadow: none;
}

/* Toggle switch */
.toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: var(--space-2);
    min-height: 44px;
}

.toggle input {
    position: absolute;
    opacity: 0;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle__track {
    width: 44px;
    height: 24px;
    background: var(--border-strong);
    border-radius: var(--radius-full);
    position: relative;
    transition: background var(--duration-fast) var(--ease-default);
    flex-shrink: 0;
}

.toggle__track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--duration-fast) var(--ease-default);
    box-shadow: var(--shadow-sm);
}

.toggle input:checked + .toggle__track {
    background: var(--color-success);
}

.toggle input:checked + .toggle__track::after {
    transform: translateX(20px);
}

.toggle input:focus-visible + .toggle__track {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ------------------------------------------------------------
   BOTÕES
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: transform var(--duration-fast) var(--ease-default),
                box-shadow var(--duration-fast) var(--ease-default),
                opacity var(--duration-fast) var(--ease-default),
                background var(--duration-fast) var(--ease-default);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--text-on-primary);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover:not(:disabled) {
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: var(--bg-subtle);
    color: var(--text-primary);
    border: 1.5px solid var(--border-subtle);
}

.btn--secondary:hover:not(:disabled) {
    border-color: var(--border-strong);
}

.btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.btn--danger {
    background: var(--color-error-bg);
    color: var(--color-error);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    width: auto;
    min-height: 44px;
    padding: 10px 16px;
}

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

.btn--sm {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 14px;
    width: auto;
}

.btn--block-mobile-only {
    width: auto;
}

.btn--icon {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.btn .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn.is-loading .spinner {
    display: inline-block;
}

.btn.is-loading .btn__label {
    opacity: 0.7;
}

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

/* ------------------------------------------------------------
   ROLETA
   ------------------------------------------------------------ */
.roleta-wrap {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    margin: var(--space-6) auto;
}

.roleta-ponteiro {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 28px solid var(--text-primary);
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.roleta-ponteiro::before {
    content: '';
    position: absolute;
    top: -28px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--text-primary);
    border-radius: 50%;
}

.roleta-disco-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.18), 0 0 0 8px var(--bg-card), 0 0 0 10px var(--border-subtle);
    overflow: hidden;
}

.roleta-disco {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 5.2s cubic-bezier(0.12, 0.67, 0.1, 1);
}

.roleta-disco.is-spinning {
    will-change: transform;
}

.roleta-disco svg {
    width: 100%;
    height: 100%;
    display: block;
}

.roleta-fatia-texto {
    font-size: 13px;
    font-weight: 700;
    fill: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.roleta-centro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: var(--bg-card);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.roleta-centro__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

/* ------------------------------------------------------------
   RESULTADO
   ------------------------------------------------------------ */
.resultado {
    text-align: center;
    padding: var(--space-6) 0;
    animation: fade-in-up var(--duration-slow) var(--ease-default);
}

.resultado__emoji {
    font-size: 56px;
    margin-bottom: var(--space-3);
    animation: pop var(--duration-slow) var(--ease-default);
}

.resultado__titulo {
    font-size: 24px;
    margin-bottom: var(--space-1);
}

.resultado__premio {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: var(--space-3) 0;
}

.resultado__descricao {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop {
    0% { transform: scale(0.6); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

/* Confetti simples */
.confetti {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.confetti span {
    position: absolute;
    top: -10px;
    width: 8px;
    height: 14px;
    border-radius: 2px;
    opacity: 0.9;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    to {
        transform: translateY(110vh) rotate(540deg);
        opacity: 0;
    }
}

/* ------------------------------------------------------------
   ALERTAS / MENSAGENS
   ------------------------------------------------------------ */
.alert {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}

.alert--error {
    background: var(--color-error-bg);
    color: var(--color-error);
}

.alert--success {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.alert--info {
    background: var(--bg-subtle);
    color: var(--text-secondary);
}

/* ------------------------------------------------------------
   BADGES
   ------------------------------------------------------------ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

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

.badge--muted {
    background: var(--bg-subtle);
    color: var(--text-muted);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   ADMIN - LAYOUT
   ------------------------------------------------------------ */
.admin-page {
    background: var(--bg-page);
    min-height: 100vh;
}

.admin-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-4);
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.admin-header__title {
    font-size: 18px;
    font-weight: 700;
}

.admin-nav {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.admin-nav::-webkit-scrollbar {
    display: none;
}

.admin-nav__link {
    flex-shrink: 0;
    padding: var(--space-3) var(--space-4);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color var(--duration-fast) var(--ease-default),
                border-color var(--duration-fast) var(--ease-default);
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.admin-nav__link:hover {
    color: var(--text-primary);
}

.admin-nav__link.is-active {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.admin-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-5) var(--space-4) var(--space-8);
}

/* ------------------------------------------------------------
   ADMIN - GRID DE STATS
   ------------------------------------------------------------ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.stat-card__label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--space-1);
}

.stat-card__value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

/* ------------------------------------------------------------
   ADMIN - TABELAS (responsivas com cards no mobile)
   ------------------------------------------------------------ */
.table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

thead th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-subtle);
}

tbody td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 14px;
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--bg-subtle);
}

.table-actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

/* Tabela responsiva mobile (cards) */
@media (max-width: 640px) {
    .table-wrap--responsive thead {
        display: none;
    }

    .table-wrap--responsive table,
    .table-wrap--responsive tbody,
    .table-wrap--responsive tr,
    .table-wrap--responsive td {
        display: block;
        width: 100%;
    }

    .table-wrap--responsive tr {
        border-bottom: 1px solid var(--border-subtle);
        padding: var(--space-3) var(--space-4);
    }

    .table-wrap--responsive tr:last-child {
        border-bottom: none;
    }

    .table-wrap--responsive td {
        border-bottom: none;
        padding: var(--space-1) 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-3);
        text-align: right;
    }

    .table-wrap--responsive td::before {
        content: attr(data-label);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-muted);
        font-weight: 600;
        text-align: left;
    }

    .table-wrap--responsive .table-actions {
        justify-content: flex-end;
    }
}

/* ------------------------------------------------------------
   ADMIN - LISTA DE PRÊMIOS (cards)
   ------------------------------------------------------------ */
.premio-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.premio-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.premio-item__cor {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.premio-item__info {
    flex: 1;
    min-width: 0;
}

.premio-item__nome {
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premio-item__meta {
    font-size: 13px;
    color: var(--text-muted);
}

.premio-item__actions {
    display: flex;
    gap: var(--space-2);
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   MODAL
   ------------------------------------------------------------ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 50;
    backdrop-filter: blur(4px);
    animation: fade-in var(--duration-base) var(--ease-default);
}

.modal-overlay.is-open {
    display: flex;
}

@media (min-width: 640px) {
    .modal-overlay {
        align-items: center;
    }
}

.modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-5);
    animation: slide-up var(--duration-base) var(--ease-default);
}

@media (min-width: 640px) {
    .modal {
        border-radius: var(--radius-lg);
    }
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.modal__close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .roleta-disco {
        transition-duration: 0.01ms !important;
    }
}

/* ------------------------------------------------------------
   LOGIN ADMIN
   ------------------------------------------------------------ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-subtle) 100%);
}

.login-card {
    width: 100%;
    max-width: 380px;
}

.login-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: #fff;
}

/* ------------------------------------------------------------
   UTILITÁRIOS
   ------------------------------------------------------------ */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    gap: var(--space-3);
}

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

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-note {
    text-align: center;
    padding: var(--space-5) 0;
    color: var(--text-muted);
    font-size: 13px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-2) var(--space-4);
    z-index: 100;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
}

/* Visually hidden (acessibilidade) */
.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;
}
