/* General body styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    min-height: 100vh;
}

/* Custom container */
.container-custom {
    max-width: 1200px;
}

/* Card improvements */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-header {
    border-bottom: 1px solid rgba(0,0,0,0.125);
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

/* Button styles */
.btn-custom {
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 94, 215, 0.4);
}

/* Table styles */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: #0d6efd;
    color: white;
    border: none;
    font-weight: 500;
}

.table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Dashboard styles */
.dashboard-stats {
    margin-bottom: 30px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    color: white;
    margin-bottom: 20px;
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 2rem;
    margin: 10px 0;
}

/* Alert improvements */
.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Form improvements */
.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: #343a40;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer a {
    color: #ffc107;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-stats .col-md-3 {
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .table-responsive {
        margin-bottom: 20px;
    }
}

/* Animation for alerts */
@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert {
    animation: slideIn 0.3s ease-out;
}

/* Badge customizations */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}