.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s;
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-card h3 {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}
.stat-card .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}
.stat-card.verified { border-left-color: #10b981; }
.stat-card.pending { border-left-color: #f59e0b; }
.stat-card.salary { border-left-color: #6366f1; }

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }

.action-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
}
.btn-edit-salary { background: #6366f1; }
.btn-edit-salary:hover { background: #4f46e5; }
.btn-edit-date { background: #f59e0b; }
.btn-edit-date:hover { background: #d97706; }
.btn-edit-school { background: #8b5cf6; }
.btn-edit-school:hover { background: #7c3aed; }
.btn-delete-record { background: #f43f5e; }
.btn-delete-record:hover { background: #e11d48; }

.table-responsive {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    margin-top: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    background: #f8fafc;
    padding: 1rem;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}
.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover { background: #f1f5f9; }
.filter-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    position: relative;
}
.photo-modal-content {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.photo-item {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.action-buttons {
    display: flex;
    gap: 0.3rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem !important;
    }
    .page-header h1 {
        font-size: 1.5rem !important;
    }
    .export-buttons {
        margin-top: 1.5rem;
        flex-direction: column;
        width: 100%;
    }
    .btn-export {
        width: 100%;
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .stat-card {
        padding: 1rem;
    }
    .stat-card .value {
        font-size: 1.25rem;
    }
    .filter-card form {
        grid-template-columns: 1fr !important;
    }
    .data-table th, .data-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    .action-buttons {
        flex-direction: column;
    }
    .action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
