/**
 * Application Style
 * Mahmudul Hasan Arman - School Management System
 */

body,
button,
input,
select,
textarea,
.table,
.badge,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, 'Hind Siliguri', sans-serif;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Kalpurush', 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', sans-serif;
    background-color: #f4f6f9;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
}

/* Modern Card Styling */
.card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
}

/* Enhanced Table Styling */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom-width: 1px;
}

.table-bordered th,
.table-bordered td {
    border-color: #e2e8f0;
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* Form Controls */
.form-control,
.form-select {
    border-color: #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
}

.form-label {
    font-size: 0.875rem;
    color: #334155;
    margin-bottom: 0.35rem;
}

/* Badges & Buttons */
.badge {
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 0.35em 0.65em;
    border-radius: 6px;
}

.btn {
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.15s ease-in-out;
}

.btn-sm {
    font-size: 0.825rem;
    padding: 0.25rem 0.6rem;
}

/* Flash Messages */
.alert {
    border-radius: 8px;
    font-size: 0.95rem;
}