/* =========================================================
   PRRA Eligibility Assessor (Bill C-12)
   Standard Red Theme (#dc2626) & Flawless RTL Support
   ========================================================= */

:root {
    --primary: #dc2626;
    --primary-hover: #b91c1c;
    --primary-light: #fef2f2;
    --bg-gray: #f9fafb;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-light: #f3f4f6;
    --border-color: #e5e7eb;
    --radius: 24px;
    --radius-md: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.25s ease;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-main);
    font-family: 'Inter', 'Vazirmatn', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.fa-body {
    direction: rtl;
}

/* Floating Back Button */
.floating-back-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    background: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--text-main);
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid var(--border-color);
}
.fa-body .floating-back-btn {
    left: auto;
    right: 24px;
}
.floating-back-btn:hover {
    transform: scale(1.05);
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.25);
}

/* Header */
.main-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.header-brand-name {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
}
.lang-toggle {
    background: var(--bg-gray);
    padding: 4px;
    border-radius: 8px;
    display: flex;
    gap: 4px;
}
.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
}
.lang-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Progress Bar */
.progress-container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 0.5rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.progress-line-bg {
    position: absolute;
    top: 16px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}
.progress-line-fill {
    position: absolute;
    top: 16px;
    left: 0;
    height: 4px;
    background: var(--primary);
    z-index: 2;
    transition: width 0.5s ease;
}
.fa-body .progress-line-fill {
    left: auto;
    right: 0;
}
.step-indicator {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 56px;
}
.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #9ca3af;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 0.85rem;
    transition: 0.3s;
    border: 4px solid var(--bg-gray);
    box-sizing: content-box;
}
.step-circle.active,
.step-circle.completed {
    background: var(--primary);
    color: white;
}
.step-label {
    margin-top: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}
.step-circle.active ~ .step-label,
.step-circle.completed ~ .step-label {
    color: var(--primary);
}

/* Live Score Bar */
.live-score-bar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
    position: sticky;
    top: 70px;
    z-index: 40;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.live-score-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}
.fa-body .live-score-container {
    justify-content: flex-start;
}
.live-score-label {
    font-weight: 700;
    color: var(--text-muted);
}
.live-score-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.live-score-max {
    color: var(--text-muted);
    font-weight: 600;
}

/* Main Layout */
.app-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 1rem 4rem 1rem;
    min-height: 60vh;
}
.step-section {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.step-section.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home Section */
#step-0.active {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    background: #ffffff;
    border-radius: 32px;
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow);
}
.home-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.home-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.home-header .subtitle {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.5rem;
}
.intro-paragraph-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-align: center;
}
.intro-paragraph-box p {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.7;
}
.info-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: start;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: var(--transition);
}
.info-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}
.icon-box {
    background: var(--primary-light);
    color: var(--primary);
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.info-text h4 {
    margin: 0 0 0.2rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}
.info-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

/* Guide Button Box */
.scenario-box {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}
.guide-toggle-btn {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 0.85rem 1.75rem;
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.guide-toggle-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: var(--primary);
}

/* Formal Hero Button */
.formal-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
    text-decoration: none;
}
.formal-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}
.hero-btn {
    width: 100%;
    max-width: 350px;
}
.time-to-complete {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* Cards & Forms */
.hc-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}
.hc-card-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-grid .full-width {
    grid-column: 1 / -1;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-weight: 700;
    color: #374151;
    font-size: 0.95rem;
}
select.hc-select, input.hc-input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: #f9fafb;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: 0.2s;
    box-sizing: border-box;
}
select.hc-select:focus, input.hc-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    background: white;
}
.helper-text {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-weight: 400;
}

/* Toggle Buttons */
.toggle-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}
.toggle-label {
    cursor: pointer;
    flex: 1;
}
.toggle-label input {
    display: none;
}
.toggle-btn {
    padding: 0.65rem 1rem;
    background: #f8fafc;
    color: #475569;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.95rem;
}
.toggle-label:hover .toggle-btn {
    background: #f1f5f9;
}
.toggle-label input:checked + .toggle-btn {
    background: var(--primary-light);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.15);
    padding: calc(0.65rem - 1px) calc(1rem - 1px);
}

/* Custom Checkbox Cards */
.checkbox-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.custom-checkbox-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}
.custom-checkbox-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.custom-checkbox-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--primary);
    flex-shrink: 0;
}
.checkbox-content strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.15rem;
}
.checkbox-content span {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.4;
}

/* Alert Boxes */
.alert-box {
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid;
}
.alert-icon {
    font-size: 1.4rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.alert-text strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.alert-text p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}
.alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}
.alert-success .alert-icon { color: #16a34a; }
.alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.alert-danger .alert-icon { color: #dc2626; }

/* Deadlines Cards Grid */
.deadlines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.deadline-card {
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border: 1.5px solid;
}
.deadline-badge {
    font-size: 1.1rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    white-space: nowrap;
}
.danger-card {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.danger-card .deadline-badge {
    background: #fee2e2;
    color: #dc2626;
}
.warning-card {
    background: #fffbeb;
    border-color: #fef3c7;
    color: #92400e;
}
.warning-card .deadline-badge {
    background: #fef3c7;
    color: #d97706;
}
.deadline-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.deadline-date {
    font-size: 1.3rem;
    font-weight: 800;
    display: block;
}

/* Nav Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}
.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    padding: 10px;
    transition: 0.2s;
}
.btn-back:hover { color: var(--text-main); }
.btn-next {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 0.95rem 2.2rem;
    border-radius: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
    transition: 0.2s;
}
.btn-next:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Score Hero Gauge */
.score-hero {
    background: #0f172a;
    color: white;
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}
.gauge-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.score-number {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0.75rem 0;
    color: white;
}

/* AI Card */
.ai-card {
    background: linear-gradient(145deg, #ffffff, var(--primary-light));
    border: 2px solid #fecaca;
    padding: 2.2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}
.ai-btn-large {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1.1rem;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(220,38,38,0.2);
}
.ai-btn-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Checklist Styling */
.checklist-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}
.doc-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
}
.print-btn {
    background: none;
    border: 1px solid #cbd5e1;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}
.print-btn:hover {
    background: #f1f5f9;
    color: var(--text-main);
}
.checklist-cat-section {
    margin-bottom: 2rem;
}
.checklist-cat-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.35rem;
}
.checklist-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.checklist-doc-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.doc-icon {
    color: var(--primary);
    font-size: 1.3rem;
    margin-top: 0.2rem;
}
.doc-details strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
}
.doc-details p {
    margin: 0.2rem 0 0 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* Timeline Stages */
.timeline-stages-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}
.timeline-stage {
    background: #f8fafc;
    border-radius: 18px;
    padding: 1.8rem;
    border: 1px solid #e2e8f0;
    border-top: 5px solid;
    text-align: start;
}
.timeline-stage.blue { border-top-color: #3b82f6; }
.timeline-stage.red { border-top-color: #dc2626; }
.timeline-stage.amber { border-top-color: #f59e0b; }
.timeline-stage.green { border-top-color: #10b981; }
.stage-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.timeline-stage.blue .stage-header i { color: #3b82f6; }
.timeline-stage.red .stage-header i { color: #dc2626; }
.timeline-stage.amber .stage-header i { color: #f59e0b; }
.timeline-stage.green .stage-header i { color: #10b981; }
.stage-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}
.timeline-stage p {
    margin: 0 0 1.2rem 0;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
}
.duration-badge {
    background: #e2e8f0;
    color: #334155;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Call to action banner */
.cta-banner-box {
    background: var(--primary-light);
    border: 1px solid #fecaca;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    margin-top: 2rem;
}
.cta-banner-box h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-hover);
}
.cta-banner-box p {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    font-size: 0.95rem;
    color: #7f1d1d;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.app-footer {
    max-width: 1000px;
    margin: 2rem auto 0;
    padding: 1.5rem 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-main);
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Lead Modal */
.lead-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}
.lead-modal {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 2.5rem 1.8rem;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.lead-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}
.lead-modal-header i {
    color: var(--primary);
    font-size: 1.6rem;
}
.lead-modal h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.lead-modal p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}
#lead-score-preview {
    background: var(--primary-light);
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 0.65rem 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}
.lead-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.25rem;
}
.lead-input-group input {
    font-size: 16px !important;
    padding: 0.85rem !important;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f9fafb;
    width: 100%;
    box-sizing: border-box;
}
.lead-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 1.5rem;
    text-align: start;
}
.lead-consent input {
    margin-top: 3px;
    accent-color: var(--primary);
}
.lead-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.lead-submit-btn:hover { background: var(--primary-hover); }
#lead-form-error {
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Utilities */
.hidden-section { display: none !important; }

/* =========================================================
   Universal Font Awesome & RTL Isolation (The Golden Rules)
   ========================================================= */
.fa-body .fas,
.fa-body .far,
.fa-body .fab {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    direction: ltr !important;
    display: inline-block;
    line-height: 1 !important;
}
.fa-body .rtl-arrow {
    transform: scaleX(-1);
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .step-label { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .info-cards-wrapper { grid-template-columns: 1fr; }
    .timeline-stages-wrapper { grid-template-columns: 1fr; }
    .deadlines-grid { grid-template-columns: 1fr; }
    .hc-card { padding: 1.5rem; }
    .home-header h1 { font-size: 1.75rem; }
    .score-number { font-size: 2.2rem; }
    .main-header { padding: 0.75rem 1rem; }
    .live-score-bar { padding: 0.5rem 1rem; }
}

/* Print Clean Mode */
@media print {
    .main-header,
    .progress-container,
    .live-score-bar,
    .nav-buttons,
    .floating-back-btn,
    .lang-toggle,
    .ai-btn-large,
    .print-btn,
    .app-footer,
    .lead-modal-overlay {
        display: none !important;
    }
    body { background: white !important; color: black !important; }
    .step-section { display: block !important; }
    #step-0, #step-1, #step-2, #step-3, #step-5 { display: none !important; }
    #step-4 { display: block !important; }
    .hc-card { box-shadow: none !important; border: none !important; padding: 0 !important; }
}