/* ============================================
   DASHBOARD STYLES
   ============================================ */

.dashboard-body {
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   NAVBAR
   ============================================ */
.bg-proskoly {
    background: linear-gradient(135deg, var(--proskoly-blue) 0%, var(--proskoly-pink) 100%);
}

.navbar-logo {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 8px 16px;
    margin: 0 4px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.dashboard-main {
    flex: 1;
    padding: 20px 0;
}

/* ============================================
   STATS CARDS
   ============================================ */
.stats-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stats-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stats-icon.bg-primary {
    background: linear-gradient(135deg, var(--proskoly-blue), #0056b3);
}

.stats-icon.bg-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.stats-icon.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.stats-icon.bg-info {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
}

.stats-icon.bg-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.stats-icon.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.stats-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.stats-card h6 {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ============================================
   FOOTER
   ============================================ */
.dashboard-footer {
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 20px 0;
    margin-top: auto;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--box-shadow-lg);
}

.card-header {
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
    padding: 16px 20px;
}

.card-body {
    padding: 20px;
}

/* ============================================
   FILTERS
   ============================================ */
.filter-card {
    background: linear-gradient(135deg, var(--proskoly-blue) 0%, var(--proskoly-pink) 100%);
    color: white;
    margin-bottom: 30px;
}

.filter-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.filter-card label {
    color: white;
    font-weight: 500;
}

.filter-card .form-control {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.filter-card .btn-light {
    background: white;
    border: none;
    font-weight: 600;
    padding: 10px 24px;
}

.filter-card .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   SCHOOL LIST
   ============================================ */
.school-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.school-item:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-2px);
}

.school-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.school-licence {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 12px;
}

.school-activity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.activity-badge.green {
    background: #d1f4e0;
    color: #198754;
}

.activity-badge.yellow {
    background: #fff3cd;
    color: #cc8800;
}

.activity-badge.red {
    background: #f8d7da;
    color: #dc3545;
}

.activity-icon {
    font-size: 18px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-proskoly {
    background: linear-gradient(135deg, var(--proskoly-blue) 0%, var(--proskoly-pink) 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-proskoly:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 0, 126, 0.4);
    color: white;
}

/* ============================================
   UTILITIES
   ============================================ */
.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.page-subtitle {
    color: #6c757d;
    font-size: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .school-item {
        padding: 16px;
    }
    
    .school-name {
        font-size: 16px;
    }
    
    .page-title {
        font-size: 24px;
    }
}
