/* static/styles.css */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Navigation Bar Styling */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    padding: 1rem 0;
}

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

.nav-link {
    color: #495057 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    margin: 0 0.25rem;
}

.nav-link:hover {
    background-color: #e9ecef;
    color: #212529 !important;
}

.nav-link.active {
    background-color: #0d6efd;
    color: white !important;
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #e9ecef;
}

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

.dashboard-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.dashboard-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dashboard-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Button Styling System */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-dashboard {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Primary Button - Blue */
.btn-primary {
    background-color: #0d6efd;
    color: white;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

/* Success Button - Green */
.btn-success {
    background-color: #198754;
    color: white;
}

.btn-success:hover {
    background-color: #157347;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
}

/* Warning Button - Yellow */
.btn-warning {
    background-color: #ffc107;
    color: #000;
}

.btn-warning:hover {
    background-color: #ffca2c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

/* Secondary Button - Gray */
.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5c636a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Table Action Buttons */
.btn-table-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

/* Action button styling for Dash tables */
.dash-table .action-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.dash-table .action-btn:hover {
    background-color: #218838;
    transform: translateY(-1px);
}

.dash-table .action-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* For actioned rows */
.dash-table tr:has(.action-btn:disabled) {
    background-color: #d4edda !important;
}

/* Page Headers */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-weight: 600;
    color: #212529;
}

/* Welcome Section */
.welcome-section {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* Utility Classes */
.text-muted-light {
    color: #8e99a4 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-card {
        margin-bottom: 1rem;
    }
    
    .nav-link {
        margin: 0.25rem 0;
    }
}

/* Dash app specific navigation styles */
.dash-app .nav-link {
    transition: all 0.3s ease;
}

.dash-app .nav-link:hover:not(.active) {
    background-color: rgba(0, 123, 255, 0.1) !important;
    color: #007bff !important;
    transform: translateY(-1px);
}

.dash-app .navbar-text {
    color: #6c757d !important;
}