/* Estilos gerais */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
}

main {
    flex: 1;
}

/* Ajustes para cabeçalhos */
.page-header {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

/* Estilos para cards */
.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Estilos para tabelas */
.table th {
    background-color: #f1f5f9;
}

.table-hover tbody tr:hover {
    background-color: #f1f7ff;
}

/* Cores de status */
.status-ok {
    color: #198754;
}

.status-alerta {
    color: #fd7e14;
}

.status-critico {
    color: #dc3545;
}

/* Dashboard */
.dashboard-card {
    text-align: center;
    transition: transform 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Formulários */
.form-required::after {
    content: ' *';
    color: #dc3545;
}

/* Detalhes de itens */
.item-details dt {
    font-weight: bold;
}

.item-details dd {
    margin-bottom: 1rem;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .dashboard-icon {
        font-size: 2rem;
    }
}

/* Estilos para o Select2 */
.select2-container--bootstrap-5 .select2-selection {
    min-height: 38px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
    background-color: #0d6efd;
    color: white;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.select2-search--dropdown .select2-search__field {
    padding: 0.5rem;
    border-radius: 0.25rem;
} 