.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.2rem;
}

.navbar .nav-link {
    padding: 0.6rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
}

.navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.dropdown-menu .dropdown-item:active {
    background-color: var(--bs-primary);
}

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] .card {
    background-color: #1e1e1e;
    border: 1px solid #333;
}

[data-bs-theme="dark"] .card:hover {
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .table {
    --bs-table-bg: #1e1e1e;
    --bs-table-color: #e0e0e0;
    --bs-table-striped-bg: #252525;
    --bs-table-hover-bg: #2a2a2a;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #2a2a2a !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #e0e0e0 !important;
}

[data-bs-theme="dark"] .border {
    border-color: #333 !important;
}

[data-bs-theme="dark"] .border-top {
    border-color: #333 !important;
}

[data-bs-theme="dark"] .kanban-column {
    background: #1e1e1e;
}

[data-bs-theme="dark"] .kanban-card {
    background: #2a2a2a;
    border-color: #444;
}

[data-bs-theme="dark"] .list-group-item {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-color: #333;
}

[data-bs-theme="dark"] .modal-content {
    background-color: #1e1e1e;
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #1e1e1e;
    border-color: #333;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #e0e0e0;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: #333;
}

.stat-card {
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: #fff;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.3;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table td {
    vertical-align: middle;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
}

.badge {
    font-weight: 500;
    font-size: 0.8rem;
}

.kanban-column {
    min-height: 400px;
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
}

.kanban-column h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

.kanban-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.kanban-card:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.kanban-card .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.kanban-card .card-meta {
    font-size: 0.75rem;
    color: #6c757d;
}

.vaga-card {
    width: 100%;
    min-height: 100px;
    border-radius: 0.5rem;
    padding: 1rem;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.vaga-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vaga-card.livre {
    background: linear-gradient(135deg, #198754, #20c997);
}

.vaga-card.ocupada {
    background: linear-gradient(135deg, #dc3545, #e35d6a);
}

.vaga-card.reservada {
    background: linear-gradient(135deg, #ffc107, #ffcd39);
    color: #212529;
}

.vaga-card.manutencao {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
}

.result-bar {
    height: 30px;
    border-radius: 4px;
    transition: width 0.5s;
    min-width: 2px;
}

.painel-mercadoria .card {
    border-left: 4px solid transparent;
}

.painel-mercadoria .card.recebido {
    border-left-color: #ffc107;
}

.painel-mercadoria .card.notificado {
    border-left-color: #0d6efd;
}

.modal-confirm .modal-header {
    border-bottom: none;
}

.modal-confirm .modal-footer {
    border-top: none;
}

.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.alert {
    border: none;
    border-radius: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .navbar .nav-link {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .kanban-column {
        min-height: 200px;
        margin-bottom: 1rem;
    }
}

.btn-marrom {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6f4e37;
    --bs-btn-border-color: #6f4e37;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5c3317;
    --bs-btn-hover-border-color: #5c3317;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #46260f;
    --bs-btn-active-border-color: #46260f;
}
