
/* Cores Personalizadas do Sistema */
:root {
    --bs-primary: #0c6f0d;
    --bs-primary-rgb: 12, 111, 13;
    --bs-secondary: #6c757d;
    --bs-success: #28a745;
    --bs-danger: #dc3545;
    --bs-warning: #ffc107;
    --bs-info: #17a2b8;
    --cor-icones: #0c6f0d;
}

/* Aplicar cor primária */
.btn-primary,
.badge.bg-primary {
    background-color: #0c6f0d !important;
}

/* bg-primary sem !important para permitir bg-opacity funcionar */
.bg-primary:not(.btn):not(.badge) {
    background-color: #0c6f0d;
}

.btn-primary {
    border-color: #0c6f0d !important;
}

.btn-primary:hover {
    background-color: #005b00 !important;
    border-color: #005b00 !important;
}

.btn-outline-primary {
    color: #0c6f0d !important;
    border-color: #0c6f0d !important;
}

.btn-outline-primary:hover {
    background-color: #0c6f0d !important;
    border-color: #0c6f0d !important;
    color: #fff !important;
}

.text-primary {
    color: #0c6f0d !important;
}

/* Cor específica para ícones */
.bi.text-primary,
i.text-primary {
    color: #0c6f0d !important;
}

.border-primary {
    border-color: #0c6f0d !important;
}

/* Gradientes personalizados */
.gradient-primary {
    background: linear-gradient(135deg, #0c6f0d 0%, #005100 100%) !important;
}

.hero-section {
    background: linear-gradient(135deg, #0c6f0d 0%, #004700 100%) !important;
}

/* Links */
a {
    color: #0c6f0d;
}

a:hover {
    color: #005b00;
}

/* Sidebar Admin */
.sidebar {
    background: linear-gradient(180deg, #0c6f0d 0%, #005100 100%) !important;
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Form Controls Focus */
.form-control:focus,
.form-select:focus {
    border-color: #0c6f0d !important;
    box-shadow: 0 0 0 0.25rem rgba(12, 111, 13, 0.25) !important;
}

/* Badges */
.badge.bg-primary {
    background-color: #0c6f0d !important;
}

/* Alerts */
.alert-primary {
    background-color: rgba(12, 111, 13, 0.1) !important;
    border-color: rgba(12, 111, 13, 0.2) !important;
    color: #004700 !important;
}

/* Top Bar - Usando configurações do banco de dados */
.top-bar {
    background-color: #11d479 !important;
    color: #ffffff !important;
}

.top-bar a {
    color: #ffffff !important;
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1 !important;
}

/* Hero Section - Banner de topo das páginas internas */
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #3ae43c 100%) !important;
    color: #ffffff !important;
}

.hero-gradient h1,
.hero-gradient .display-5,
.hero-gradient p,
.hero-gradient .lead {
    color: #ffffff !important;
}

