/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #dc3545;
    --secondary: #c82333;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.card-header {
    border: none;
    font-weight: 700;
    padding: 20px;
}

/* Forms */
.form-control,
.form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

/* Tables */
.table {
    background: white;
}

.table thead {
    background: #f8f9fa;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}

.table tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: #f5f7fa;
}

/* Badges */
.badge {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    transition: all 0.3s ease;
    color: #555;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border: none;
    color: white;
    font-weight: 700;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-bottom: 20px;
    }

    .container-fluid {
        padding: 10px;
    }

    .card {
        margin-bottom: 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Status Colors */
.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #cce5ff;
    color: #004085;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Utility Classes */
.text-primary {
    color: #dc3545 !important;
}

.text-secondary {
    color: #c82333 !important;
}

.bg-light-primary {
    background-color: rgba(220, 53, 69, 0.1);
}

.shadow-sm-primary {
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.2);
}

.gradient-primary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}
