/* CITILS 2027 - Estilos Globais */

/* ============================================================
   RESET E VARIÁVEIS
   ============================================================ */

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

/* ============================================================
   TIPOGRAFIA
   ============================================================ */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

code, pre {
    background-color: var(--surface-muted);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-family: 'Monaco', 'Courier New', monospace;
}

/* ============================================================
   CONTAINER E LAYOUT
   ============================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 2rem 0;
}

/* ============================================================
   CABEÇALHO (topbar fina + barra de menu)
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.topbar {
    background-color: var(--primary-dark);
    color: white;
    padding: 0.6rem 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: bold;
    color: white;
}

.marca-icone {
    width: 1.6rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.topbar-actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.topbar-actions a,
.topbar-actions span {
    color: white;
}

.topbar-actions a:hover {
    color: var(--accent-color);
}

.navbar {
    background-color: var(--primary-color);
    color: white;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
}

.navbar-menu {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.navbar-item {
    color: white;
    padding: 0.9rem 0;
}

.navbar-link {
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.9rem 1.1rem;
    border-bottom: 3px solid transparent;
}

.navbar-link:hover {
    color: white;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.08);
}

.navbar-link.is-active {
    background-color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.navbar-dropdown {
    position: relative;
    display: flex;
}

.navbar-dropdown-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font: inherit;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.9rem 1.1rem;
}

.navbar-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.navbar-dropdown.is-active .navbar-dropdown-toggle {
    background-color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.navbar-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    z-index: 101;
    flex-direction: column;
    padding: 0.5rem 0;
    border-top: 3px solid var(--accent-color);
}

.navbar-dropdown.is-open .navbar-dropdown-menu {
    display: flex;
}

.navbar-dropdown-item {
    color: var(--dark-text);
    padding: 0.6rem 1.1rem;
    white-space: nowrap;
}

.navbar-dropdown-item:hover {
    color: var(--primary-color);
    background-color: var(--surface-muted);
    text-decoration: none;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    background-color: var(--light-bg);
    padding: 3rem 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    text-align: left;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-brand .marca-icone {
    width: 4.5rem;
    height: 4.1rem;
    color: var(--primary-color);
}

.hero h1 {
    color: var(--primary-color);
    margin: 0;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.1;
}

.hero .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0;
}

.hero-divider {
    width: 3px;
    align-self: stretch;
    background-color: var(--accent-color);
}

.hero-dates {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.hero-dates strong {
    display: block;
    font-size: 1.3rem;
    color: var(--accent-color);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* ============================================================
   DATAS IMPORTANTES (resumo na home)
   ============================================================ */

.datas-importantes {
    padding: 2rem 0;
}

.datas-importantes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.data-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.data-numero {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1;
}

.data-info {
    display: flex;
    flex-direction: column;
}

