:root {
    --primary-color: #1C2B57;
    --secondary-color: #00DF5E;
    --danger-color: #B3261E;
    --bg-light: #f9f9f9;
    --text-dark: #1e1e1e;
    --border-color: #ddd;
    --font-family: 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: #fff;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

.fix-fixed {
    padding: 30px;
}

.ibox {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.ibox-head {
    background-color: var(--primary-color);
    color: white;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;
}

.filtros-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    flex-wrap: wrap;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.filtros-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filtro-input {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    min-width: 160px;
    transition: border-color 0.3s;
}

.filtro-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-buscar {
    min-height: 8px;
    padding: 4px 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-limpar {
    min-height: 20px;
    padding: 6px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.new {
    margin-top: 0px !important;
    min-height: 20px;
    padding: 4px 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}


.ibox-body {
    padding: 24px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.table thead th {
  border-bottom: 1px solid #ddd !important;
  border-top: 0;
  font-weight: 700;
  background-color: var(--primary-color);
  color: white;
}

.paginationcrud {
    display: flex;
    gap: 5px;
    padding: 20px;
    list-style: none;
}

.paginationcrud .page-item {
    display: inline-block;
}

.paginationcrud .page-link {
    padding: 8px 12px;
    background: #eee;
    border-radius: 6px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
}

.paginationcrud .page-item.disabled .page-link {
    background: #ddd;
    pointer-events: none;
    color: #888;
}

.paginationcrud .page-item.active .page-link {
    background: var(--primary-color);
    color: white;
}

.paginationcrud .page-link:hover {
    background: #ccc;
}

.btn-default,
.btn-default2 {
    border: none;
    background: #f1f1f1;
    color: #fffdfd;
    padding: 6px 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-default i,
.btn-default2 i {
    color: var(--primary-color);
    /* azul, altere para a cor desejada */
}


.btn-edit:hover {
    background-color: var(--primary-color) !important;
    ;
    color: white !important;
}


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

.btn-default2:hover i {
    color: white;
}

.btn-default:hover i {
    color: white;
}

.modal-content {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.modal-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary-custom:hover {
    background-color: #00DF5E; /* tom mais escuro para hover */
}


@media (max-width: 768px) {
    .filtros-container {
        flex-direction: column;
        gap: 12px;
    }

    .filtros-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .paginationcrud {
        justify-content: center;
        flex-wrap: wrap;
    }
}