@font-face {
    font-family: "Vazirmatn";
    src: url("fonts/Vazirmatn.woff") format("truetype");
}

:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --text-color: #212529;
    --muted-color: #6c757d;
    --bg-soft: #f8f9fa;
    --card-radius: 1.25rem;
    --transition: all .25s ease;
    --seminar-color: #198754;
    --seminar-dark: #146c43;
}

html,
body {
    font-family: Vazirmatn, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-soft);
}


.choice-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .2s ease;
}

.choice-btn {
    min-height: 70px;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    align-content: center;
}

.choice-btn i {
    margin-left: .5rem;
}

a {
    text-decoration: none;
}

.navbar-brand {
    font-size: 1rem;
}

.card {
    border-radius: var(--card-radius);
}

.rounded-4 {
    border-radius: 1rem !important;
}

.festival-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.25);
}

.form-control,
.form-select,
.input-group-text,
.btn {
    border-radius: .8rem;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
    border-color: rgba(13, 110, 253, .5);
}

.btn-primary {
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.text-start {
    direction: ltr;
    text-align: left !important;
}

.alert {
    border-radius: .85rem;
}

@media (max-width: 576px) {
    .card-body {
        padding: 1.25rem !important;
    }

    .festival-icon {
        width: 64px;
        height: 64px;
        font-size: 1.4rem;
    }
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 1rem;
    border: 1px solid #e9ecef;
}

.step-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 1 1 220px;
    opacity: .65;
    transition: all .25s ease;
}

.step-item.active {
    opacity: 1;
}

.step-circle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #dee2e6;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-item.active .step-circle {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 8px 20px rgba(13, 110, 253, .18);
}

.step-label {
    font-weight: 600;
    color: #495057;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #eef4ff;
    color: #0d6efd;
    border: 1px solid #cfe2ff;
    padding: .6rem .9rem;
    border-radius: 999px;
    font-weight: 700;
}

.step-badge span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.preview-photo {
    width: 140px;
    height: 180px;
    object-fit: cover;
    background: #fff;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

@media (max-width: 768px) {
    .step-item {
        flex: 1 1 100%;
    }

    .step-label {
        font-size: .95rem;
    }
}

.step-item.completed {
    opacity: 1;
}

.step-item.completed .step-circle {
    background: #198754;
    color: #fff;
    box-shadow: 0 8px 20px rgba(25, 135, 84, .18);
}

.file-upload-card {
    background: #fff;
    transition: all .25s ease;
}

.file-upload-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}

.uploaded-file-box {
    background: #f8f9fa;
    border: 1px dashed #ced4da;
    border-radius: 1rem;
    padding: .85rem 1rem;
}

.seminar-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--seminar-color), var(--seminar-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 25px rgba(13, 110, 50, 0.25);
}

.success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(25, 135, 84, .18);
}

.applicant-badge-bar {
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 14px 20px;
}

.rules-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 14px;
}

.file-info-badge {
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #e2e8f0;
    border-radius: 6px;
    color: #334155;
    margin-top: 6px;
}

.status-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .08);
}

.success-header {
    padding: 36px 24px;
    color: #fff;
    text-align: center;
    background: #087f5b;
}

.success-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    color: #087f5b;
    background: #fff;
    font-size: 34px;
}

.info-label {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: .88rem;
}

.info-value {
    color: #0f172a;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.info-box {
    height: 100%;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.file-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.file-content {
    min-width: 0;
}

.file-name {
    color: #334155;
    overflow-wrap: anywhere;
}

.file-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
}

.empty-state {
    padding: 38px 20px;
    text-align: center;
}

.empty-state-icon {
    color: #94a3b8;
    font-size: 52px;
}

.admin-note {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {

    .success-header {
        padding: 28px 18px;
    }

    .file-box {
        align-items: stretch;
        flex-direction: column;
    }

    .file-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .file-actions .btn {
        flex: 1;
    }
}

.card-custom-dashbord {
    border: 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.card-header-custom-dashbord {
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 16px 16px 0 0 !important;
}

.meta-box-dashbord {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    height: 100%;
}

.meta-label-dashbord {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 4px;
}

.meta-value-dashbord {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}

.doc-card-dashbord {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #ffffff;
}

.badge-status-dashbord {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 8px;
    font-weight: 600;
}