:root {
    --gov-primary: #1e3a8a;
    --gov-primary-hover: #1e40af;
    --gov-secondary: #0d9488;
    --gov-accent: #b45309;
    --gov-bg: #f8fafc;
    --gov-surface: #ffffff;
    --gov-border: #e2e8f0;
    --gov-text-dark: #0f172a;
    --gov-text-muted: #64748b;
}

html {
    font-size: 14px;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--gov-bg);
    color: var(--gov-text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Typography Scale Calibration */
h1, .h1 { font-size: 1.55rem; }
h2, .h2 { font-size: 1.35rem; }
h3, .h3 { font-size: 1.2rem; }
h4, .h4 { font-size: 1.08rem; }
h5, .h5 { font-size: 0.98rem; }
h6, .h6 { font-size: 0.88rem; }

.display-1 { font-size: 2.4rem; }
.display-2 { font-size: 2.1rem; }
.display-3 { font-size: 1.85rem; }
.display-4 { font-size: 1.6rem; }
.display-5 { font-size: 1.35rem; }
.display-6 { font-size: 1.15rem; }

.fs-1 { font-size: 1.55rem !important; }
.fs-2 { font-size: 1.35rem !important; }
.fs-3 { font-size: 1.2rem !important; }
.fs-4 { font-size: 1.08rem !important; }
.fs-5 { font-size: 0.95rem !important; }
.fs-6 { font-size: 0.85rem !important; }

/* Form Controls & Tables Calibration */
.form-control, .form-select {
    font-size: 0.88rem;
    padding: 0.45rem 0.75rem;
}

.form-label {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.btn {
    font-size: 0.85rem;
}

.btn-sm {
    font-size: 0.78rem;
    padding: 0.28rem 0.65rem;
}

.btn-lg {
    font-size: 0.95rem;
    padding: 0.55rem 1.1rem;
}

.badge {
    font-size: 0.75rem;
}

.table {
    font-size: 0.84rem;
}

.table th {
    font-size: 0.82rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Administrative Topbar (Luxury Modern Academic Glassmorphism) */
.gov-topbar {
    background: linear-gradient(90deg, #061330 0%, #0d2252 35%, #153375 70%, #1e40af 100%);
    color: #ffffff;
    padding: 0.65rem 2rem;
    box-shadow: 0 4px 25px rgba(3, 10, 28, 0.28), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.gov-logo-container {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #091326 0%, #0d1e3d 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gov-logo-container:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, #0f1f3d 0%, #172a52 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(56, 189, 248, 0.4);
}

.gov-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(8, 8, 8, 0.12));
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.topbar-main-title {
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.badge-org-pill {
    background: rgba(245, 158, 11, 0.18);
    color: #fef08a;
    border: 1px solid rgba(251, 191, 36, 0.35);
    padding: 0.22rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-version-pill {
    background: rgba(56, 189, 248, 0.18);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 0.22rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
}

.topbar-sub-text {
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.separator-dot {
    color: #38bdf8;
    font-size: 0.85rem;
}

.gov-user-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 0.42rem 0.85rem 0.42rem 0.65rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.gov-user-card::after {
    display: none !important;
}

.gov-user-card:hover, .gov-user-card[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(56, 189, 248, 0.55);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.gov-user-dropdown-panel {
    min-width: 310px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18), 0 0 1px rgba(15, 23, 42, 0.2);
    margin-top: 10px !important;
    animation: fadeInSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gov-user-avatar-lg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.user-detail-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
}

.user-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
}

.detail-label {
    color: #64748b;
    display: flex;
    align-items: center;
}

.detail-val {
    color: #1e293b;
    font-weight: 600;
}

.gov-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.3);
    flex-shrink: 0;
}

.user-info-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-fullname {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.user-role-badge {
    color: #7dd3fc;
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.3;
}

.role-separator {
    color: rgba(255, 255, 255, 0.35);
    margin: 0 2px;
}

.btn-topbar-action {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    transition: all 0.25s ease;
}

.gov-topbar i.bi,
.gov-topbar [class^="bi-"],
.gov-topbar [class*=" bi-"] {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.gov-topbar .btn-topbar-action i,
.gov-topbar .btn-topbar-logout i {
    margin-left: 0.45rem;
}

.btn-topbar-action:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25) 0%, rgba(2, 132, 199, 0.45) 100%);
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transform: translateY(-1px);
}

.btn-topbar-logout {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 12px;
    color: #fca5a5;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.5rem 1.05rem;
    transition: all 0.25s ease;
}

.btn-topbar-logout:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45);
    transform: translateY(-1px);
}

/* Wizard Progress Bar */
.wizard-steps-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2.5rem;
}

