/**
 * IAIE Portal - Custom Styles
 * Islamic Association of Iranian Engineers
 */

/* General */
body {
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    font-size: 0.9rem;
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    font-size: 1.1rem;
}

.nav-link {
    font-size: 0.85rem;
}

/* Cards */
.card {
    border-radius: 0.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Tables */
.table th {
    font-size: 0.85rem;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
    font-size: 0.85rem;
}

/* Badges */
.badge {
    font-weight: 500;
    font-size: 0.75rem;
}

/* Stats Cards */
.text-bg-primary { background-color: #0d6efd !important; color: #fff; }
.text-bg-success { background-color: #198754 !important; color: #fff; }
.text-bg-info { background-color: #0dcaf0 !important; color: #000; }
.text-bg-warning { background-color: #ffc107 !important; color: #000; }

/* Forms */
.form-label {
    font-weight: 500;
    font-size: 0.85rem;
}

.form-check-label {
    font-size: 0.9rem;
}

/* Pagination */
.page-link {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
}

/* Footer */
footer {
    font-size: 0.8rem;
}

/* Login page */
.card.shadow {
    border: none;
}

/* RTL adjustments */
.me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
.me-auto { margin-left: auto !important; margin-right: 0 !important; }

/* Responsive */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .table {
        font-size: 0.8rem;
    }
}

/* Loading state */
.btn-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Alert */
.alert {
    font-size: 0.85rem;
}

/* OTP input */
.letter-spacing-wide {
    letter-spacing: 0.5em;
    font-size: 1.5rem;
    font-weight: bold;
}
