/* ---------- Global ---------- */
body {
    background: #f4f6f9;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 500;
}

.container {
    max-width: 1200px;
}

/* ---------- Cards ---------- */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.card-header {
    border-radius: 16px 16px 0 0 !important;
    font-weight: 600;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: white;
    padding: 1rem 1.25rem;
}

.card-header.bg-success {
    background: linear-gradient(135deg, #198754, #157347);
}

.card-header.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.card-header.bg-info {
    background: linear-gradient(135deg, #0dcaf0, #0aa5c0);
}

.card-header.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

/* ---------- Dashboard Stats ---------- */
.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-left: 6px solid #0d6efd;
}

.stat-card:hover {
    transform: scale(1.02);
}

.stat-card .stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0.2rem 0;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card.primary { border-left-color: #0d6efd; }
.stat-card.success { border-left-color: #198754; }
.stat-card.warning { border-left-color: #ffc107; }
.stat-card.danger { border-left-color: #dc3545; }

/* ---------- Tables ---------- */
.table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    color: #495057;
}

.table tbody tr:hover {
    background: #f1f4f8;
}

/* ---------- Forms ---------- */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #ced4da;
    padding: 0.6rem 1rem;
    transition: 0.2s;
}

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

.form-label {
    font-weight: 500;
    color: #212529;
}

.required-star {
    color: #dc3545;
    margin-left: 4px;
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 30px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,110,253,0.3);
}

.btn-success {
    background: linear-gradient(135deg, #198754, #157347);
    border: none;
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25,135,84,0.3);
}

.btn-outline-secondary:hover {
    background: #e9ecef;
}

/* ---------- File Upload Preview ---------- */
.file-preview {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
}

.file-preview .badge {
    margin-right: 0.25rem;
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    background: white;
    border-top: 1px solid #dee2e6;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .stat-card .stat-number {
        font-size: 1.8rem;
    }
    .card-header {
        font-size: 1rem;
    }
}
/* Gallery */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}
.gallery-img:hover {
    transform: scale(1.03);
}

/* Sponsor logos */
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100px;
    transition: 0.3s;
}
.logo-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.logo-item img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(0%);
}