.data-mes-ano {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.data-titulo {
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.4rem;
    margin-top: 0.25rem;
    display: inline-block;
}

/* ============================================================
   VÍDEO INSTITUCIONAL
   ============================================================ */

.video-institucional {
    padding: 2rem 0;
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 900px;
    margin: 1.5rem auto 0;
    background-color: var(--dark-text);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-placeholder .play-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder .play-icon::before {
    content: '';
    border-style: solid;
    border-width: 0.75rem 0 0.75rem 1.25rem;
    border-color: transparent transparent transparent white;
    margin-left: 0.3rem;
}

.video-placeholder p {
    position: absolute;
    bottom: 1rem;
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
}

/* ============================================================
   SOBRE / APOIO (institucional da home)
   ============================================================ */

.sobre-congresso,
.apoio-realizacao {
    padding: 2rem 0;
}

.apoio-realizacao h3 {
    color: var(--primary-color);
}

.apoio-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.apoio-item {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem;
}

/* ============================================================
   BOTÕES
   ============================================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

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

.trabalho-visualizador {
    display: block;
    width: 100%;
    height: 75vh;
    min-height: 400px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

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

/* ============================================================
   FORMULÁRIOS
   ============================================================ */

form {
    max-width: 100%;
}

fieldset {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

legend {
    padding: 0 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.required {
    color: var(--danger-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.5rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

small {
    display: block;
    color: #666;
    margin-top: 0.25rem;
}

.contador-invalido {
    color: var(--danger-color);
    font-weight: 600;
}

/* ============================================================
   ALERTS
   ============================================================ */

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-danger,
.alert-erro {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.alert-aviso {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

/* ============================================================
   TABELAS
   ============================================================ */

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.table thead {
    background-color: var(--surface-muted);
}

.table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

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

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-rascunho {
    background-color: #e0e0e0;
    color: #333;
}

.badge-submetido {
    background-color: #fff3cd;
    color: #856404;
}

.badge-em_avaliacao {
    background-color: #d1ecf1;
    color: #0c5460;
}

.badge-aprovado {
    background-color: #d4edda;
    color: #155724;
}

.badge-rejeitado {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-admin,
.badge-revisor,
.badge-participante {
    background-color: var(--primary-color);
    color: white;
}

.badge-vigente {
    background-color: #d4edda;
    color: #155724;
}

.badge-encerrado {
    background-color: #e0e0e0;
    color: #6c757d;
    text-decoration: line-through;
}

.badge-futuro {
    background-color: #fff3cd;
    color: #856404;
}

/* Botão que se comporta como um link inline (ex.: ações em tabela dentro
   de um <form>, onde não dá pra usar <a href>) */
.btn-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

/* ============================================================
   CARD COMPONENTS
   ============================================================ */

.card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* ============================================================
   STATS E DASHBOARDS
   ============================================================ */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-sub {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ============================================================
   MENU E NAVEGAÇÃO
   ============================================================ */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.menu-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    color: inherit;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.menu-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.menu-item p {
    color: #666;
    margin-bottom: 0;
}

/* ============================================================
   AUTH PAGES
   ============================================================ */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.auth-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-color);
}

.auth-box h1 {
    margin-top: 0;
    color: var(--primary-color);
    text-align: center;
}

.auth-box.cadastro {
    max-width: 700px;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.link-recuperacao {
    background-color: var(--surface-muted);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1rem;
    word-break: break-all;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    margin: 1rem 0;
}

/* ============================================================
   SEÇÕES E CONTEÚDO
   ============================================================ */

section {
    margin: 3rem 0;
}

.section-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background-color: var(--surface-muted);
    border-radius: 8px;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 2.5rem 0;
    margin-top: auto;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer p {
    margin: 0.5rem 0;
}

.footer a {
    color: white;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer-marca {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 560px;
}

.footer-marca .marca-icone {
    width: 1.75rem;
    height: 1.6rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-marca p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-links h4 {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: white;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .topbar .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .navbar .container {
        flex-direction: column;
    }

    .navbar-menu {
        width: 100%;
        flex-direction: column;
    }

    .navbar-link,
    .navbar-dropdown-toggle {
        width: 100%;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .navbar-link.is-active,
    .navbar-dropdown.is-active .navbar-dropdown-toggle {
        border-left-color: var(--accent-color);
    }

    .navbar-dropdown {
        width: 100%;
        flex-direction: column;
    }

    .navbar-dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-divider {
        width: 100%;
        height: 3px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero .lead {
        font-size: 1.1rem;
    }

    .hero-actions {
        gap: 0.5rem;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-marca {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    fieldset {
        padding: 1rem;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    fieldset {
        padding: 0.75rem;
    }
    
    legend {
        font-size: 1rem;
    }
}

/* ============================================================
   PALESTRANTES
   ============================================================ */

.palestrantes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.palestrante-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.lote-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.palestrante-card h3 {
    margin-top: 0;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.palestrante-card .instituicao {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.palestrante-card .tema {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================================
   PRÓXIMOS EVENTOS
   ============================================================ */

.eventos-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.evento-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.evento-item strong {
    font-family: var(--font-heading);
    color: var(--dark-text);
    display: block;
    margin-bottom: 0.5rem;
}

.evento-item .local {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
    text-align: center;
    background-color: var(--surface-muted);
    border-radius: 8px;
    padding: 3rem 2rem;
}

.cta h2 {
    margin-top: 0;
}

/* ============================================================
   PROGRAMAÇÃO (PÁGINA PÚBLICA)
   ============================================================ */

.programacao-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.programacao-dia {
    margin: 3rem 0;
}

.eventos-lista {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.evento-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.evento-horario {
    flex: 0 0 auto;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    min-width: 4rem;
}

.evento-conteudo h3 {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.evento-tipo {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.evento-local,
.evento-palestrante {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */

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

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
}

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

/* Focus visible para melhor acessibilidade */
:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================================
   AÇÕES EM TABELA (ADMIN)
   ============================================================ */

.table-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.table-actions form {
    margin: 0;
}

.table-actions .btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}