.wizard-steps-nav::before {
    content: '';
    position: absolute;
    top: 22px;
    right: 35px;
    left: 35px;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
}

.wizard-step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.wizard-circle {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s ease;
}

.wizard-step-item.active .wizard-circle {
    background-color: var(--gov-primary);
    border-color: var(--gov-primary);
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(30, 58, 138, 0.18);
}

.wizard-step-item.completed .wizard-circle {
    background-color: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.wizard-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.wizard-step-item.active .wizard-label {
    color: var(--gov-primary);
    font-weight: 700;
}

.wizard-step-item.completed .wizard-label {
    color: #059669;
}

/* Administrative Form Card */
.admin-card {
    background: var(--gov-surface);
    border: 1px solid var(--gov-border);
    border-radius: 14px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    overflow: hidden;
}

.admin-card-header {
    background: #ffffff;
    border-bottom: 2px solid #f1f5f9;
    padding: 1.25rem 1.75rem;
}

.admin-card-body {
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 0.4rem;
}

.form-control, .form-select {
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    font-size: 0.92rem;
    transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gov-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.form-text {
    font-size: 0.8rem;
    color: #94a3b8;
}

.btn-gov {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0d9488 100%);
    color: #ffffff;
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.btn-gov::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: 0.6s ease;
}

.btn-gov:hover {
    background: linear-gradient(135deg, #0b1120 0%, #1e40af 50%, #0f766e 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35), 0 3px 8px rgba(15, 23, 42, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-gov:hover::before {
    left: 140%;
}

.btn-gov i {
    transition: transform 0.25s ease;
}

.btn-gov:hover i {
    transform: translateX(-4px);
}

.btn-gov-secondary {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

.btn-gov-secondary:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* Sidebar Styling */
.sidebar-menu {
    background: #ffffff;
    border: 1px solid var(--gov-border);
    border-radius: 12px;
    padding: 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s;
    margin-bottom: 0.25rem;
}

.sidebar-link:hover {
    background-color: #f1f5f9;
    color: var(--gov-primary);
}

.sidebar-link.active {
    background-color: #eff6ff;
    color: var(--gov-primary);
    border-right: 4px solid var(--gov-primary);
}

.sidebar-link i {
    font-size: 1.15rem;
}

/* ========================================================
   ENHANCED WIZARD STEPPER & HERO BANNER (SOFT EXECUTIVE THEME)
   ======================================================== */
.wizard-hero-banner {
    background: linear-gradient(135deg, #091a3e 0%, #172554 45%, #1e3a8a 100%);
    border-color: rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.wizard-banner-decor-circle-1 {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    top: -100px;
    left: -50px;
    pointer-events: none;
}

.wizard-banner-decor-circle-2 {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
    bottom: -80px;
    right: 30%;
    pointer-events: none;
}

.wizard-hero-icon-box {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0.45) 100%);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
}

.wizard-progress-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    min-width: 200px;
}

.wizard-progress-track {
    border-radius: 10px;
    overflow: hidden;
}

/* Stepper Card & Grid */
.wizard-stepper-card {
    background: #ffffff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    padding: 0.75rem;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
}

.wizard-stepper-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.6rem;
}

@media (max-width: 1199.98px) {
    .wizard-stepper-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .wizard-stepper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wizard-step-item {
    background-color: #fbfcfe;
    border: 1.5px solid #edf2f7;
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.wizard-step-item:hover:not(.step-locked) {
    background-color: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.06);
}

/* Step Active State */
.wizard-step-item.step-active {
    background: linear-gradient(135deg, #f0f7ff 0%, #eff6ff 100%);
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.09);
}

.wizard-step-item.step-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 15%;
    left: 15%;
    height: 3px;
    background: #3b82f6;
    border-radius: 3px 3px 0 0;
}

/* Step Completed State */
.wizard-step-item.step-completed {
    background-color: #f8fbf9;
    border-color: #d1fae5;
}

.wizard-step-item.step-completed:hover {
    background-color: #f0fdf4;
    border-color: #86efac;
}

/* Step Available State (Unlocked but not current) */
.wizard-step-item.step-available {
    background-color: #ffffff;
    border-color: #e2e8f0;
}

.wizard-step-item.step-available:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

/* Step Locked State */
.wizard-step-item.step-locked {
    background-color: #fbfcfe;
    border: 1px dashed #e2e8f0;
    opacity: 0.72;
    cursor: pointer;
}

.wizard-step-item.step-locked:hover {
    background-color: #fffbeb;
    border-color: #fde68a;
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Number Bubble */
.step-num-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.step-active .step-num-bubble {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}

.step-completed .step-num-bubble {
    background-color: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
}

.step-available .step-num-bubble {
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.step-locked .step-num-bubble {
    background-color: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
}

/* Step Text Meta */
.step-text-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.step-label-tiny {
    font-size: 0.68rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.2;
}

.step-active .step-label-tiny {
    color: #2563eb;
    font-weight: 700;
}

.step-completed .step-label-tiny {
    color: #059669;
}

.step-available .step-label-tiny {
    color: #64748b;
}

.step-locked .step-label-tiny {
    color: #94a3b8;
}

.step-title-main {
    font-size: 0.82rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.35;
}

.step-active .step-title-main {
    color: #1e3a8a;
    font-weight: 800;
}

.step-completed .step-title-main {
    color: #166534;
    font-weight: 700;
}

.step-available .step-title-main {
    color: #334155;
    font-weight: 600;
}

.step-locked .step-title-main {
    color: #94a3b8;
    font-weight: 500;
}

/* Soft Palette Theme Variables */
:root {
    --home-bg-soft: #f8fafc;
    --home-card-bg: #ffffff;
    --home-border-subtle: #e9eef5;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-muted: #94a3b8;
    
    /* Soft Accent Colors */
    --soft-blue: #3b82f6;
    --soft-blue-bg: #eff6ff;
    --soft-emerald: #10b981;
    --soft-emerald-bg: #ecfdf5;
    --soft-amber: #f59e0b;
    --soft-amber-bg: #fffbeb;
    --soft-rose: #f43f5e;
    --soft-rose-bg: #fff1f2;
    --soft-indigo: #6366f1;
    --soft-indigo-bg: #eef2ff;
    --soft-cyan: #06b6d4;
    --soft-cyan-bg: #ecfeff;
}

/* Modern Soft Sidebar - Always Fixed/Sticky in Viewport on Scroll */
.soft-sidebar {
    background: #ffffff;
    border: 1px solid var(--home-border-subtle);
    border-radius: 18px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    padding: 1.2rem 1rem;
    position: sticky !important;
    top: 5rem !important; /* ثابت و قفل زیر هدر هنگام اسکرول صفحه */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: calc(100vh - 6rem);
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
    z-index: 1010;
}

/* اسکرولر سایدبار در حالت پیش‌فرض در وب‌کیت/کروم/اج مخفی باشد */
.soft-sidebar::-webkit-scrollbar {
    width: 5px;
}

.soft-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.soft-sidebar::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

/* هنگام بردن ماوس روی سایدبار، اسکرولر به شکل بسیار ظریف و نرم پدیدار شود */
.soft-sidebar:hover {
    scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}

.soft-sidebar:hover::-webkit-scrollbar-thumb {
    background-color: rgba(148, 163, 184, 0.4);
}

.soft-sidebar:hover::-webkit-scrollbar-thumb:hover {
    background-color: rgba(100, 116, 139, 0.7);
}

/* Sidebar Resizer Handle for RTL Layout (Larger hit area, clear pointer) */
.sidebar-resizer-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -8px;
    width: 16px;
    cursor: col-resize !important;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    user-select: none;
}

.sidebar-resizer-handle:hover,
.sidebar-resizer-handle.is-resizing {
    background-color: rgba(59, 130, 246, 0.2);
}

.resizer-indicator-line {
    width: 4px;
    height: 48px;
    background-color: #cbd5e1;
    border-radius: 4px;
    transition: all 0.2s ease;
    pointer-events: none;
}

.sidebar-resizer-handle:hover .resizer-indicator-line,
.sidebar-resizer-handle.is-resizing .resizer-indicator-line {
    background-color: #2563eb;
    height: 80px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

body.sidebar-is-resizing,
body.sidebar-is-resizing * {
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: col-resize !important;
}

/* Modern Sidebar User Identity Card (Prestige Profile Card) */
.sidebar-user-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.95rem 0.9rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.sidebar-user-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.sidebar-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* 3-Part Micro Shelf that Spans 100% of the Card Width (Zero Empty Spaces) */
.sidebar-user-meta-shelf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 0.45rem 0.6rem;
}

.meta-shelf-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
}

.meta-shelf-label {
    font-size: 0.66rem;
    color: #64748b;
    margin-bottom: 1px;
    font-weight: 500;
}

.meta-shelf-val {
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.meta-shelf-divider {
    width: 1px;
    height: 20px;
    background-color: #e2e8f0;
    margin: 0 0.2rem;
}

/* Legacy Fallbacks for Backward Compatibility */
.sidebar-user-profile {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    transition: all 0.2s ease;
}

.sidebar-user-profile:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.soft-avatar-compact {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.18);
}

.soft-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 0.75rem;
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.15);
    border: 2px solid #ffffff;
}

