/* Ajuste de layout grid para questoes_perg_respp_24.php */
/* Layout grid melhorado para questoes_perg_respp_24.php */
.grid-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 2rem;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 2rem;
}
.action-buttons a {
    min-width: 180px;
    text-align: center;
}

.table-area {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1.5rem;
    width: 100%;
}

.table-responsive {
    width: 100%;
}

.table-modern {
    width: 100%;
    min-width: 600px;
}

.pagination-area {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .grid-layout {
        max-width: 98vw;
        gap: 1rem;
    }
    .table-modern {
        min-width: 400px;
    }
}

@media (max-width: 768px) {
    .grid-layout {
        max-width: 100vw;
        gap: 0.5rem;
        padding: 0 0.2rem;
    }
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    .table-area {
        padding: 0.5rem;
    }
    .table-modern {
        min-width: 320px;
    }
}
/* Estilos modernos para área do aluno - não altera lógica PHP */
:root{
    --accent:#8FCE00;
    --muted:#6c757d;
    --card-bg:#ffffff;
    --radius:10px;
    --shadow: 0 6px 18px rgba(22,28,45,0.08);
}

body{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color:#222;
    background:#f5f7fb;
}

.site-header{
    background: linear-gradient(90deg, #7ac500 0%, #93d500 100%);
    color: #fff;
    padding-top:18px;
    padding-bottom:18px;
}
.site-header img{max-height:70px}
.site-header h1{font-size:1.6rem;margin:0 0 0 12px;font-weight:700}

.page-body{background:var(--card-bg);border-radius:12px;padding:28px;margin-top:-24px;box-shadow:var(--shadow)}

.action-buttons .btn{margin-left:8px}

.table-modern{
    border-radius:8px;overflow:hidden;box-shadow:var(--shadow);background:#fff;border:0
}
.table-modern thead th{background:linear-gradient(180deg,#f7f9fb,#eef3f6);color:#333;border-bottom:0}
.table-modern tbody tr td{vertical-align:middle}

.revisou{width:44px;padding:6px;border-radius:6px;border:1px solid #ddd;text-align:center}

td[wm-gabarito]{font-weight:600}

/* Estrelas */
.avaliacao .fa{cursor:pointer;margin:2px}

@media (max-width:767px){
    .site-header h1{font-size:1.2rem;text-align:right}
    .action-buttons{display:flex;flex-wrap:wrap;gap:8px}
    .action-buttons .btn{flex:1}
}

/* Layout inspirado em lista_temporada2026 */
.header-teen{
    background: linear-gradient(135deg, rgba(35,57,93,0.97) 0%, rgba(191,161,129,0.92) 100%);
    color:#fff;
    padding:2rem 0;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
    position:relative;
    overflow:hidden;
}
.header-teen::before{
    content:'';
    position:absolute;inset:0;
    background:radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events:none;
}
.header-content{position:relative;z-index:1}
.logo-teen{max-width:200px;height:auto;margin-bottom:1rem;filter:drop-shadow(0 4px 8px rgba(0,0,0,0.2))}
.header-teen h1{font-size:2.1rem;font-weight:700;margin-bottom:0.35rem;text-shadow:2px 2px 4px rgba(0,0,0,0.2)}
.header-teen h3{font-size:1.2rem;font-weight:300;opacity:0.95}
.header-subtitle{font-size:1rem;margin-top:0.6rem;opacity:0.9}

.container-teen{
    max-width:1200px;
    margin:-1.2rem auto 2rem;
    padding:0 1rem;
    position:relative;
    z-index:10;
}

.filtros-section{
    background:#fff;
    padding:1.2rem;
    border-radius:12px;
    margin-bottom:1.5rem;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
}
.filtros-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:0.75rem;
    align-items:center;
    justify-content:flex-start;
}
.btn-filtro{
    padding:0.6rem 1.1rem;
    border-radius:8px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:0.5rem;
    font-weight:600;
    font-size:0.95rem;
    transition:all 0.3s ease;
    border:none;
    cursor:pointer;
}
.btn-filtro-primary{background:#23395d;color:#fff;}
.btn-filtro-success{background:#3a7d44;color:#fff;}
.btn-filtro-danger{background:#a94442;color:#fff;}
.btn-filtro-warning{background:#b48a1d;color:#fff;}
.btn-filtro:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.18);}

.table-modern{
    width:100%;
    min-width:720px;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    background:#fff;
    border:0;
}
.table-modern thead th{
    background:linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color:#fff;
    border:0;
    font-weight:700;
    font-size:0.95rem;
    padding:0.85rem;
}
.table-modern tbody td{
    padding:0.85rem;
    font-size:0.95rem;
    vertical-align:middle;
}
.table-modern tbody tr:nth-child(even){background:#f9fafb;}

.revisou{
    width:46px;
    height:38px;
    font-size:1rem;
    font-weight:700;
    border-radius:8px;
}

.pagination .page-link{background:#fff;color:#23395d;border:2px solid #23395d;border-radius:8px;font-weight:600;transition:all 0.2s ease;}
.pagination .page-link:hover{background:#23395d;color:#fff;}
.pagination .page-link.disabled{opacity:0.5;cursor:not-allowed;}

@media (max-width:900px){
    .table-modern{min-width:520px;}
    .header-teen h1{font-size:1.6rem;}
}
@media (max-width:767px){
    .header-teen{padding:1.4rem 0;}
    .header-teen h1{font-size:1.35rem;}
    .header-teen h3{font-size:1rem;}
    .logo-teen{max-width:150px;}
    .container-teen{margin:-1rem auto 1rem;padding:0 0.6rem;}
    .filtros-buttons{flex-direction:column;align-items:stretch;}
    .btn-filtro{width:100%;justify-content:center;font-size:0.9rem;}
    .table-modern{min-width:360px;}
    .table-modern thead th,.table-modern tbody td{font-size:0.85rem;padding:0.7rem;}
}
