      

        /* تنسيقات أزرار الدفع + بطاقات الاختيار */
.payment-btn {
    padding: 15px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Cairo', sans-serif;
}
.payment-btn:active { transform: scale(0.98); }
.btn-apple { background: #111; color: white; }
.btn-klarna { background: #ffd6e3; color: #1a1a2e; }
.btn-stripe { background: #0f3460; color: white; }

.pay-choice-wrap .pay-service-line { margin-bottom: 12px; color: #1e3a4f; }
.pay-base-strip {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 14px; border-radius: 12px; margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(15,52,96,.06), rgba(212,175,55,.12));
    border: 1px solid rgba(15,52,96,.08);
}
.pay-base-strip span { font-size: 13px; color: #6b7c8a; font-weight: 700; }
.pay-base-strip strong { font-size: 20px; color: #0f3460; font-weight: 900; }

.pay-options-grid {
    display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 720px) {
    .pay-options-grid { grid-template-columns: 1fr 1fr; }
}

.pay-option-card {
    border-radius: 16px; padding: 16px;
    border: 1px solid rgba(15,52,96,.10);
    background: #fff;
    display: flex; flex-direction: column; gap: 8px;
    min-height: 100%;
}
.pay-option-card--card {
    background: linear-gradient(180deg, #fff, rgba(15,52,96,.04));
    border-color: rgba(15,52,96,.16);
    box-shadow: 0 8px 22px rgba(15,52,96,.06);
}
.pay-option-card--bank {
    background: linear-gradient(180deg, #fff, rgba(39,174,96,.05));
    border-color: rgba(39,174,96,.22);
}
.pay-option-top {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.pay-option-tag {
    font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
    background: rgba(15,52,96,.08); color: #0f3460;
}
.pay-option-tag--save {
    background: rgba(39,174,96,.12); color: #1e7e34;
}
.pay-option-icons { display: flex; gap: 8px; color: #6b7c8a; font-size: 18px; }
.pay-option-card h5 {
    margin: 2px 0 0; font-size: 16px; font-weight: 800; color: #1a1a2e;
}
.pay-option-desc { margin: 0; font-size: 12.5px; color: #6b7c8a; line-height: 1.45; }

.pay-breakdown {
    margin-top: 6px; padding: 10px 12px; border-radius: 12px;
    background: rgba(15,52,96,.03); border: 1px dashed rgba(15,52,96,.12);
    display: flex; flex-direction: column; gap: 6px;
}
.pay-breakdown > div {
    display: flex; justify-content: space-between; gap: 10px;
    font-size: 12.5px; color: #6b7c8a;
}
.pay-breakdown b { color: #1e3a4f; font-weight: 800; }
.pay-breakdown-total {
    margin-top: 2px; padding-top: 8px; border-top: 1px solid rgba(15,52,96,.08);
    font-size: 14px !important; color: #0f3460 !important; font-weight: 700;
}
.pay-breakdown-total b { font-size: 18px; color: #0f3460; }
.pay-breakdown--simple { background: rgba(39,174,96,.05); border-color: rgba(39,174,96,.2); }

.pay-cta {
    margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 12px 14px; border-radius: 12px; border: none;
    font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 14px;
    cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.pay-cta:active { transform: scale(0.98); }
.pay-cta-primary {
    background: linear-gradient(135deg, #0f3460, #1a5276);
    color: #fff; box-shadow: 0 8px 18px rgba(15,52,96,.22);
}
.pay-cta-whatsapp {
    background: #25D366; color: #fff; box-shadow: 0 8px 18px rgba(37,211,102,.25);
}
.pay-cta-ghost {
    background: #fff; color: #1e7e34; border: 1.5px solid rgba(39,174,96,.45);
    margin-top: 8px;
}

.pay-modal-summary {
    text-align: right; margin-bottom: 16px; padding: 12px 14px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(15,52,96,.05), rgba(212,175,55,.08));
    border: 1px solid rgba(15,52,96,.08);
}
.pay-modal-summary-row {
    display: flex; justify-content: space-between; gap: 10px;
    font-size: 13px; color: #6b7c8a; margin-bottom: 6px;
}
.pay-modal-summary-row b { color: #1e3a4f; font-weight: 800; }
.pay-modal-summary-total {
    margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(15,52,96,.1);
    color: #0f3460; font-weight: 700;
}
.pay-modal-summary-total b { font-size: 18px; color: #0f3460; }
.pay-modal-note {
    margin: 4px 0 0; font-size: 12px; color: #6b7c8a; line-height: 1.45; text-align: center;
}

        :root {
            --primary-color: #1a1a2e;
            --secondary-color: #16213e;
            --accent-color: #0f3460;
            --gold-color: #d4af37;
            --gold-light: #f4e4b5;
            --success-color: #28a745;
            --danger-color: #dc3545;
            --text-primary: #2c3e50;
            --text-secondary: #7f8c8d;
            --bg-light: #f8f9fa;
            --bg-white: #ffffff;
            --border-color: #e0e0e0;
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Cairo', sans-serif;
            background: var(--bg-light);
            color: var(--text-primary);
            line-height: 1.6;
        }

        /* ============================================ */
        /* Login Screen */
        /* ============================================ */
        .login-screen {
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            padding: 20px;
        }

        .login-card {
            background: var(--bg-white);
            border-radius: 20px;
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            max-width: 450px;
            width: 100%;
            animation: slideIn 0.5s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-header {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            padding: 40px 30px;
            text-align: center;
        }

        .login-header i {
            font-size: 50px;
            margin-bottom: 15px;
        }

        .login-header h1 {
            font-size: 26px;
            margin-bottom: 8px;
        }

        .login-header p {
            font-size: 13px;
            opacity: 0.9;
        }

        .login-tabs {
            display: flex;
            border-bottom: 2px solid var(--border-color);
        }

        .login-tab {
            flex: 1;
            background: transparent;
            border: none;
            padding: 15px;
            font-family: 'Cairo', sans-serif;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
        }

        .login-tab.active {
            color: var(--primary-color);
            border-bottom-color: var(--gold-color);
        }

        .login-body {
            padding: 35px 30px;
        }

        .login-form {
            display: none;
        }

        .login-form.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .nationality-btn.selected {
    border-color: var(--gold-color);
    background: rgba(212, 175, 55, 0.1);
    font-weight: 700;
}

        /* ============================================ */
        /* Dashboard */
        /* ============================================ */
        .dashboard-header {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            padding: 20px;
            box-shadow: var(--shadow);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .user-avatar img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 3px solid var(--gold-color);
            object-fit: cover;
        }

        .user-details h3 {
            font-size: 18px;
            margin-bottom: 3px;
        }

        .user-details p {
            font-size: 13px;
            opacity: 0.9;
        }

        .btn-logout {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
            padding: 10px 20px;
            border-radius: 8px;
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-logout:hover {
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
        }

        /* ============================================ */
        /* Tabs */
        /* ============================================ */
        .tabs-container {
            background: var(--bg-white);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .tabs {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            gap: 5px;
            padding: 0 20px;
        }

        .tab-btn {
            flex: 1;
            background: transparent;
            border: none;
            padding: 18px 20px;
            font-family: 'Cairo', sans-serif;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .tab-btn i {
            font-size: 18px;
        }

        .tab-btn.active {
            color: var(--primary-color);
            border-bottom-color: var(--gold-color);
        }

        #tab-content {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
        }

        /* ============================================ */
        /* طلباتي — تبويبات الحالة (Orders Sub-Tabs) */
        /* ============================================ */
        .orders-container {
            padding: 0 0 24px;
        }

        .orders-container > h2 {
            margin-bottom: 18px;
            color: var(--text-primary);
            font-size: 1.35rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .orders-container > h2 i {
            color: var(--gold-color);
        }

        .orders-tabs {
            display: flex;
            flex-wrap: nowrap;
            gap: 8px;
            margin-bottom: 22px;
            padding: 10px 4px 12px;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x proximity;
            scrollbar-width: thin;
            scrollbar-color: var(--gold-color) transparent;
            position: sticky;
            top: var(--dashboard-tabs-h, 57px);
            z-index: 90;
            background: linear-gradient(
                to bottom,
                var(--bg-light) 0%,
                var(--bg-light) 85%,
                rgba(248, 249, 250, 0) 100%
            );
            transition: box-shadow 0.25s ease;
        }

        .orders-tabs.is-stuck {
            box-shadow: 0 6px 16px rgba(26, 26, 46, 0.08);
        }

        .orders-tabs::-webkit-scrollbar {
            height: 4px;
        }

        .orders-tabs::-webkit-scrollbar-thumb {
            background: var(--gold-color);
            border-radius: 4px;
        }

        .orders-tab-btn {
            flex: 0 0 auto;
            scroll-snap-align: start;
            min-height: 44px;
            min-width: max-content;
            max-width: none;
            background: var(--bg-white);
            border: 1.5px solid var(--border-color);
            border-radius: 12px;
            padding: 10px 14px;
            cursor: pointer;
            transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
            display: inline-flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 8px;
            position: relative;
            font-family: 'Cairo', sans-serif;
            font-size: 13.5px;
            font-weight: 700;
            color: var(--text-secondary);
            white-space: nowrap;
            line-height: 1.35;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }

        .orders-tab-btn i {
            font-size: 15px;
            color: var(--gold-color);
            transition: color 0.22s ease;
            flex-shrink: 0;
        }

        .orders-tab-btn > span:not(.tab-badge) {
            font-weight: 700;
        }

        .orders-tab-btn:hover {
            border-color: rgba(212, 175, 55, 0.55);
            color: var(--text-primary);
            box-shadow: 0 2px 10px rgba(26, 26, 46, 0.06);
        }

        .orders-tab-btn:focus-visible {
            outline: 2px solid var(--gold-color);
            outline-offset: 2px;
        }

        .orders-tab-btn.active {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-color: var(--primary-color);
            color: #fff;
            box-shadow: 0 4px 14px rgba(15, 52, 96, 0.28);
            transform: translateY(-1px);
        }

        .orders-tab-btn.active i {
            color: var(--gold-light);
        }

        .orders-tab-btn .tab-badge {
            position: static;
            flex-shrink: 0;
            min-width: 22px;
            height: 22px;
            padding: 0 6px;
            background: rgba(220, 53, 69, 0.12);
            color: var(--danger-color);
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 800;
            line-height: 1;
            transition: background 0.22s ease, color 0.22s ease;
        }

        .orders-tab-btn.active .tab-badge {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
        }

        #orders-sub-tab-content {
            animation: ordersSubFade 0.28s ease;
        }

        @keyframes ordersSubFade {
            from { opacity: 0; transform: translateY(6px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (min-width: 769px) {
            .orders-tabs {
                flex-wrap: wrap;
                overflow-x: visible;
                scroll-snap-type: none;
                gap: 10px;
                padding: 8px 0 14px;
            }

            .orders-tab-btn {
                flex: 1 1 calc(20% - 10px);
                min-width: 140px;
                padding: 12px 16px;
                font-size: 14px;
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            .orders-container > h2 {
                margin-bottom: 12px;
                font-size: 1.2rem;
            }

            .orders-tabs {
                margin-inline: -12px;
                padding-inline: 12px;
                gap: 8px;
                /* Mask hint that more tabs scroll horizontally */
                mask-image: linear-gradient(to left, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
                -webkit-mask-image: linear-gradient(to left, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
            }

            .orders-tab-btn {
                min-height: 44px;
                padding: 11px 14px;
                font-size: 13px;
                border-radius: 999px;
            }

            .orders-tab-btn i {
                font-size: 14px;
            }
        }

        /* ============================================ */
        /* Form Fields with Golden Border */
        /* ============================================ */
        .form-field {
            margin-bottom: 20px;
            position: relative;
        }

        .form-field label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .form-field input,
        .form-field textarea,
        .form-field select {
            width: 100%;
            padding: 12px 45px 12px 15px;
            border: 2px solid var(--gold-light);
            border-radius: 10px;
            font-family: 'Cairo', sans-serif;
            font-size: 14px;
            transition: all 0.3s ease;
            background: var(--bg-white);
        }

        .form-field input:focus,
        .form-field textarea:focus,
        .form-field select:focus {
            outline: none;
            border-color: var(--gold-color);
            box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
            transform: translateY(-1px);
        }

        .form-field textarea {
            padding: 12px 15px;
            resize: vertical;
            min-height: 80px;
        }

        .form-field i {
            position: absolute;
            right: 15px;
            top: 38px;
            color: var(--gold-color);
            font-size: 16px;
        }

        /* ============================================ */
        /* Buttons */
        /* ============================================ */
        .btn-primary {
            width: 100%;
            background: linear-gradient(135deg, var(--gold-color), #c9a227);
            color: white;
            border: none;
            padding: 14px 20px;
            border-radius: 10px;
            font-family: 'Cairo', sans-serif;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        /* ============================================ */
        /* Services Grid */
        /* ============================================ */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }

        .service-card {
            background: var(--bg-white);
            border: 2px solid var(--gold-light);
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }

        .service-card:hover {
            border-color: var(--gold-color);
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .service-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .service-icon i {
            font-size: 32px;
            color: white;
        }

        .service-card h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .service-card p {
            font-size: 14px;
            color: var(--text-secondary);
        }

        /* ============================================ */
        /* Service Wizard */
        /* ============================================ */
        .service-wizard {
            background: var(--bg-white);
            border: 2px solid var(--gold-light);
            border-radius: 15px;
            padding: 30px;
            box-shadow: var(--shadow);
        }

        .wizard-header {
            margin-bottom: 30px;
            text-align: center;
        }

        .wizard-header h2 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--text-primary);
        }

        .wizard-steps {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .step {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--bg-light);
            border: 2px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: var(--text-secondary);
            transition: all 0.3s ease;
        }

        .step.active {
            background: var(--gold-color);
            border-color: var(--gold-color);
            color: white;
        }

        .wizard-body {
            min-height: 300px;
        }

        .wizard-step {
            display: none;
        }

        .wizard-step.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        /* ============================================ */
        /* Upload Area */
        /* ============================================ */
        .upload-area {
            border: 3px dashed var(--gold-light);
            border-radius: 15px;
            padding: 60px 30px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: var(--bg-light);
        }

        .upload-area:hover {
            border-color: var(--gold-color);
            background: rgba(212, 175, 55, 0.05);
        }

        .upload-area i {
            font-size: 50px;
            color: var(--gold-color);
            margin-bottom: 15px;
        }

        .upload-area p {
            font-size: 16px;
            color: var(--text-secondary);
        }

        /* ============================================ */
        /* Nationality Grid (Smaller Flags) */
        /* ============================================ */

        
        .nationality-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 12px;
            margin-top: 20px;
        }

        .nationality-btn {
            background: var(--bg-white);
            border: 2px solid var(--gold-light);
            border-radius: 10px;
            padding: 12px 15px;
            font-family: 'Cairo', sans-serif;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .nationality-btn:hover {
            border-color: var(--gold-color);
            background: rgba(212, 175, 55, 0.05);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        /* ============================================ */
        /* Options Grid */
        /* ============================================ */
        .options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }

        .option-btn {
            background: var(--bg-white);
            border: 2px solid var(--gold-light);
            border-radius: 10px;
            padding: 20px;
            font-family: 'Cairo', sans-serif;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .option-btn:hover {
            border-color: var(--gold-color);
            background: rgba(212, 175, 55, 0.05);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        /* ============================================ */
        /* Messages */
        /* ============================================ */
        .loading {
            text-align: center;
            padding: 60px 20px;
        }

        .loading i {
            font-size: 40px;
            color: var(--gold-color);
            margin-bottom: 15px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .loading p {
            font-size: 16px;
            color: var(--text-secondary);
        }

        .success-message {
            background: #d4edda;
            color: #155724;
            padding: 12px 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            border: 1px solid #c3e6cb;
        }

        .error-message {
            background: #f8d7da;
            color: #721c24;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            border: 2px solid #f5c6cb;
        }

        .error-message i {
            font-size: 50px;
            margin-bottom: 15px;
        }

        .error-message p {
            font-size: 16px;
            margin-bottom: 20px;
        }

        /* ============================================ */
        /* Review Card */
        /* ============================================ */
        .review-card {
            background: var(--bg-light);
            border: 2px solid var(--gold-light);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .review-card p {
            font-size: 14px;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }

        .review-card p:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .review-card strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        /* ============================================ */
        /* Orders List */
        /* ============================================ */
        .orders-list {
            display: grid;
            gap: 20px;
        }

        .order-card {
            background: var(--bg-white);
            border: 2px solid var(--gold-light);
            border-radius: 12px;
            padding: 20px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            position: relative;
        }

        .order-card:hover {
            border-color: var(--gold-color);
            box-shadow: var(--shadow-lg);
        }

        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--bg-light);
        }

        .order-header h4 {
            font-size: 16px;
            color: var(--text-primary);
        }

        .status-badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .status-pending {
            background: #fff3cd;
            color: #856404;
        }

        .status-approved {
            background: #d4edda;
            color: #155724;
        }

        .status-rejected {
            background: #f8d7da;
            color: #721c24;
        }

        .order-body p {
            font-size: 14px;
            margin-bottom: 8px;
            color: var(--text-secondary);
        }

        /* ============================================ */
        /* Profile */
        /* ============================================ */
        .profile-container {
            max-width: 600px;
            margin: 0 auto;
        }

        .profile-header {
            background: var(--bg-white);
            border: 2px solid var(--gold-light);
            border-radius: 15px;
            padding: 40px;
            text-align: center;
            margin-bottom: 30px;
            box-shadow: var(--shadow);
        }

        .profile-avatar {
            width: 120px;
            height: 120px;
            margin: 0 auto 20px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid var(--gold-color);
        }

        .profile-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-header h2 {
            font-size: 24px;
            margin-bottom: 8px;
            color: var(--text-primary);
        }

        .profile-header p {
            font-size: 14px;
            color: var(--text-secondary);
        }

        .profile-body {
            background: var(--bg-white);
            border: 2px solid var(--gold-light);
            border-radius: 15px;
            padding: 30px;
            box-shadow: var(--shadow);
        }

        /* ============================================ */
        /* Empty State */
        /* ============================================ */
        .empty-state {
            text-align: center;
            padding: 80px 20px;
        }

        .empty-state i {
            font-size: 60px;
            color: var(--text-secondary);
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .empty-state h3 {
            font-size: 22px;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .empty-state p {
            font-size: 15px;
            color: var(--text-secondary);
        }

        /* ========================================================= */
/* 1. تنسيق حاوية الأزرار (Options Container) */
/* ========================================================= */
.options-container {
    /* أساس نظام التوزيع */
    display: flex; 
    
    /* يضمن توزيع المسافة الزائدة بين الأزرار */
    justify-content: space-between; 
    
    /* يضع مسافة (فراغ) ثابتة بين الأزرار */
    gap: 15px; /* يمكنك تعديل هذه القيمة حسب الحاجة */

    /* يضمن التفاف الأزرار إلى سطر جديد في الشاشات الصغيرة */
    flex-wrap: wrap; 
    
    margin-top: 15px;
}

/* ========================================================= */
/* 2. تنسيق الأزرار نفسها (Option Button) لكي تتمدد */
/* ========================================================= */
.options-container .option-btn {
    /* 🛑 الإضافة الحاسمة: تسمح للزر بالتمدد ليأخذ أكبر مساحة ممكنة بالتساوي مع الأزرار الأخرى */
    flex-grow: 1; 
    
    /* لمنع الأزرار من أن تكون عريضة جداً إذا كان عددها قليل */
    /* يمكنك تعيين عرض أساسي مثلاً: */
    flex-basis: auto; 
}
        /* ============================================ */
/* تنسيقات رسائل الخطأ أسفل الحقل */
/* ============================================ */
.field-error-message {
    color: #cc0000; /* أحمر داكن */
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.field-error-message i {
    font-size: 14px;
}

.input-error {
    border-color: #cc0000 !important;
    box-shadow: 0 0 0 1px #cc0000;
}

/* ============================================ */
/* 🔥 تنسيقات جديدة للطلبات المكتملة */
/* ============================================ */
.order-card.completed-card {
    border-color: #28a745; /* حدود خضراء */
    background: #f0fff4; /* خلفية خضراء فاتحة جداً */
}

.status-badge.status-completed {
    background: #28a745;
    color: white;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.btn-download.approval {
    background: #007bff;
    color: white;
}
.btn-download.approval:hover {
    background: #0056b3;
}

.btn-download.circular {
    background: var(--gold-color);
    color: #fff;
}
.btn-download.circular:hover {
    background: #c9a227;
}


/* ============================================ */
/* 🔥 تنسيقات جديدة لقسم التعميم وخدمة العملاء */
/* ============================================ */
.final-files-section, .circular-upload-section, .customer-support-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.section-title {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.section-title.warning-title {
    color: #856404; /* لون برتقالي داكن */
}

.circular-upload-section p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.btn-upload-ticket {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-upload-ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* ============================================ */
/* 🔥 تنسيقات جديدة لرسالة نجاح رفع التذكرة */
/* ============================================ */
.ticket-success-message {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f5e9; /* أخضر فاتح */
    color: #155724; /* أخضر داكن */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.ticket-success-message i {
    font-size: 20px;
}

.btn-upload-ticket.edit {
    background: linear-gradient(135deg, #6c757d, #343a40); /* تدرج رمادي */
}

.btn-upload-ticket.edit:hover {
    background: #343a40;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


        /* ============================================ */
        /* Responsive */
        /* ============================================ */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 15px;
            }

            .tabs {
                flex-direction: column;
            }

            .tab-btn {
                border-bottom: none;
                border-right: 3px solid transparent;
            }

            .tab-btn.active {
                border-right-color: var(--gold-color);
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .nationality-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* 🎯 التعديل الثاني: أضف هذا الكود إلى قسم CSS */

.tab-pane {
    display: none; /* إخفاء جميع الحاويات بشكل افتراضي */
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block; /* إظهار الحاوية النشطة فقط */
}

/* هذا التأثير موجود مسبقاً ولكن نؤكد عليه */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ===== تم الدفع — بانتظار مراجعة الإدارة ===== */
.pay-done-banner { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 4px; padding: 14px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(39,174,96,.10), rgba(39,174,96,.04)); border: 1px solid rgba(39,174,96,.35); text-align: right; }
.pay-done-banner > i { font-size: 26px; color: #27ae60; flex-shrink: 0; margin-top: 2px; }
.pay-done-banner b { display: block; color: #1e7e34; font-size: 15.5px; margin-bottom: 4px; }
.pay-done-banner span { display: block; color: #4b5d52; font-size: 13px; line-height: 1.7; }
.pay-done-card .pay-cta-ghost { width: 100%; }