/* Modern Soft Executive Academic Hero Welcome Banner */
.soft-welcome-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem 2.25rem;
    color: #1e293b;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    margin-bottom: 1.75rem;
    border: none;
}

.soft-welcome-card::after {
    display: none;
}

.soft-welcome-card::before {
    display: none;
}

/* Soft Card Component */
.soft-card {
    background: #ffffff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
    margin-bottom: 1.75rem;
    overflow: hidden;
    transition: all 0.25s ease;
}

.soft-card-header {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.soft-card-body {
    padding: 1.5rem;
}

/* Hub Action Cards */
.hub-action-card {
    background: #ffffff;
    border: 1px solid #e9eef5;
    border-radius: 16px;
    padding: 1.35rem 1.35rem;
    height: 100%;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
}

.hub-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.07);
    border-color: #cbd5e1;
    color: inherit;
}

.hub-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hub-action-card:hover .hub-icon-wrap {
    transform: scale(1.06);
}

/* Soft Info Metric Box */
.info-metric-box {
    background: #fbfcfe;
    border: 1px solid #edf2f6;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    transition: all 0.2s ease;
    height: 100%;
}

.info-metric-box:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

/* Soft Badges */
.soft-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.soft-badge-blue {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}

.soft-badge-slate {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.soft-badge-emerald {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #d1fae5;
}

.soft-badge-amber {
    background-color: #fffbeb;
    color: #b45309;
    border: 1px solid #fef3c7;
}

.soft-badge-indigo {
    background-color: #eef2ff;
    color: #4338ca;
    border: 1px solid #e0e7ff;
}

/* Soft Action Buttons */
.btn-soft-primary {
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}
.btn-soft-primary:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.btn-soft-secondary {
    background-color: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
}
.btn-soft-secondary:hover {
    background-color: #f8fafc;
    color: #1e293b;
    border-color: #94a3b8;
}

/* Utilities for smooth shadows & paddings */
.shadow-xs {
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.04) !important;
}
.shadow-2xs {
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.03) !important;
}
.shadow-sm-soft {
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.03) !important;
}
.p-3\.5 { padding: 0.875rem !important; }
.px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.mb-2\.5 { margin-bottom: 0.625rem !important; }

