.historico-page{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.toolbar{

    background:#FFF;

    border-radius:14px;

    padding:20px;

    box-shadow:0 4px 12px rgba(0,0,0,.05);

}

.filtros{

    display:grid;

    grid-template-columns:220px 220px 220px 1fr;

    gap:18px;

}

.campo{

    display:flex;

    flex-direction:column;

}

.campo label{

    margin-bottom:8px;

    font-size:13px;

    color:#6B7280;

    font-weight:600;

}

.campo select,

.campo input{

    height:42px;

    border:1px solid #D1D5DB;

    border-radius:10px;

    padding:0 14px;

    font-size:14px;

}

.acoes-toolbar{

    display:flex;

    justify-content:flex-end;

    margin-top:20px;

}

#btnLimpar{

    background:#EF4444;

    color:white;

    border:none;

    border-radius:10px;

    padding:12px 18px;

    cursor:pointer;

}

#btnLimpar:hover{

    background:#DC2626;

}

.tabela-card{

    background:white;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 4px 12px rgba(0,0,0,.05);

}

.titulo-tabela{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 24px;

    border-bottom:1px solid #ECECEC;

}

.titulo-tabela h3{

    font-size:20px;

}

.titulo-tabela span{

    color:#6B7280;

}

table{

    width:100%;

    border-collapse:collapse;

}

th{

    background:#F8FAFC;

    padding:14px;

    text-align:left;

    font-size:13px;

    color:#64748B;

}

td{

    padding:15px;

    border-top:1px solid #ECECEC;

    font-size:14px;

}

tbody tr:hover{

    background:#F9FAFB;

}

.badge{

    padding:6px 12px;

    border-radius:20px;

    font-size:12px;

    font-weight:600;

}

.badge.ativo{

    background:#DCFCE7;

    color:#166534;

}

.badge.cancelado{

    background:#FEE2E2;

    color:#991B1B;

}

.btn-cancelar{

    background:#EF4444;

    color:white;

    border:none;

    border-radius:8px;

    padding:8px 12px;

    cursor:pointer;

}

.btn-cancelar:hover{

    background:#DC2626;

}

@media(max-width:1200px){

    .filtros{

        grid-template-columns:1fr 1fr;

    }

}

@media(max-width:768px){

    .filtros{

        grid-template-columns:1fr;

    }

}