* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.8;
    padding: 40px 0;
    font-family: 'Cairo', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    text-align: center;
    padding: 30px 25px;
    border-bottom: 3px solid #003087;
    background: linear-gradient(to right, #003087, #1a1a1a);
    color: #fff;
    border-radius: 10px 10px 0 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Make sure Arabic and Hebrew headers are centered */
.header h1.arabic,
.header h1.hebrew,
.header p.arabic,
.header p.hebrew {
    text-align: center;
}

.header h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 2.4em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.header h1.arabic {
    font-family: 'Cairo', sans-serif;
    font-size: 2.3em;
}

.header h1.hebrew {
    font-family: 'Cairo', sans-serif;
    font-size: 2.3em;
}

.header p {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 15px;
}

.header p.arabic {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1em;
}

.header p.hebrew {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1em;
}

.form-section {
    margin: 25px 0;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.form-section label {
    font-family: 'Cairo', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    color: #003087;
    display: block;
    margin-bottom: 12px;
}

.form-section label.arabic {
    font-family: 'Cairo', sans-serif;
    font-size: 1.4em;
}

.form-section label.hebrew {
    font-family: 'Cairo', sans-serif;
    font-size: 1.4em;
}

/* New rule to make English form labels normal case */
.content.english .form-section label {
    text-transform: none;
}

.form-section input[type="text"],
.form-section input[type="tel"],
.form-section textarea {
    width: 100%;
    padding: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1em;
    font-weight: 300;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: border-color 0.2s ease;
}

/* Make the additional information textarea larger and remove bottom margin */
textarea[name="additionalInfo"] {
    min-height: 150px;
    resize: vertical;
    margin-bottom: 0;
}

.form-section input[type="text"]:focus,
.form-section input[type="tel"]:focus,
.form-section textarea:focus {
    border-color: #003087;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 48, 135, 0.1);
}

.form-section input[type="text"].arabic,
.form-section input[type="tel"].arabic,
.form-section textarea.arabic {
    font-family: 'Cairo', sans-serif;
    font-size: 1.05em;
}

.form-section input[type="text"].hebrew,
.form-section input[type="tel"].hebrew,
.form-section textarea.hebrew {
    font-family: 'Cairo', sans-serif;
    font-size: 1.05em;
}

/* Error state for inputs */
.form-section input[type="text"].error,
.form-section input[type="tel"].error,
.form-section textarea.error {
    border-color: #ff3b30;
    background-color: rgba(255, 59, 48, 0.05);
}

/* Error message styling */
.error-message {
    color: #ff3b30;
    font-size: 0.9em;
    margin-top: -15px;
    margin-bottom: 15px;
    display: none;
    font-family: 'Cairo', sans-serif;
}

.error-message.arabic {
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

.error-message.hebrew {
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

.error-message.visible {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

.checkbox-group,
.radio-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
    display: none;
}

.checkbox-group label,
.radio-group label {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    color: #333;
    text-transform: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    padding: 5px 0;
    flex: 1 1 100%;
}

.checkbox-group label.arabic,
.radio-group label.arabic {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1em;
}

.checkbox-group label.hebrew,
.radio-group label.hebrew {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1em;
}

.checkbox-group label::before,
.radio-group label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #003087;
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.checkbox-group label.arabic::before,
.radio-group label.arabic::before,
.checkbox-group label.hebrew::before,
.radio-group label.hebrew::before {
    margin-right: 0;
    margin-left: 10px;
}

.radio-group label::before {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-group input[type="checkbox"]:checked + label::before {
    background: #003087;
    border-color: #003087;
    content: '\2714';
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.radio-group input[type="radio"]:checked + label::before {
    background: #003087;
    border-color: #003087;
    content: '';
    position: relative;
}

/* Styling for severity section and gender section */
.severity-section .radio-group,
.gender-section .radio-group {
    width: 100%;
    margin-bottom: 10px;
}

.radio-group input[type="radio"]:checked + label::before::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    background: #fff;
    border-radius: 50%;
}

.form-section .conditional-field {
    display: none;
    margin-top: 10px;
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 2px solid #003087;
}

.form-section .conditional-field.active {
    display: block;
}

.form-section .upload-btn,
.form-section .whatsapp-btn,
.form-section .submit-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #003087;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 1em;
    font-weight: 600;
    margin: 10px 10px 0 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 48, 135, 0.2);
    border: none;
    cursor: pointer;
}

/* Modified upload button style - COLORS ONLY */
.form-section .upload-btn {
    background: #e0e4e8;
    color: #333;
    border: 1px solid #ccc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-section .whatsapp-btn {
    background: #25D366;
}

.form-section .submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 0;
    padding: 12px 35px;
    text-align: center;
}

.form-section .upload-btn.arabic {
    font-family: 'Cairo', sans-serif;
}

.form-section .upload-btn.hebrew {
    font-family: 'Cairo', sans-serif;
}

.form-section .whatsapp-btn.arabic,
.form-section .submit-btn.arabic {
    font-family: 'Cairo', sans-serif;
}

.form-section .whatsapp-btn.hebrew,
.form-section .submit-btn.hebrew {
    font-family: 'Cairo', sans-serif;
}

.form-section .upload-btn:hover {
    background: #d6dade;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.form-section .whatsapp-btn:hover {
    background: #20b354;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.3);
}

.form-section .submit-btn:hover {
    background: #002b6e;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 48, 135, 0.3);
}

.lang-toggle {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(45deg, #003087, #0041c2);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 48, 135, 0.3);
    margin: 0 5px;
    text-decoration: none;
}

.lang-toggle:hover {
    background: linear-gradient(45deg, #0041c2, #003087);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 48, 135, 0.5);
}

.terms-group {
    text-align: center;
    margin: 20px 0 0 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

/* خاص بزر الإرسال لإزالة الخلفية */
.form-section.submit-section {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 10px;
}

.terms-group label {
    font-family: 'Cairo', sans-serif;
    font-size: 1em;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.terms-group label.arabic {
    font-family: 'Cairo', sans-serif;
    font-size: 1.05em;
}

.terms-group label.hebrew {
    font-family: 'Cairo', sans-serif;
    font-size: 1.05em;
}

.terms-group label a {
    color: #003087;
    text-decoration: underline;
    margin: 0 5px;
}

.terms-group label a:hover {
    color: #002b6e;
}

.terms-group input[type="checkbox"] {
    display: none;
}

.terms-group label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #003087;
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.terms-group label.arabic::before,
.terms-group label.hebrew::before {
    margin-right: 0;
    margin-left: 10px;
}

.terms-group input[type="checkbox"]:checked + label::before {
    background: #003087;
    border-color: #003087;
    content: '\2714';
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.upload-progress {
    margin-top: 10px;
    display: none;
}

/* تعديل طريقة عرض الملفات المرفوعة */
.file-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.file-item.arabic,
.file-item.hebrew {
    direction: rtl;
    text-align: right;
}

.file-item span {
    flex: 1;
    margin-left: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-item.arabic span {
    margin-left: 0;
    margin-right: 10px;
    font-family: 'Cairo', sans-serif;
}

.file-item.hebrew span {
    margin-left: 0;
    margin-right: 10px;
    font-family: 'Cairo', sans-serif;
}

.remove-file-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ff3b30;
    color: white;
    border: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-file-btn:hover {
    background-color: #e62e27;
    transform: scale(1.1);
}

.content {
    display: block;
}

.arabic,
.hebrew {
    direction: rtl;
    text-align: right;
}

/* Severity Level Text Colors */
.severity-text {
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 3px;
    font-size: 0.85em;
    font-weight: 700;
}

.arabic .severity-text,
.hebrew .severity-text {
    margin-right: 0;
    margin-left: 5px;
}

.severity-severe .severity-text { background: #dc3545; }
.severity-moderate .severity-text { background: #fd7e14; }
.severity-minor .severity-text { background: #28a745; }
.severity-scam .severity-text { background: #ffc107; color: #333; }
.severity-unsure .severity-text { background: #6c757d; }

/* Fix for checkbox color on mobile */
.checkbox-group input[type="checkbox"]:checked + label::before,
.radio-group input[type="radio"]:checked + label::before,
.terms-group input[type="checkbox"]:checked + label::before {
    color: #fff !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Button loading state */
.submit-btn.loading {
    position: relative;
    color: transparent !important;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.success-modal-content {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 80%;
    width: 400px;
    animation: scaleIn 0.3s ease-in-out;
}

.success-icon {
    margin: 0 auto 15px auto;
    width: 70px;
    height: 70px;
}

.success-message h3 {
    color: #4BB543;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.success-message p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.success-message strong {
    font-weight: 700;
    font-size: 1.2rem;
    color: #003087;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-button {
    background: #003087;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 35px;
    font-size: 1em;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 48, 135, 0.2);
}

.modal-button:hover {
    background: #002b6e;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 48, 135, 0.3);
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Base responsive - 768px */
@media (max-width: 768px) {
    body { padding: 20px 0; }
    .container { padding: 0 15px; }
    .header { padding: 25px 15px; }
    .header h1 { font-size: 2em; }
    .header h1.arabic, .header h1.hebrew { font-size: 1.9em; }
    .header p, .header p.arabic, .header p.hebrew { font-size: 0.95em; margin-bottom: 10px; }
    .form-section { padding: 20px; margin: 15px 0; }
    .form-section label, .form-section label.arabic, .form-section label.hebrew { font-size: 1.2em; }
    .form-section input[type="text"], .form-section input[type="tel"], .form-section textarea { padding: 10px; font-size: 0.9em; margin-bottom: 15px; line-height: 1.4; }
    textarea[name="additionalInfo"] { min-height: 120px; margin-bottom: 0; }
    .form-section input[type="text"].arabic, .form-section input[type="tel"].arabic, .form-section textarea.arabic,
    .form-section input[type="text"].hebrew, .form-section input[type="tel"].hebrew, .form-section textarea.hebrew { font-size: 0.9em; }
    .checkbox-group label, .checkbox-group label.arabic, .checkbox-group label.hebrew,
    .radio-group label, .radio-group label.arabic, .radio-group label.hebrew,
    .terms-group label, .terms-group label.arabic, .terms-group label.hebrew { font-size: 1em; }
    .form-section .conditional-field { margin-top: 5px; margin-bottom: 10px; padding: 10px; }
    .form-section .upload-btn, .form-section .whatsapp-btn { font-size: 0.95em; padding: 10px 20px; }
    .form-section .submit-btn { width: 100%; font-size: 1em; padding: 12px 30px; }
    .lang-toggle { padding: 5px 12px; font-size: 0.85em; }
    .radio-group label::before { width: 18px !important; height: 18px !important; min-width: 18px !important; margin-top: 3px; }
    .checkbox-group label::before, .terms-group label::before { width: 18px; height: 18px; min-width: 18px; }
    .file-item { padding: 6px; }
    .file-item span { font-size: 0.85em; }
    .remove-file-btn { width: 22px; height: 22px; font-size: 10px; }
}

/* Base responsive - 480px */
@media (max-width: 480px) {
    body { padding: 10px 0; }
    .container { padding: 0 10px; }
    .header { padding: 20px 10px; margin-bottom: 20px; }
    .header h1 { font-size: 1.8em; }
    .header h1.arabic, .header h1.hebrew { font-size: 1.7em; }
    .form-section { padding: 15px; margin: 12px 0; }
    .form-section label, .form-section label.arabic, .form-section label.hebrew { font-size: 1.1em; margin-bottom: 10px; }
    .form-section input[type="text"], .form-section input[type="tel"], .form-section textarea { padding: 8px; font-size: 0.85em; }
    textarea[name="additionalInfo"] { min-height: 100px; margin-bottom: 0; }
    .checkbox-group label, .radio-group label, .terms-group label { font-size: 0.9em; }
    .form-section .conditional-field { padding: 8px; }
    .form-section .upload-btn, .form-section .whatsapp-btn { padding: 8px 16px; font-size: 0.9em; }
    .form-section .submit-btn { width: 100%; padding: 10px 25px; font-size: 0.95em; }
    .lang-toggle { padding: 5px 10px; font-size: 0.8em; }
    .checkbox-group label::before, .terms-group label::before { width: 16px; height: 16px; min-width: 16px; }
    .radio-group label::before { width: 16px !important; height: 16px !important; min-width: 16px !important; }
    .file-item { padding: 5px; }
    .file-item span { font-size: 0.8em; }
    .remove-file-btn { width: 20px; height: 20px; font-size: 9px; }
    .success-modal-content { max-width: 85%; padding: 20px; }
    .success-icon { width: 60px; height: 60px; }
    .success-message h3 { font-size: 1.3rem; }
    .success-message p { font-size: 1rem; }
    .modal-button { padding: 10px 25px; font-size: 0.9em; }
}

/* Upload examples */
.upload-examples {
    margin-top: 12px;
    font-size: 0.9em;
    color: #6c757d;
    font-family: 'Cairo', sans-serif;
    font-weight: 300;
}

.upload-examples.arabic { font-family: 'Cairo', sans-serif; text-align: right; }
.upload-examples.hebrew { font-family: 'Cairo', sans-serif; text-align: right; }
.upload-examples p { margin-bottom: 5px; }
.upload-examples ul { margin: 0; padding-left: 25px; }
.upload-examples.arabic ul, .upload-examples.hebrew ul { padding-left: 0; padding-right: 25px; }
.upload-examples li { margin-bottom: 4px; line-height: 1.4; }

/* Info description */
.info-description {
    margin-top: 0;
    padding-top: 5px;
    font-size: 0.9em;
    color: #6c757d;
    font-family: 'Cairo', sans-serif;
    font-weight: 300;
}

.info-description.arabic { font-family: 'Cairo', sans-serif; text-align: right; }
.info-description.hebrew { font-family: 'Cairo', sans-serif; text-align: right; }
.info-description p { margin-bottom: 5px; }

@media (max-width: 768px) {
    .upload-examples, .info-description { font-size: 0.85em; }
    .upload-examples ul { padding-left: 20px; }
    .upload-examples.arabic ul, .upload-examples.hebrew ul { padding-right: 20px; }
}

@media (max-width: 480px) {
    .upload-examples, .info-description { font-size: 0.8em; }
    .upload-examples ul { padding-left: 15px; }
    .upload-examples.arabic ul, .upload-examples.hebrew ul { padding-right: 15px; }
}

/* Footer (base for EN/HE) */
.footer {
    margin-top: 40px;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    border-top: 1px solid #eee;
}
.footer.arabic { font-family: 'Cairo', sans-serif; font-size: 0.95em; }
.footer.hebrew { font-family: 'Cairo', sans-serif; font-size: 0.95em; }

@media (max-width: 768px) {
    .footer { margin-top: 30px; padding: 12px 0; font-size: 0.85em; }
}
@media (max-width: 480px) {
    .footer { margin-top: 25px; padding: 10px 0; font-size: 0.8em; }
}


/* =============================================================================
   WIZARD FORM STYLES
   Scoped to .wizard-form — only affects the Arabic multi-step wizard.
   ============================================================================= */

/* Page background */
body:has(.wizard-form) {
    background: #fff;
    padding: 0;
}

body:has(.wizard-form) .container {
    max-width: 100%;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
    padding: 0;
}

/* --- TOP BAR --- */
.top-bar {
    background: #0b1a30;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.top-bar-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.top-bar-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.top-bar-name {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.92em;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.top-bar-lang {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-lang a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

.top-bar-lang a:hover {
    color: #fff;
}

/* --- HERO HEADER --- */
.wizard-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 32px 24px;
    text-align: center;
    background: linear-gradient(160deg, #001a3d 0%, #003087 50%, #0050b3 100%);
    color: #fff;
}

.wizard-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hero-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
}

.wizard-hero h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.65em;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    text-align: center;
    color: #fff;
}

.wizard-hero p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.92em;
    font-weight: 400;
    opacity: 0.8;
    line-height: 1.65;
    max-width: 480px;
    margin: 0 auto 16px;
    text-align: center;
    color: #fff;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.78em;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.15);
}

.trust-badge svg {
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
}

/* --- PROGRESS BAR --- */
.wizard-progress {
    background: #fff;
    padding: 22px 20px 18px;
    border-bottom: 1px solid #eef0f4;
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.progress-track {
    height: 3px;
    background: #e4e8ee;
    border-radius: 3px;
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    z-index: 0;
}

.progress-fill {
    height: 100%;
    background: #003087;
    border-radius: 3px;
    transition: width 0.45s ease;
    width: 0%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    cursor: default;
}

.step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8ecf2;
    color: #8a9bb5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.82em;
    transition: all 0.35s ease;
    border: 3px solid #e8ecf2;
    position: relative;
}

.step-circle .step-check {
    display: none;
}

.step-circle .step-num {
    display: inline;
}

.progress-step.active .step-circle {
    background: #003087;
    color: #fff;
    border-color: #003087;
    box-shadow: 0 0 0 4px rgba(0, 48, 135, 0.15);
}

.progress-step.completed .step-circle {
    background: #003087;
    color: #fff;
    border-color: #003087;
}

.progress-step.completed .step-circle .step-num {
    display: none;
}

.progress-step.completed .step-circle .step-check {
    display: inline;
    color: #fff;
}

.step-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.68em;
    color: #9aa8bd;
    margin-top: 7px;
    text-align: center;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.progress-step.active .step-label { color: #003087; }
.progress-step.completed .step-label { color: #003087; }

/* --- FORM STEPS --- */
.wizard-form .form-step {
    display: none;
    animation: wizardFadeIn 0.3s ease;
}

.wizard-form .form-step.active {
    display: block;
}

@keyframes wizardFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Step titles - force center */
.wizard-form .step-title {
    padding: 24px 28px 8px;
    text-align: center !important;
}

.wizard-form .step-title h2,
.wizard-form .step-title p {
    text-align: center !important;
}

.wizard-form .step-title h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 4px;
}

.wizard-form .step-title p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9em;
    color: #6c757d;
    line-height: 1.5;
}

/* Form content centering on desktop */
.wizard-form .form-step {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

/* Form sections in wizard */
.wizard-form .form-section {
    margin: 0;
    padding: 22px 28px;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    border-bottom: 1px solid #f0f2f5;
}

.wizard-form .form-section:last-of-type {
    border-bottom: none;
}

.wizard-form .form-section label.arabic {
    font-size: 1.05em;
    font-weight: 600;
    color: #1a2a4a;
    margin-bottom: 14px;
    line-height: 1.6;
}

/* Inputs in wizard */
.wizard-form .form-section input[type="text"],
.wizard-form .form-section input[type="tel"],
.wizard-form .form-section textarea {
    border: 1.5px solid #dce3ec;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 0.95em;
    background: #fafbfd;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    margin-bottom: 0;
}

.wizard-form .form-section input[type="text"]:focus,
.wizard-form .form-section input[type="tel"]:focus,
.wizard-form .form-section textarea:focus {
    border-color: #003087;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.07);
}

/* Radio / Checkbox in wizard */
.wizard-form .radio-group,
.wizard-form .checkbox-group {
    margin-bottom: 6px;
}

.wizard-form .radio-group label,
.wizard-form .checkbox-group label {
    padding: 9px 12px;
    border-radius: 8px;
    transition: background-color 0.15s;
    margin-bottom: 0;
    font-weight: 400;
}

.wizard-form .radio-group label:hover,
.wizard-form .checkbox-group label:hover {
    background-color: #f4f7fb;
}

.wizard-form .radio-group label::before {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #b8c4d4;
}

.wizard-form .checkbox-group label::before {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #b8c4d4;
}

.wizard-form .radio-group input[type="radio"]:checked + label {
    background-color: #f0f4ff;
}

.wizard-form .radio-group input[type="radio"]:checked + label::before {
    border-color: #003087;
    background: #003087;
}

.wizard-form .checkbox-group input[type="checkbox"]:checked + label {
    background-color: #f0f4ff;
}

.wizard-form .checkbox-group input[type="checkbox"]:checked + label::before {
    border-color: #003087;
    background: #003087;
}

/* Conditional fields in wizard */
.wizard-form .conditional-field {
    border-left: none;
    border-right: 3px solid #003087;
    border-radius: 0 8px 8px 0;
    background: #f5f7fb;
    margin: 4px 12px 8px;
    padding: 12px;
}

/* --- STEP NAVIGATION --- */
.step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px 28px;
    gap: 12px;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.step-nav-spacer {
    flex: 1;
}

.step-btn {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95em;
    font-weight: 700;
    padding: 11px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-btn svg {
    flex-shrink: 0;
}

.step-btn-next {
    background: #003087;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 48, 135, 0.2);
}

.step-btn-next:hover {
    background: #00256b;
    box-shadow: 0 3px 14px rgba(0, 48, 135, 0.3);
    transform: translateY(-1px);
}

.step-btn-prev {
    background: transparent;
    color: #5a6a7e;
    border: 1.5px solid #dce3ec;
}

.step-btn-prev:hover {
    background: #f4f6f9;
    border-color: #c0c9d6;
}

/* Submit button in wizard */
.wizard-form .submit-btn {
    background: #003087;
    font-family: 'Cairo', sans-serif;
    font-size: 1em;
    font-weight: 700;
    padding: 12px 36px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 48, 135, 0.2);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    width: auto;
}

.wizard-form .submit-btn:hover {
    background: #00256b;
    transform: translateY(-1px);
    box-shadow: 0 3px 14px rgba(0, 48, 135, 0.3);
}

.wizard-form .submit-btn svg {
    flex-shrink: 0;
}

/* Terms in wizard */
.wizard-form .terms-group {
    margin: 0;
    padding: 16px 28px;
    background: #f8f9fb;
    border-top: 1px solid #eef0f4;
    border-bottom: 1px solid #eef0f4;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.wizard-form .terms-group label.arabic {
    font-size: 0.92em;
}

/* Upload button in wizard */
.wizard-form .upload-btn {
    border-radius: 8px;
    padding: 11px 22px;
    font-weight: 600;
    background: #f4f7fb;
    color: #003087;
    border: 1.5px dashed #a0b4d0;
    box-shadow: none;
}

.wizard-form .upload-btn:hover {
    background: #e8eef8;
    border-color: #003087;
}

/* Add link button */
.add-link-btn {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    color: #003087;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.add-link-btn:hover {
    color: #0052cc;
}

/* Severity in wizard */
.wizard-form .severity-section .radio-group { margin-bottom: 4px; }
.wizard-form .severity-section .radio-group label { line-height: 1.5; }

/* --- WIZARD FOOTER --- */
.wizard-footer {
    padding: 28px 28px;
    text-align: center;
    border-top: 1px solid #eef0f4;
    background: #f7f8fb;
}

.wizard-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.wizard-footer-brand .footer-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.5;
}

.wizard-footer-brand span {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.85em;
    color: #8a9bb5;
}

.wizard-footer-copy {
    font-family: 'Cairo', sans-serif;
    font-size: 0.78em;
    color: #a0aec0;
}


/* =============================================================================
   WIZARD RESPONSIVE — Tablet (max-width: 768px)
   ============================================================================= */
@media (max-width: 768px) {
    .top-bar-inner { padding: 9px 18px; }

    .wizard-hero { padding: 32px 24px 20px; }
    .wizard-hero h1 { font-size: 1.45em; }
    .wizard-hero p { font-size: 0.88em; }
    .hero-logo { width: 44px; height: 44px; }

    .trust-badge { font-size: 0.72em; padding: 4px 10px; }

    .wizard-progress { padding: 18px 14px 14px; }
    .progress-track { top: 34px; left: 8%; right: 8%; }
    .step-circle { width: 30px; height: 30px; font-size: 0.75em; border-width: 2px; }
    .step-label { font-size: 0.6em; margin-top: 5px; }

    .wizard-form .form-section { padding: 18px 20px; }
    .wizard-form .form-section label.arabic { font-size: 1em; }

    .step-nav { padding: 16px 20px 24px; }
    .step-btn { padding: 10px 24px; font-size: 0.9em; }

    .wizard-form .radio-group label::before,
    .wizard-form .checkbox-group label::before { width: 18px; height: 18px; min-width: 18px; }
}


/* =============================================================================
   WIZARD RESPONSIVE — Phone (max-width: 480px)
   ============================================================================= */
@media (max-width: 480px) {
    .top-bar-inner { padding: 8px 14px; }
    .top-bar-logo { width: 20px; height: 20px; }
    .top-bar-name { font-size: 0.75em; }
    .top-bar-lang a { font-size: 0.8em; }
    .top-bar-lang { gap: 12px; }

    .wizard-hero { padding: 26px 18px 18px; }
    .wizard-hero h1 { font-size: 1.28em; }
    .wizard-hero p { font-size: 0.82em; }
    .hero-logo { width: 38px; height: 38px; margin-bottom: 10px; }

    .trust-badges { gap: 6px; }
    .trust-badge { font-size: 0.68em; padding: 3px 8px; }

    .wizard-progress { padding: 14px 8px 12px; }
    .progress-track { top: 28px; left: 6%; right: 6%; height: 2px; }
    .step-circle { width: 26px; height: 26px; font-size: 0.68em; border-width: 2px; }
    .step-circle .step-check { width: 11px; height: 11px; }
    .step-label { font-size: 0.52em; margin-top: 4px; }

    .wizard-form .form-section { padding: 16px 16px; }
    .wizard-form .form-section label.arabic { font-size: 0.95em; margin-bottom: 10px; }
    .wizard-form .form-section input[type="text"],
    .wizard-form .form-section input[type="tel"],
    .wizard-form .form-section textarea { padding: 11px 12px; font-size: 0.9em; border-radius: 7px; }

    .wizard-form .radio-group label,
    .wizard-form .checkbox-group label { padding: 7px 8px; font-size: 0.9em; }
    .wizard-form .radio-group label::before,
    .wizard-form .checkbox-group label::before { width: 17px; height: 17px; min-width: 17px; }

    .step-nav { padding: 14px 16px 22px; }
    .step-btn { padding: 10px 20px; font-size: 0.88em; border-radius: 7px; }
    .step-btn svg { width: 16px; height: 16px; }

    .wizard-form .submit-btn { padding: 12px 24px; font-size: 0.95em; }

    .wizard-form .terms-group { padding: 14px 16px; }
    .wizard-form .terms-group label.arabic { font-size: 0.88em; }

    .wizard-form .upload-btn { padding: 10px 18px; font-size: 0.88em; }

    .wizard-footer { padding: 20px 16px; }
}


/* =============================================================================
   WIZARD RESPONSIVE — Very small phones (max-width: 360px)
   ============================================================================= */
@media (max-width: 360px) {
    .wizard-hero h1 { font-size: 1.15em; }
    .wizard-hero p { font-size: 0.78em; }
    .hero-logo { width: 32px; height: 32px; }

    .trust-badge { font-size: 0.62em; }

    .step-circle { width: 22px; height: 22px; font-size: 0.6em; }
    .step-label { font-size: 0.48em; }

    .wizard-form .form-section { padding: 14px 12px; }
    .wizard-form .form-section label.arabic { font-size: 0.9em; }

    .wizard-form .radio-group label,
    .wizard-form .checkbox-group label { font-size: 0.85em; padding: 6px 6px; }

    .step-btn { padding: 9px 16px; font-size: 0.82em; }
}


/* =============================================================================
   ENGLISH WIZARD (LTR) OVERRIDES
   ============================================================================= */
.wizard-form-en {
    direction: ltr;
    text-align: left;
}

.wizard-form-en .wizard-hero h1,
.wizard-form-en .wizard-hero p,
.wizard-form-en .step-title h2,
.wizard-form-en .step-title p {
    text-align: center !important;
}

.wizard-form-en .form-section label {
    font-family: 'Cairo', sans-serif;
    text-align: left;
    font-size: 1.05em;
    color: #1a2a4a;
    margin-bottom: 14px;
    line-height: 1.6;
}

.wizard-form-en .radio-group label,
.wizard-form-en .checkbox-group label {
    font-size: 1em;
    font-weight: 400;
}

.wizard-form-en .terms-group label {
    font-size: 0.92em;
}

.wizard-form-en .form-section input[type="text"],
.wizard-form-en .form-section input[type="tel"],
.wizard-form-en .form-section textarea {
    font-size: 0.95em;
}

.wizard-form-en .radio-group label,
.wizard-form-en .checkbox-group label {
    direction: ltr;
    text-align: left;
}

.wizard-form-en .radio-group label::before,
.wizard-form-en .checkbox-group label::before {
    margin-right: 10px;
    margin-left: 0;
}

.wizard-form-en .terms-group label::before {
    margin-right: 10px;
    margin-left: 0;
}

.wizard-form-en .conditional-field {
    border-right: none;
    border-left: 3px solid #003087;
    border-radius: 8px 0 0 8px;
}

.wizard-form-en .info-description,
.wizard-form-en .upload-examples {
    text-align: left;
}

.wizard-form-en .upload-examples ul {
    padding-right: 0;
    padding-left: 25px;
}

.wizard-form-en .wizard-footer-copy,
.wizard-form-en .wizard-footer-brand {
    direction: ltr;
}