.soft-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    color: var(--home-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.soft-nav-link:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.soft-nav-link.active {
    background-color: var(--soft-blue-bg);
    color: #2563eb;
    font-weight: 700;
}

/* Sidebar Accordion Styles */
.sidebar-accordion-toggle {
    background: transparent;
    border: none;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    color: var(--home-text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-accordion-toggle:hover {
    background-color: #f1f5f9;
}

.sidebar-accordion-toggle .accordion-arrow {
    font-size: 0.8rem;
    color: var(--home-text-muted);
    transition: transform 0.25s ease;
}

.sidebar-accordion-toggle:not(.collapsed) .accordion-arrow {
    transform: rotate(180deg);
}

.sidebar-sub-nav {
    margin-right: 0.75rem;
}

.nav-icon-container {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Soft Icon Color Variants */
.icon-box-blue {
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}
.icon-box-slate {
    background-color: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.icon-box-emerald {
    background-color: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
}
.icon-box-cyan {
    background-color: #f0fdfa;
    color: #0d9488;
    border: 1px solid #ccfbf1;
}
.icon-box-amber {
    background-color: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}
.icon-box-indigo {
    background-color: #eef2ff;
    color: #4f46e5;
    border: 1px solid #e0e7ff;
}
.icon-box-rose {
    background-color: #fff1f2;
    color: #e11d48;
    border: 1px solid #ffe4e6;
}

/* Balanced layout container */
main .container-fluid {
    max-width: 1720px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================================
   TOP-LEFT CORNER WARNING TOAST NOTIFICATION
   ======================================================== */
.locked-toast-container {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 999999;
    max-width: 420px;
    width: calc(100vw - 48px);
    pointer-events: none;
}

@media (min-width: 576px) {
    .locked-toast-container {
        width: 380px;
    }
}

.locked-toast-card {
    background: #ffffff;
    border: 1px solid #fde68a;
    border-right: 4px solid #f59e0b;
    border-radius: 16px;
    padding: 1rem 1.15rem;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(245, 158, 11, 0.08);
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    animation: toastSlideInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    direction: rtl;
    text-align: right;
}

@keyframes toastSlideInLeft {
    0% {
        opacity: 0;
        transform: translateY(-24px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.locked-toast-card.fade-out {
    animation: toastSlideOutLeft 0.25s ease forwards;
}

@keyframes toastSlideOutLeft {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-16px) scale(0.95);
    }
}

.locked-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.locked-toast-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
}

.locked-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.15s ease;
}

.locked-toast-close:hover {
    color: #1e293b;
    background-color: #f1f5f9;
}

.locked-toast-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
}

.locked-toast-desc strong {
    color: #b45309;
}

.locked-toast-hint {
    font-size: 0.76rem;
    color: #b45309;
    background: #fffbeb;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    border: 1px solid #fef3c7;
}

.locked-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    animation: toastProgressShrink 4s linear forwards;
}

@keyframes toastProgressShrink {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

/* Shake animation on locked tab when clicked */
@keyframes stepLockedShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.step-locked.shake {
    animation: stepLockedShake 0.35s ease;
}

/* ========================================================
   TOP-RIGHT NOTIFICATION TOAST (LUXURY TOAST SYSTEM)
   ======================================================== */
.top-right-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    max-width: 440px;
    width: calc(100vw - 48px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    direction: rtl;
}

@media (min-width: 576px) {
    .top-right-toast-container {
        width: 410px;
    }
}

.luxury-toast-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    direction: rtl;
    text-align: right;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    animation: toastSlideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.25s ease;
}

.luxury-toast-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px -6px rgba(15, 23, 42, 0.22), 0 6px 16px rgba(0, 0, 0, 0.08);
}

.luxury-toast-card.toast-success {
    border-color: #bbf7d0;
    border-right: 5px solid #16a34a;
}
.luxury-toast-card.toast-error,
.luxury-toast-card.toast-danger {
    border-color: #fecaca;
    border-right: 5px solid #dc2626;
}
.luxury-toast-card.toast-warning {
    border-color: #fde68a;
    border-right: 5px solid #d97706;
}
.luxury-toast-card.toast-info {
    border-color: #bfdbfe;
    border-right: 5px solid #2563eb;
}

@keyframes toastSlideInRight {
    0% {
        opacity: 0;
        transform: translateX(45px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.luxury-toast-card.fade-out {
    animation: toastSlideOutRight 0.3s ease forwards;
}

@keyframes toastSlideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
}

.luxury-toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.toast-success .luxury-toast-icon {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #059669;
}
.toast-error .luxury-toast-icon,
.toast-danger .luxury-toast-icon {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #dc2626;
}
.toast-warning .luxury-toast-icon {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #d97706;
}
.toast-info .luxury-toast-icon {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #2563eb;
}

.luxury-toast-title {
    font-size: 0.94rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.luxury-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.15s ease;
}

.luxury-toast-close:hover {
    color: #0f172a;
    background-color: #f1f5f9;
}

.luxury-toast-message {
    font-size: 0.83rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
}

.luxury-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    animation: luxuryToastProgressShrink 5.5s linear forwards;
}

.toast-success .luxury-toast-progress {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}
.toast-error .luxury-toast-progress,
.toast-danger .luxury-toast-progress {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}
.toast-warning .luxury-toast-progress {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}
.toast-info .luxury-toast-progress {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
}

@keyframes luxuryToastProgressShrink {
    0% { width: 100%; }
    100% { width: 0%; }
}

footer {
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    background-color: #ffffff;
    padding: 1rem 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   Mobile Responsive System for Faculty Panel & General Layout (RTL-First)
   ========================================================================== */

/* بک‌دراپ تیره هنگام باز شدن سایدبار در موبایل */
.mobile-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991.98px) {
    /* هدر واکنش‌گرا در موبایل و تبلت */
    .gov-topbar {
        padding: 0.5rem 0.75rem !important;
    }

    .topbar-main-title {
        font-size: 0.88rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 170px;
    }

    .gov-logo-container {
        width: 42px !important;
        height: 42px !important;
        padding: 4px !important;
        border-radius: 12px !important;
    }

    .gov-user-card {
        padding: 0.25rem 0.4rem !important;
    }

    .gov-user-avatar {
        width: 34px !important;
        height: 34px !important;
    }

    /* مخفی‌سازی کامل ستون کانتینر والد سایدبار در موبایل و تبلت تا فضای گرید آزاد شود */
    .col-lg-3:has(.soft-sidebar),
    .col-lg-3:has(.admin-sidebar-card),
    .col-12:has(.soft-sidebar),
    .col-12:has(.admin-sidebar-card),
    .col-md-4:has(.soft-sidebar),
    .col-md-4:has(.admin-sidebar-card) {
        display: contents !important;
    }

    /* سایدبار کشویی موبایل (Off-canvas Drawer) */
    .soft-sidebar,
    .admin-sidebar-card,
    .admin-sidebar-luxury {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        z-index: 1055 !important;
        border-radius: 0 !important;
        border-left: 1px solid rgba(226, 232, 240, 0.8) !important;
        border-top: none !important;
        border-right: none !important;
        border-bottom: none !important;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25) !important;
        transform: translateX(105%) !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        margin: 0 !important;
        visibility: hidden !important;
    }

    .soft-sidebar.mobile-open,
    .admin-sidebar-card.mobile-open,
    .admin-sidebar-luxury.mobile-open {
        transform: translateX(0%) !important;
        visibility: visible !important;
    }

    /* غیرفعال کردن دستگیره ریسایز در موبایل */
    .sidebar-resizer-handle {
        display: none !important;
    }

    /* کارت خوش‌آمدگویی هوم در موبایل */
    .soft-welcome-card {
        padding: 1.4rem 1.1rem !important;
        border-radius: 16px !important;
    }

    .welcome-border-rect {
        rx: 16 !important;
        ry: 16 !important;
    }

    .welcome-corner-pattern {
        display: none !important;
    }

    /* کارت‌های اصلی و آمار */
    .soft-card {
        border-radius: 14px !important;
    }

    .soft-card-header,
    .soft-card-body {
        padding: 1rem 1.1rem !important;
    }

    /* جدول‌های واکنش‌گرا */
    .table-responsive {
        border-radius: 10px;
        -webkit-overflow-scrolling: touch;
    }

    /* متون فوتر */
    footer {
        text-align: center !important;
        padding: 1.25rem 0.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .topbar-main-title {
        max-width: 130px !important;
        font-size: 0.82rem !important;
    }

    .soft-welcome-card h4 {
        font-size: 1.05rem !important;
    }

    /* دکمه‌های تمام‌عرض و راحت برای لمس در گوشی‌های باریک */
    .soft-welcome-card .btn,
    .welcome-card-wrapper .btn {
        width: 100% !important;
        font-size: 0.84rem !important;
        padding: 0.55rem 0.75rem !important;
    }

    /* کارت‌های شاخص آمار ۶ تایی خلاصه پرونده به ۲ ستون استاندارد */
    .info-metric-box {
        padding: 0.85rem !important;
    }

    /* هدر صفحات و دکمه‌ها در موبایل */
    .wizard-hub-header {
        padding: 1.25rem 1.2rem !important;
        border-radius: 16px !important;
    }

    .wizard-hub-header h3 {
        font-size: 1.15rem !important;
    }

    .stage-card {
        padding: 1.25rem 1.2rem !important;
        border-radius: 16px !important;
    }

    /* فرم ثبت درخواست در موبایل */
    .req-category-card {
        padding: 1rem !important;
    }

    /* پدینگ کانتینر اصلی در موبایل */
    main.py-4 {
        padding-top: 1rem !important;
        padding-bottom: 2rem !important;
    }
}



