/* ==========================================================================
   1. RESET E FUNDO
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
ul, li { list-style: none !important; }

:root {
    --primary-purple: #925CBA;    
    --gold: #FFCC00;               
    --unisc-blue: #1C407C;         
    --white: #ffffff;
    --text-dark: #333333;
}

body {
    background-color: #006697; 
    background-image: -webkit-radial-gradient(circle, #0095ff, #2d2d2d); 
    background-image: radial-gradient(circle, #0095ff, #2d2d2d); 
    background-attachment: fixed;
    background-repeat: no-repeat; 
    font-family: 'Droid Sans', sans-serif; 
    font-size: 13px;
    color: var(--white);
    line-height: 1.8;
}

/* ==========================================================================
   2. ESTRUTURA PRINCIPAL
   ========================================================================== */
#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    gap: 30px;
    padding: 40px 20px;
    align-items: flex-start;
}

#sidebar { width: 25%; min-width: 260px; flex-shrink: 0; }

#container {
    width: 75%;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 12px; 
    box-shadow: 0 15px 45px rgba(0,0,0,0.5);
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

#featured { width: 100%; line-height: 0; border-bottom: 4px solid var(--primary-purple); }
#featured img { width: 100%; height: auto; display: block; }

#content { padding: 40px 50px; flex-grow: 1; }

/* ==========================================================================
   3. TIPOGRAFIA E COMPONENTES
   ========================================================================== */
#content h2 { 
    color: var(--primary-purple); 
    font-size: 26px;
    margin-bottom: 25px; 
    border-bottom: 3px solid #67C7A1; 
    padding-bottom: 10px;
    text-transform: uppercase;
}

#content p { font-size: 14px; margin-bottom: 15px; text-align: justify; }
#content strong { color: var(--unisc-blue); }

.registration-details {
    background-color: #f1f7ff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid #d0e3ff;
}

.note {
    background-color: #fffde7;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    color: #856404;
    font-size: 13px;
}

.note.important {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}

/* ==========================================================================
   4. BOTÕES E LINKS
   ========================================================================== */
.btn-geral, .btn-transmissao {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--primary-purple) !important;
    color: var(--white) !important;
    padding: 12px 25px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    transition: 0.3s ease;
    text-decoration: none !important;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

.btn-geral:hover, .btn-transmissao:hover {
    background: var(--unisc-blue) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   5. TABELAS (VERSÃO CLEAN ATUALIZADA)
   ========================================================================== */
#content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 40px 0;
    font-size: 13px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

#content thead th {
    background-color: #f4f4f4;
    color: var(--primary-purple);
    text-transform: uppercase;
    padding: 12px;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-purple);
    text-align: left;
}

#content tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

#content tbody tr:nth-child(even) { background-color: #fafafa; }
#content tbody tr:hover { background-color: #f5f5f5; }

/* Larguras de Coluna */
#content table td:nth-child(1) { width: 120px; font-weight: bold; color: var(--unisc-blue); }
#content table td:nth-child(2) { width: 140px; color: #666; }

/* ==========================================================================
   6. NAVEGAÇÃO E LISTAS
   ========================================================================== */
#nav a {
    color: var(--white) !important;
    display: flex; align-items: center; padding: 12px;
    font-weight: bold; text-transform: uppercase; font-size: 12px;
    text-decoration: none !important;
}

#nav a:hover { background: rgba(255,255,255,0.15); color: var(--gold) !important; border-radius: 6px; }

.nav-icon {
    background-image: url('../images/nav-sprites.png');
    display: inline-block; width: 14px; height: 14px; margin-right: 12px;
    filter: brightness(0) invert(1);
}

/* Sprites */
.icon-home {background-position:0 -24px}
.icon-pencil {background-position:0 -72px}
.icon-calendar {background-position:-192px -120px}
.icon-user {background-position:-168px 0}

.equipe-lista { column-count: 2; column-gap: 40px; margin-top: 20px; }
.equipe-lista li { 
    padding: 6px 0; border-bottom: 1px solid #eee; break-inside: avoid; color: #444;
}
.equipe-lista li:before { content: "•"; color: var(--primary-purple); margin-right: 8px; font-weight: bold; }

/* ==========================================================================
   7. MOBILE
   ========================================================================== */
#mobile-menu-btn {
    display: none; position: fixed; top: 15px; right: 15px; z-index: 1100;
    background: var(--gold); width: 45px; height: 45px; border-radius: 8px;
    flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
#mobile-menu-btn span { width: 22px; height: 2px; background: #000; }

@media (max-width: 900px) {
    #wrapper { flex-direction: column !important; }
    #container { width: 100% !important; margin-top: 40px; }
    #mobile-menu-btn { display: flex; }
    #sidebar {
        position: fixed !important; left: -100% !important; top: 0;
        width: 80%; height: 100vh; background: #1a1a1a;
        z-index: 1050; transition: 0.4s; padding: 80px 20px;
    }
    #sidebar.active { left: 0 !important; }
    .equipe-lista { column-count: 1; }
}

#copyright { background: #f9f9f9; padding: 20px; text-align: center; border-top: 1px solid #eee; }
#copyright p { color: #666 !important; font-size: 11px; }