/* public/css/style.css */
/* Estilos generales del sistema */

:root {
    --primary-color: #1e3a23;
    --secondary-color: #fbbf24;
    --danger-color: #ef4444;
    --success-color: #10b981;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    padding: 1rem 1.5rem;
}

/* Buttons */
.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #000;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #000;
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background-color: var(--primary-color);
    color: white;
}

.table-hover tbody tr:hover {
    background-color: rgba(251, 191, 36, 0.1);
}

/* Badges */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
}

.input-group-text {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Sidebar */
.sidebar {
    min-height: 100vh;
    background-color: var(--primary-color);
    color: white;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
    margin-bottom: 0.25rem;
    transition: all 0.3s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: var(--secondary-color);
    color: #000;
}

.sidebar .nav-link i {
    width: 20px;
    margin-right: 10px;
}

/* Dashboard Cards */
.stat-card {
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-card .icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
}
