.page-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:24px;

}

.page-actions{

    display:flex;

    gap:12px;

    align-items:center;

}

.page-header h1{

    margin:0;

}

.page-header p{

    margin-top:6px;

    color:#777;

}

.card{

    background:#fff;

    border-radius:12px;

    padding:20px;

    box-shadow:0 2px 8px rgba(0,0,0,.08);

}

.tabela-admin{

    width:100%;

    border-collapse:collapse;

}

.tabela-admin th,
.tabela-admin td{

    padding:14px;

    border-bottom:1px solid #ececec;

    text-align:left;

    vertical-align:middle;

}

.status{

    padding:4px 10px;

    border-radius:20px;

    font-size:.85rem;

    font-weight:600;

}

.status.ativo{

    background:#dff6e4;

    color:#1f7a39;

}

.status.inativo{

    background:#fde2e2;

    color:#b42318;

}

.acoes{

    display:flex;

    gap:12px;

}

.acoes a{

    text-decoration:none;

}

.sem-registros{

    text-align:center;

    padding:40px;

    color:#777;

}


/* ==========================================
   EVENTOS
   ========================================== */

.evento-nome{

    font-weight:600;

    color:#111;

}

.evento-data{

    white-space:nowrap;

    font-weight:500;

}

.evento-local{

    min-width:180px;

}

.evento-endereco{

    margin-top:4px;

    color:#777;

    font-size:.85rem;

    line-height:1.4;

    max-width:280px;

}

.evento-horarios{

    margin-top:5px;

    color:#777;

    font-size:.85rem;

    white-space:nowrap;

}

.evento-midias{

    display:flex;

    flex-direction:column;

    gap:5px;

}

.evento-youtube{

    color:#d00000;

    text-decoration:none;

    font-weight:600;

}

.evento-youtube:hover{

    text-decoration:underline;

}

.evento-fotos{

    color:#777;

    font-size:.85rem;

    white-space:nowrap;

}


/* ==========================================
   FORMULÁRIO DE EVENTO
   ========================================== */

.form-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}

.form-group{

    display:flex;

    flex-direction:column;

}

.form-group-full{

    grid-column:1 / -1;

}

.form-group label{

    margin-bottom:8px;

    font-weight:600;

    color:#333;

}

.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    box-sizing:border-box;

    padding:11px 12px;

    border:1px solid #dcdcdc;

    border-radius:8px;

    font-size:15px;

    font-family:inherit;

    background:#fff;

    transition:
        border-color .2s,
        box-shadow .2s;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

    outline:none;

    border-color:#00027D;

    box-shadow:0 0 0 2px rgba(0,2,125,.08);

}

.form-group textarea{

    resize:vertical;

    min-height:140px;

}

.form-group small{

    margin-top:6px;

    color:#777;

    font-size:.85rem;

    line-height:1.4;

}

.checkbox-group{

    margin-top:4px;

}

.checkbox-group label{

    display:flex;

    flex-direction:row;

    align-items:center;

    gap:8px;

    cursor:pointer;

    font-weight:600;

}

.checkbox-group input[type="checkbox"]{

    width:18px;

    height:18px;

    margin:0;

}

.form-actions{

    display:flex;

    justify-content:flex-end;

    gap:12px;

    margin-top:28px;

    padding-top:20px;

    border-top:1px solid #ececec;

}


/* ==========================================
   RESPONSIVO
   ========================================== */

@media (max-width:768px){

    .page-header{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .page-actions{

        width:100%;

    }

    .tabela-admin{

        min-width:900px;

    }

    .card{

        overflow-x:auto;

    }

    .form-grid{

        grid-template-columns:1fr;

    }

    .form-group-full{

        grid-column:auto;

    }

    .form-actions{

        flex-direction:column-reverse;

    }

}