/* Dashboard specific styles */
.dashboard {
    background-color: #f8f9fc;
    min-height: 100vh;
}

.card {
    border: 0 !important;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 0.25rem 2rem 0 rgba(58, 59, 69, 0.2) !important;
    transform: translateY(-2px);
}

/* Colored border cards */
.border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-danger {
    border-left: 0.25rem solid #e74a3b !important;
}

/* Timeline styles */
.timeline-item {
    position: relative;
    padding-left: 0;
}

.timeline-icon {
    font-size: 0.875rem;
    min-width: 40px;
    height: 40px;
}

/* Progress bars */
.progress {
    border-radius: 0.35rem;
    height: 8px;
}

.progress-bar {
    border-radius: 0.35rem;
}

/* Badges */
.badge {
    font-size: 0.75em;
    font-weight: 500;
}

/* Statistics cards */
.stats-card .card-body {
    padding: 1.5rem;
}

.stats-card .text-xs {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-card .h5 {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Table improvements */
.table-responsive {
    border-radius: 0.35rem;
}

.table th {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5a5c69;
    border-top: none;
    border-bottom: 1px solid #e3e6f0;
    padding: 0.75rem;
}

.table td {
    padding: 0.75rem;
    border-top: 1px solid #e3e6f0;
    font-size: 0.875rem;
}

.table tbody tr:hover {
    background-color: #f8f9fc;
}

/* Alert improvements */
.alert {
    border: 0;
    border-radius: 0.35rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* Icon improvements */
.fa-2x {
    opacity: 0.3;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .stats-card .h5 {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .timeline-icon {
        min-width: 35px;
        height: 35px;
    }
}

/* Empty state improvements */
.empty-state {
    padding: 3rem 2rem;
    text-align: center;
    color: #6c757d;
}

.empty-state i {
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Button improvements */
.btn-sm {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
}

.btn-outline-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Card header improvements */
.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    padding: 1rem 1.5rem;
}

.card-header h6 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Color utilities */
.text-gray-800 {
    color: #5a5c69 !important;
}

.bg-gray-100 {
    background-color: #f8f9fc !important;
}

/* Utility classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Link improvements */
a.text-decoration-none:hover {
    text-decoration: underline !important;
}

/* Loading animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.3s ease-out;
}

/* Print styles */
@media print {
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
    
    .badge {
        color: #000 !important;
        background: none !important;
        border: 1px solid #000 !important;
    }
}

/* Minimal Navbar Styles */
.navbar {
    padding: 0.5rem 0;
}

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

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

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

.navbar-nav .dropdown-menu {
    border: 0;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.navbar-nav .dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
}

/* Search input in navbar */
.navbar .form-control {
    border: 1px solid #dee2e6;
    background-color: white;
    color: #495057;
}

.navbar .form-control::placeholder {
    color: #6c757d;
}

.navbar .form-control:focus {
    background-color: white;
    color: #495057;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.navbar .btn-outline-light {
    border-color: #dee2e6;
    color: #495057;
}

.navbar .btn-outline-light:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}
