body {
    font-family: "Vazirmatn", "Tahoma", "Segoe UI", sans-serif;
    text-align: right;
}

.card .display-6 {
    font-weight: 700;
}

.navbar-brand {
    letter-spacing: 0.02em;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
}

.stat-card {
    transition: box-shadow 0.15s ease;
}

.stat-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08) !important;
}

#ranking .table td {
    vertical-align: top;
}

#ranking .badge {
    font-weight: 500;
}

.score-badge {
    min-width: 6.5rem;
}

.missing-skill {
    border: 1px solid rgba(220, 53, 69, 0.25);
}

.table-danger .btn-outline-primary {
    background-color: #fff;
}

.messages-stack .alert {
    margin-bottom: 0.5rem;
}

.messages-stack .alert:last-child {
    margin-bottom: 0;
}

.form-control,
.form-select,
.btn {
    text-align: right;
}

.form-control::placeholder {
    text-align: right;
}

table th {
    white-space: nowrap;
}

footer code {
    direction: ltr;
    display: inline-block;
}

.alert code {
    direction: ltr;
}

.candidate-choice-card {
    transition: box-shadow 0.15s ease;
}

.quota-widget .quota-progress {
    height: 0.65rem;
    border-radius: 0.5rem;
    background-color: rgba(0, 0, 0, 0.06);
}

.quota-widget .progress-bar {
    border-radius: 0.5rem;
    transition: width 0.35s ease;
}

.quota-widget .quota-banner-normal {
    background-color: #f8f9fa;
}

.quota-widget .quota-cta {
    background-color: rgba(13, 110, 253, 0.04);
    border: 1px dashed rgba(13, 110, 253, 0.2);
}

.quota-widget .quota-cta-emphasized {
    background-color: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.45);
}

.quota-widget .quota-banner-critical {
    background-color: rgba(255, 193, 7, 0.15);
}

.quota-widget .quota-banner-exceeded {
    border-width: 1px;
}

.candidate-choice-card:active {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12) !important;
}

.candidate-section-card .form-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.repeatable-entry .btn.remove-entry {
    min-height: 2.25rem;
}

#add-work-entry,
#add-education-entry {
    min-height: 3rem;
}

@media (max-width: 576px) {
    .candidate-choice-card .btn-lg {
        font-size: 1rem;
    }
}
