/* حسابي — منسوخ من my-account.php في متجر محمد بكري (2026-10-23) */

/* ---- block 0 ---- */

        /* ========== KEYFRAME ANIMATIONS ========== */
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
        @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
        @keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
        @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
        @keyframes odpulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245,158,11,0.4); } 50% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(245,158,11,0); } }
        @keyframes slideModal { from { opacity: 0; transform: translateY(30px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
        @keyframes countUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes borderGlow { 0%,100% { border-color: rgba(0,212,255,0.3); } 50% { border-color: rgba(124,58,237,0.5); } }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ========== BASE ========== */
        .account-container { max-width: 960px; margin: 0 auto; padding: 35px 20px 60px; min-height: 60vh; }

        /* ========== GLASS CARD MIXIN ========== */
        .glass { background: rgba(255,255,255,0.03); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.06); }
        
        /* ========== AUTH FORMS ========== */
        .auth-wrapper { max-width: 460px; margin: 50px auto; animation: fadeInUp 0.6s ease-out; }
        .auth-card { background: rgba(255,255,255,0.03); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.07); border-radius: 24px; padding: 44px 34px; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05) inset; }
        .auth-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 20%, rgba(0,212,255,0.04) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(124,58,237,0.04) 0%, transparent 50%); pointer-events: none; }
        .auth-header { text-align: center; margin-bottom: 32px; position: relative; }
        .auth-header .auth-icon { width: 76px; height: 76px; border-radius: 22px; background: linear-gradient(135deg, var(--primary), #7c3aed); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 1.8rem; color: white; box-shadow: 0 10px 30px rgba(0,212,255,0.25); animation: float 4s ease-in-out infinite; position: relative; }
        .auth-header .auth-icon::after { content: ''; position: absolute; inset: -3px; border-radius: 24px; background: linear-gradient(135deg, var(--primary), #7c3aed, var(--primary)); background-size: 200% 200%; animation: gradientShift 4s ease infinite; z-index: -1; opacity: 0.5; filter: blur(8px); }
        .auth-header h1 { font-size: 1.5rem; margin: 0 0 8px; font-weight: 800; background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .auth-header p { color: var(--text-secondary); font-size: 0.92rem; margin: 0; line-height: 1.6; }
        
        .form-group { margin-bottom: 22px; }
        .form-group label { display: flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 9px; font-size: 0.88rem; color: var(--text-secondary); }
        .form-group label i { font-size: 0.85rem; }
        .form-group label .required { color: #ef4444; font-size: 0.7rem; }
        .form-input { width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.08); border-radius: 14px; color: var(--text-primary); font-family: inherit; font-size: 0.98rem; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); box-sizing: border-box; }
        .form-input:focus { outline: none; border-color: var(--primary); background: rgba(0,212,255,0.04); box-shadow: 0 0 0 4px rgba(0,212,255,0.1), 0 4px 20px rgba(0,212,255,0.08); }
        .form-input::placeholder { color: var(--text-muted); opacity: 0.7; }
        .form-input:hover:not(:focus) { border-color: rgba(255,255,255,0.15); }
        
        .password-wrapper { position: relative; }
        .password-wrapper .form-input { padding-left: 48px; }
        .password-toggle { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.1rem; padding: 5px; transition: color 0.3s; z-index: 2; }
        .password-toggle:hover { color: var(--primary); }
        
        .auth-btn { width: 100%; padding: 15px; background: linear-gradient(135deg, var(--primary), #7c3aed); color: white; border: none; border-radius: 14px; font-size: 1.05rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; overflow: hidden; }
        .auth-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent); transform: translateX(-100%); transition: transform 0.6s; }
        .auth-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(0,212,255,0.3), 0 4px 15px rgba(124,58,237,0.2); }
        .auth-btn:hover::before { transform: translateX(100%); }
        .auth-btn:active { transform: translateY(0); }
        
        .auth-footer { text-align: center; margin-top: 24px; color: var(--text-secondary); font-size: 0.9rem; }
        .auth-footer a { color: var(--primary); text-decoration: none; font-weight: 700; transition: all 0.3s; }
        .auth-footer a:hover { color: #7c3aed; text-shadow: 0 0 20px rgba(0,212,255,0.3); }
        
        /* ========== ALERTS ========== */
        .alert { padding: 15px 18px; border-radius: 14px; margin-bottom: 22px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; animation: fadeIn 0.4s ease; backdrop-filter: blur(10px); }
        .alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
        .alert-error a { color: #f87171; text-decoration: underline; font-weight: 600; }
        .alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
        
        /* ========== LOGIN EMAIL BADGE ========== */
        .login-email-badge { display: flex; align-items: center; gap: 12px; background: rgba(0,212,255,0.05); border: 1px solid rgba(0,212,255,0.15); border-radius: 14px; padding: 14px 18px; margin-bottom: 24px; animation: fadeIn 0.4s ease; }
        .login-email-badge i:first-child { color: var(--primary); font-size: 1.1rem; }
        .login-email-badge span { flex: 1; font-weight: 700; color: var(--primary); direction: ltr; text-align: left; font-size: 0.95rem; }
        .login-email-badge a { color: var(--text-muted); font-size: 0.85rem; transition: all 0.3s; text-decoration: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,0.05); }
        .login-email-badge a:hover { color: var(--primary); background: rgba(0,212,255,0.1); }
        
        /* ========== VERIFY EMAIL ========== */
        .verify-email-display { display: flex; align-items: center; gap: 14px; background: rgba(0,212,255,0.04); border: 1px solid rgba(0,212,255,0.12); border-radius: 14px; padding: 16px 20px; margin-bottom: 28px; }
        .verify-email-display i { font-size: 2rem; color: var(--primary); }
        .verify-email-display strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
        .verify-email-display span { color: var(--text-secondary); font-size: 0.86rem; }
        
        /* ========== OTP INPUTS ========== */
        .otp-inputs { display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; direction: ltr; }
        .otp-digit { width: 52px; height: 60px; text-align: center; font-size: 1.5rem; font-weight: 700; background: rgba(255,255,255,0.04); border: 2px solid rgba(255,255,255,0.1); border-radius: 14px; color: var(--text-primary); font-family: 'Cairo', monospace; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
        .otp-digit:focus { outline: none; border-color: var(--primary); background: rgba(0,212,255,0.05); box-shadow: 0 0 0 4px rgba(0,212,255,0.12), 0 8px 25px rgba(0,212,255,0.1); transform: translateY(-2px); }
        @media (max-width: 400px) {
            .otp-digit { width: 44px; height: 52px; font-size: 1.2rem; }
            .otp-inputs { gap: 7px; }
        }
        
        /* ========== DASHBOARD HEADER ========== */
        .dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; padding: 28px 30px; background: rgba(255,255,255,0.03); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; flex-wrap: wrap; gap: 18px; animation: fadeInUp 0.5s ease-out; position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
        .dash-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), #7c3aed, #ec4899, var(--primary)); background-size: 300% 100%; animation: gradientShift 4s ease infinite; }
        .dash-header-right { display: flex; align-items: center; gap: 18px; }
        .dash-avatar { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), #7c3aed); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: white; flex-shrink: 0; box-shadow: 0 8px 24px rgba(0,212,255,0.2); position: relative; }
        .dash-avatar::after { content: ''; position: absolute; inset: -2px; border-radius: 18px; background: linear-gradient(135deg, var(--primary), #7c3aed); z-index: -1; filter: blur(8px); opacity: 0.4; }
        .dash-welcome h1 { font-size: 1.35rem; margin: 0 0 3px; font-weight: 800; }
        .dash-welcome p { color: var(--text-secondary); margin: 0; font-size: 0.88rem; direction: ltr; text-align: right; }
        .dash-actions { display: flex; gap: 10px; }
        .dash-actions a, .dash-actions button { padding: 10px 22px; border-radius: 12px; font-size: 0.88rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 7px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
        .btn-outline { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1) !important; color: var(--text-primary); }
        .btn-outline:hover { border-color: var(--primary) !important; color: var(--primary); background: rgba(0,212,255,0.06); transform: translateY(-1px); }
        .btn-logout { background: rgba(239,68,68,0.08); color: #f87171; border: 1px solid rgba(239,68,68,0.15) !important; }
        .btn-logout:hover { background: #ef4444; color: white; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(239,68,68,0.3); }
        
        /* ========== STATS GRID ========== */
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
        .stat-card { background: rgba(255,255,255,0.03); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.06); border-radius: 18px; padding: 24px 16px; text-align: center; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden; animation: fadeInUp 0.5s ease-out both; }
        .stat-card:nth-child(1) { animation-delay: 0.1s; }
        .stat-card:nth-child(2) { animation-delay: 0.2s; }
        .stat-card:nth-child(3) { animation-delay: 0.3s; }
        .stat-card:nth-child(4) { animation-delay: 0.4s; }
        .stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px 3px 0 0; opacity: 0; transition: opacity 0.3s; }
        .stat-card:nth-child(1)::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
        .stat-card:nth-child(2)::before { background: linear-gradient(90deg, #10b981, #34d399); }
        .stat-card:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
        .stat-card:nth-child(4)::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
        .stat-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.12); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
        .stat-card:hover::before { opacity: 1; }
        .stat-card .stat-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.25rem; transition: transform 0.3s; }
        .stat-card:hover .stat-icon { transform: scale(1.1); }
        .stat-card .stat-value { font-size: 1.7rem; font-weight: 900; margin-bottom: 4px; animation: countUp 0.6s ease-out both; }
        .stat-card .stat-label { color: var(--text-secondary); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3px; }
        
        /* ========== TABS ========== */
        .tabs { display: flex; gap: 4px; margin-bottom: 28px; background: rgba(255,255,255,0.03); border-radius: 16px; padding: 5px; border: 1px solid rgba(255,255,255,0.06); animation: fadeInUp 0.5s ease-out 0.3s both; }
        .tab-btn { flex: 1; padding: 13px; border: none; background: transparent; border-radius: 12px; font-family: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer; color: var(--text-secondary); transition: all 0.35s cubic-bezier(0.4,0,0.2,1); display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; }
        .tab-btn.active { background: linear-gradient(135deg, var(--primary), #7c3aed); color: white; box-shadow: 0 6px 20px rgba(0,212,255,0.25); }
        .tab-btn:hover:not(.active) { color: var(--primary); background: rgba(0,212,255,0.06); }
        .tab-content { display: none; animation: fadeIn 0.35s ease; }
        .tab-content.active { display: block; }
        
        /* ========== ORDERS LIST ========== */
        .orders-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
        @media (max-width: 700px) { .orders-list { grid-template-columns: 1fr; } }
        .order-card { background: rgba(255,255,255,0.03); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.06); border-radius: 18px; padding: 22px; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden; animation: fadeInUp 0.4s ease-out both; }
        .order-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary), #7c3aed); opacity: 0; transition: opacity 0.3s; }
        .order-card:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-2px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); }
        .order-card:hover::after { opacity: 1; }
        .order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
        .order-number { font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
        .order-number span { color: var(--primary); }
        .order-badge { padding: 5px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; letter-spacing: 0.2px; }
        .order-body { display: flex; gap: 16px; align-items: center; }
        .order-img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
        .order-details h4 { margin: 0 0 5px; font-size: 0.95rem; font-weight: 700; }
        .order-details p { margin: 0 0 2px; color: var(--text-secondary); font-size: 0.83rem; }
        .order-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.05); flex-wrap: wrap; gap: 10px; }
        .order-meta { display: flex; flex-direction: column; gap: 4px; }
        .order-price { font-weight: 900; font-size: 1.15rem; color: var(--primary); display: flex; align-items: baseline; gap: 4px; }
        .order-price small { font-size: 0.7rem; font-weight: 600; opacity: 0.7; }
        .order-date { color: var(--text-muted); font-size: 0.78rem; display: flex; align-items: center; gap: 5px; }
        .order-date i { font-size: 0.7rem; opacity: 0.6; }
        .order-link { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 10px; background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.12); transition: all 0.3s; cursor: pointer; font-family: inherit; }
        .order-link:hover { background: rgba(0,212,255,0.12); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,212,255,0.15); text-decoration: none; }
        
        .empty-state { text-align: center; padding: 80px 20px; color: var(--text-secondary); animation: fadeInUp 0.5s ease; }
        .empty-state i { font-size: 3.5rem; margin-bottom: 20px; color: var(--text-muted); display: block; opacity: 0.5; }
        .empty-state h3 { margin: 0 0 10px; font-size: 1.15rem; }
        .empty-state a { color: var(--primary); text-decoration: none; font-weight: 700; padding: 10px 24px; border: 1px solid rgba(0,212,255,0.2); border-radius: 12px; display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; transition: all 0.3s; background: rgba(0,212,255,0.05); }
        .empty-state a:hover { background: rgba(0,212,255,0.1); transform: translateY(-1px); }
        
        /* ========== ORDER DETAIL MODAL ========== */
        .od-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 15px; transition: opacity 0.3s; }
        .od-overlay.active { display: flex; }
        .od-box { background: var(--bg-secondary); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; width: 100%; max-width: 660px; max-height: 90vh; overflow-y: auto; animation: slideModal 0.4s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 25px 80px rgba(0,0,0,0.5); }
        .od-box::-webkit-scrollbar { width: 6px; }
        .od-box::-webkit-scrollbar-track { background: transparent; }
        .od-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
        .od-header { padding: 22px 26px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02); }
        .od-header h3 { margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; font-weight: 700; }
        .od-header h3 i { color: var(--primary); }
        .od-close { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); width: 36px; height: 36px; border-radius: 10px; font-size: 1.4rem; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
        .od-close:hover { color: #ef4444; background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); }
        .od-body { padding: 24px; }
        .od-loading { text-align: center; padding: 50px; }
        .od-loading i { font-size: 2rem; color: var(--primary); animation: spin 1s linear infinite; }
        
        .od-status-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
        .od-order-num { font-weight: 800; font-size: 1rem; }
        .od-order-num span { color: var(--primary); }
        .od-status-badge { padding: 7px 18px; border-radius: 22px; font-size: 0.83rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
        
        .od-progress { display: flex; justify-content: space-between; position: relative; margin: 28px 0; padding: 0 10px; }
        .od-progress::before { content: ''; position: absolute; top: 23px; left: 50px; right: 50px; height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; }
        .od-step { text-align: center; position: relative; z-index: 1; flex: 1; }
        .od-step-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border: 2px solid rgba(255,255,255,0.08); border-radius: 50%; margin: 0 auto 8px; font-size: 1rem; color: var(--text-muted); transition: all 0.4s; }
        .od-step.done .od-step-icon { background: #10b981; border-color: #10b981; color: white; box-shadow: 0 4px 15px rgba(16,185,129,0.3); }
        .od-step.current .od-step-icon { background: #f59e0b; border-color: #f59e0b; color: white; animation: odpulse 2s infinite; }
        .od-step-label { font-size: 0.73rem; color: var(--text-muted); font-weight: 600; }
        .od-step.done .od-step-label, .od-step.current .od-step-label { color: var(--text-primary); font-weight: 700; }
        
        .od-product { display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 16px; margin-bottom: 20px; }
        .od-product img { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; background: rgba(255,255,255,0.04); }
        .od-product-info h4 { margin: 0 0 5px; font-size: 0.95rem; font-weight: 700; }
        .od-product-info p { margin: 0 0 2px; font-size: 0.82rem; color: var(--text-secondary); }
        .od-product-price { margin-right: auto; font-weight: 900; color: var(--primary); font-size: 1.08rem; white-space: nowrap; }
        
        .od-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
        .od-info-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 13px 15px; }
        .od-info-item label { display: block; font-size: 0.73rem; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }
        .od-info-item span { font-weight: 700; font-size: 0.88rem; color: var(--text-primary); }
        
        .od-timeline { margin-bottom: 20px; }
        .od-timeline h4 { margin: 0 0 14px; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; font-weight: 700; }
        .od-timeline h4 i { color: var(--primary); }
        .od-tl-item { display: flex; gap: 12px; padding-bottom: 16px; position: relative; }
        .od-tl-item:not(:last-child)::before { content: ''; position: absolute; top: 28px; right: 10px; bottom: 0; width: 2px; background: rgba(255,255,255,0.06); }
        .od-tl-dot { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; flex-shrink: 0; background: rgba(255,255,255,0.04); border: 2px solid rgba(255,255,255,0.08); transition: all 0.3s; }
        .od-tl-item.active .od-tl-dot { background: #10b981; border-color: #10b981; color: white; box-shadow: 0 3px 10px rgba(16,185,129,0.3); }
        .od-tl-item.danger .od-tl-dot { background: #ef4444; border-color: #ef4444; color: white; box-shadow: 0 3px 10px rgba(239,68,68,0.3); }
        .od-tl-content h5 { margin: 0 0 3px; font-size: 0.88rem; font-weight: 700; }
        .od-tl-content p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }
        
        .od-delivery { background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.03)); border: 1px solid rgba(16,185,129,0.2); border-radius: 16px; padding: 20px; margin-bottom: 20px; }
        .od-delivery h4 { margin: 0 0 14px; color: #34d399; display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 700; }
        .od-delivery-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 15px; margin-bottom: 10px; }
        .od-delivery-box label { display: block; font-size: 0.76rem; color: var(--text-muted); margin-bottom: 5px; font-weight: 600; }
        .od-delivery-box .val { font-family: 'Cairo', monospace; font-size: 1.1rem; color: var(--primary); word-break: break-all; font-weight: 700; }
        .od-copy-btn { padding: 7px 16px; background: linear-gradient(135deg, var(--primary), #0ea5e9); color: #000; border: none; border-radius: 8px; cursor: pointer; font-size: 0.8rem; font-weight: 700; font-family: inherit; float: left; transition: all 0.3s; }
        .od-copy-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,212,255,0.3); }
        
        .od-instructions { background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(245,158,11,0.03)); border-right: 3px solid #f59e0b; border-radius: 12px; padding: 16px; margin-bottom: 20px; }
        .od-instructions h4 { margin: 0 0 10px; color: #fbbf24; font-size: 0.92rem; font-weight: 700; }
        .od-instructions p { margin: 0; font-size: 0.88rem; line-height: 1.8; white-space: pre-wrap; }
        
        .od-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); }
        .od-action-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 22px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 0.86rem; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); border: none; cursor: pointer; font-family: inherit; }
        .od-btn-wa { background: #25d366; color: white; }
        .od-btn-wa:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
        .od-btn-tg { background: #0088cc; color: white; }
        .od-btn-tg:hover { box-shadow: 0 6px 20px rgba(0,136,204,0.35); }
        .od-btn-review { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
        .od-btn-review:hover { box-shadow: 0 6px 20px rgba(245,158,11,0.35); }
        .od-action-btn:hover { transform: translateY(-2px); }
        
        @media (max-width: 600px) {
            .od-progress { flex-wrap: wrap; gap: 10px; justify-content: center; }
            .od-progress::before { display: none; }
            .od-info-grid { grid-template-columns: 1fr; }
            .od-product { flex-direction: column; text-align: center; }
            .od-product-price { margin: 8px 0 0; }
        }
        
        /* ========== PROFILE ========== */
        .profile-card { background: rgba(255,255,255,0.03); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 30px; animation: fadeInUp 0.5s ease-out; position: relative; overflow: hidden; }
        .profile-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), #7c3aed); }
        .profile-section-title { margin: 0 0 22px; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; font-weight: 700; }
        .profile-section-title i { color: var(--primary); font-size: 1rem; }
        .profile-card h3 { margin: 0 0 22px; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; font-weight: 700; }
        .profile-card h3 i { color: var(--primary); }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .profile-btn { padding: 14px 32px; background: linear-gradient(135deg, var(--primary), #7c3aed); color: white; border: none; border-radius: 14px; font-size: 0.95rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden; }
        .profile-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent); transform: translateX(-100%); transition: transform 0.6s; }
        .profile-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,212,255,0.3); }
        .profile-btn:hover::before { transform: translateX(100%); }
        .divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); margin: 28px 0; }
        
        /* ========== RESPONSIVE ========== */
        @media (max-width: 768px) {
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .auth-card { padding: 30px 20px; border-radius: 20px; }
            .auth-wrapper { margin: 20px auto; }
            .form-row { grid-template-columns: 1fr; }
            .order-body { flex-direction: column; align-items: flex-start; }
            .tabs { flex-wrap: wrap; gap: 6px; }
            .tab-btn { padding: 10px 16px; font-size: 0.85rem; border-radius: 12px; }
            .dash-header { padding: 20px 16px; border-radius: 20px; }
            input, select, textarea { font-size: 16px !important; }
            .otp-inputs { gap: 8px; justify-content: center; }
            .otp-digit { width: 44px; height: 52px; font-size: 1.3rem; }
        }
        @media (max-width: 480px) {
            .account-container { padding: 15px 12px 40px; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
            .stat-card { padding: 16px 12px; border-radius: 16px; }
            .stat-card .stat-value { font-size: 1.25rem; }
            .stat-card .stat-label { font-size: 0.75rem; }
            .dash-header { flex-direction: column; align-items: flex-start; gap: 14px; }
            .dash-actions { width: 100%; }
            .dash-actions a { flex: 1; justify-content: center; padding: 10px 14px; font-size: 0.82rem; }
            .order-card { padding: 16px 14px; border-radius: 16px; }
            .auth-header .auth-icon { width: 60px; height: 60px; font-size: 1.4rem; }
            .auth-header h1 { font-size: 1.3rem; }
            .otp-inputs { gap: 6px; }
            .otp-digit { width: 40px; height: 48px; font-size: 1.2rem; }
            .od-actions .od-action-btn { width: 100%; justify-content: center; padding: 12px 16px; }
        }

        /* ===== صفحات الدخول/التسجيل — تصميم احترافي متناسق مع المتجر ===== */
        .auth-wrapper { max-width: 480px; }
        .auth-card {
            padding: 40px 34px 30px; border-radius: 28px; overflow: visible;
            background: radial-gradient(100% 45% at 50% 0%, rgba(0, 212, 255, .1), transparent 65%), linear-gradient(160deg, #151a2c 0%, #0f1322 100%);
            border: 1px solid rgba(255, 255, 255, .08);
            box-shadow: 0 30px 70px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06);
            backdrop-filter: none; -webkit-backdrop-filter: none;
        }
        .auth-card::before {
            content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
            width: 46%; height: 3px; border-radius: 0 0 4px 4px;
            background: linear-gradient(90deg, transparent, #00d4ff, #a855f7, transparent);
        }
        .auth-header { margin-bottom: 26px; }
        .auth-header .auth-icon {
            width: 68px; height: 68px; border-radius: 20px; font-size: 1.55rem; margin-bottom: 18px; animation: none;
            color: #00d4ff; background: linear-gradient(135deg, rgba(0, 212, 255, .18), rgba(99, 102, 241, .16));
            border: 1px solid rgba(0, 212, 255, .4);
            box-shadow: 0 0 0 8px rgba(0, 212, 255, .06), 0 14px 34px rgba(0, 212, 255, .2);
        }
        .auth-header .auth-icon::after { display: none; }
        .auth-header h1 { font-size: 1.55rem; font-weight: 900; background: none; -webkit-text-fill-color: currentColor; color: #fff; }
        .auth-header p { font-size: .9rem; color: #94a3b8; }
        .auth-card .form-group label { font-size: .86rem; font-weight: 800; color: #cbd5e1; }
        .auth-card .form-input {
            padding: 15px 18px; border-radius: 16px; font-size: 1rem;
            background: rgba(255, 255, 255, .035); border: 1.5px solid rgba(255, 255, 255, .1);
        }
        .auth-card .form-input:focus { border-color: rgba(0, 212, 255, .65); box-shadow: 0 0 0 4px rgba(0, 212, 255, .12); background: rgba(0, 212, 255, .04); outline: none; }
        .auth-card .form-input::placeholder { color: #64748b; }
        /* حقل الإيميل/الموبايل: النص العربي في الـ placeholder يتقري صح، والإيميل والرقم يتكتبوا شمال ليمين لوحدهم */
        .auth-card .form-input.bidi-auto { direction: rtl; unicode-bidi: plaintext; text-align: right; }
        /* حقول كلمة المرور: مكان لأيقونة العين على الشمال + النص العربي في الـ placeholder يتقري صح */
        .password-wrapper .form-input, .auth-card .password-wrapper .form-input { padding-left: 52px !important; direction: rtl; unicode-bidi: plaintext; text-align: right; }
        .password-wrapper .password-toggle { left: 12px; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; z-index: 2; }
        .password-wrapper .password-toggle:hover { background: rgba(0, 212, 255, .1); }
        .auth-btn { padding: 16px; border-radius: 16px; font-weight: 900; box-shadow: 0 14px 32px rgba(0, 212, 255, .22); }
        .auth-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 212, 255, .32); }
        .auth-perks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
        /* تسجيل الدخول بجوجل */
        .auth-perks span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; color: #cbd5e1; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
        .auth-perks span:nth-child(1) i { color: #00d4ff; }
        .auth-perks span:nth-child(2) i { color: #10b981; }
        .auth-perks span:nth-child(3) i { color: #fbbf24; }
        .auth-footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .88rem; color: #94a3b8; }
        .auth-footer a {
            display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; padding: 7px 14px; border-radius: 12px; font-weight: 900; text-decoration: none;
            color: #00d4ff; background: rgba(0, 212, 255, .08); border: 1px solid rgba(0, 212, 255, .3); transition: all .2s ease;
        }
        .auth-footer a:hover { background: linear-gradient(135deg, #00d4ff, #6366f1); color: #001018; border-color: transparent; }
        [data-theme="light"] .auth-card { background: radial-gradient(100% 45% at 50% 0%, rgba(0, 212, 255, .08), transparent 65%), #fff; border-color: rgba(15, 23, 42, .08); box-shadow: 0 24px 60px rgba(15, 23, 42, .12); }
        [data-theme="light"] .auth-header h1 { color: #0f172a; }
        [data-theme="light"] .auth-card .form-group label { color: #334155; }
        [data-theme="light"] .auth-card .form-input { background: #f8fafc; border-color: rgba(15, 23, 42, .12); }
        [data-theme="light"] .auth-perks span { color: #334155; background: #f8fafc; border-color: rgba(15, 23, 42, .1); }
        @media (max-width: 480px) {
            .auth-card { padding: 30px 18px 22px; border-radius: 22px; }
            .auth-header .auth-icon { width: 58px; height: 58px; font-size: 1.3rem; border-radius: 17px; }
            .auth-perks span { font-size: .68rem; padding: 5px 10px; }
        }

        /* ===== لوحة العميل (حسابي) — ممتدة + سايدبار + كروت بستايل المتجر ===== */
        .account-container.is-dash { max-width: 1400px; padding: 30px clamp(14px, 2vw, 24px) 60px; }
        @media (min-width: 1440px) { .account-container.is-dash { max-width: 1600px; } }
        .is-dash .dash-side { display: flex; flex-direction: column; gap: 16px; }
        .is-dash .dash-header {
            flex-direction: column; align-items: stretch; text-align: center; gap: 16px; margin-bottom: 0; padding: 26px 22px 22px; border-radius: 24px;
            background: radial-gradient(100% 55% at 50% 0%, rgba(0, 212, 255, .12), transparent 65%), linear-gradient(160deg, #151a2c 0%, #0f1322 100%);
            border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 16px 40px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
            backdrop-filter: none; -webkit-backdrop-filter: none; animation: none;
        }
        .is-dash .dash-header::before { content: ''; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, transparent, #00d4ff, #a855f7, transparent); }
        .is-dash .dash-header-right { flex-direction: column; align-items: center; gap: 12px; }
        .is-dash .dash-avatar { width: 76px; height: 76px; border-radius: 24px; font-size: 2rem; box-shadow: 0 0 0 7px rgba(0, 212, 255, .08), 0 14px 32px rgba(0, 212, 255, .25); }
        .is-dash .dash-welcome h1 { font-size: 1.25rem; font-weight: 900; margin: 0 0 4px; }
        .dash-verified-txt { display: inline-block; vertical-align: middle; margin-inline-start: 6px; padding: 2px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; color: #1d9bf0; background: rgba(29, 155, 240, .12); border: 1px solid rgba(29, 155, 240, .35); }
        .is-dash .dash-welcome p { font-size: .82rem; color: #94a3b8; margin: 0; overflow-wrap: anywhere; }
        .is-dash .dash-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
        .is-dash .dash-actions > *, .is-dash .dash-actions form button { width: 100%; justify-content: center; }
        .is-dash .dash-actions .btn-outline, .is-dash .dash-actions .btn-logout { display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border-radius: 14px; font-weight: 800; }
        .is-dash .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 0; }
        .is-dash .stat-card {
            display: flex; flex-direction: column; align-items: flex-start; text-align: start; gap: 6px; padding: 16px; border-radius: 18px;
            background: linear-gradient(160deg, #151a2c 0%, #0f1322 100%); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: none; animation: none;
        }
        .is-dash .stat-card .stat-icon { width: 38px; height: 38px; border-radius: 12px; margin: 0 0 4px; font-size: .95rem; }
        .is-dash .stat-card .stat-value { font-size: 1.45rem; font-weight: 900; line-height: 1.1; }
        .is-dash .stat-card .stat-label { font-size: .76rem; font-weight: 700; color: #94a3b8; white-space: normal; overflow: visible; line-height: 1.4; }
        .is-dash .dash-main { min-width: 0; }
        .is-dash .tabs { margin-bottom: 20px; border-radius: 18px; padding: 6px; background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); animation: none; }
        .is-dash .tab-btn { border-radius: 13px; font-weight: 800; }
        .is-dash .orders-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
        .is-dash .order-card {
            border-radius: 20px; padding: 18px; animation: none; backdrop-filter: none;
            background: radial-gradient(110% 40% at 50% 0%, rgba(0, 212, 255, .05), transparent 65%), linear-gradient(160deg, #151a2c 0%, #0f1322 100%);
            border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
        }
        .is-dash .order-card:hover { transform: translateY(-3px); border-color: rgba(0, 212, 255, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
        /* كارت الطلب الاحترافي */
        .order-card.oc-pro { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
        .order-card.oc-pro::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--st, #00d4ff); box-shadow: 0 0 14px var(--st, #00d4ff); opacity: .9; }
        .oc-pro .order-top { padding: 16px 18px 12px; margin: 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); align-items: center; }
        .oc-pro .order-number { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
        .oc-pro .order-number small { font-size: .7rem; font-weight: 700; color: #64748b; }
        .oc-pro .order-number span { direction: ltr; unicode-bidi: isolate; font-size: .9rem; font-weight: 900; color: #00d4ff; letter-spacing: .3px; }
        .oc-pro .order-badge { padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; border: 1px solid currentColor; display: inline-flex; align-items: center; gap: 6px; }
        .oc-pro .order-body { padding: 14px 18px; margin: 0; gap: 14px; align-items: center; flex: 1; }
        .oc-pro .order-img { width: 74px; height: 74px; border-radius: 16px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); flex-shrink: 0; }
        .oc-pro .order-details h4 { font-size: 1rem; font-weight: 900; line-height: 1.45; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .oc-pro .order-details p { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #a5b4fc; background: rgba(99, 102, 241, .12); border: 1px solid rgba(99, 102, 241, .28); }
        .oc-pro .order-bottom { padding: 12px 18px 16px; margin: 0; border-top: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); align-items: center; }
        .oc-pro .order-meta { display: flex; flex-direction: column; gap: 3px; }
        .oc-pro .order-price { font-size: 1.35rem; font-weight: 900; background: linear-gradient(135deg, #00d4ff, #818cf8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.15; }
        .oc-pro .order-price small { font-size: .72rem; -webkit-text-fill-color: #64748b; }
        .oc-pro .order-date { font-size: .76rem; color: #94a3b8; }
        .oc-pro .order-link {
            display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; cursor: pointer;
            font-family: inherit; font-size: .85rem; font-weight: 900; color: #00d4ff;
            background: rgba(0, 212, 255, .08); border: 1px solid rgba(0, 212, 255, .35); transition: all .2s ease;
        }
        .oc-pro .order-link i { font-size: .75rem; transition: transform .2s ease; }
        .oc-pro:hover .order-link { background: linear-gradient(135deg, #00d4ff, #6366f1); color: #001018; border-color: transparent; }
        .oc-pro:hover .order-link i { transform: translateX(-3px); }
        [data-theme="light"] .oc-pro .order-bottom { background: #f8fafc; }
        .is-dash .profile-card { border-radius: 22px; background: linear-gradient(160deg, #151a2c 0%, #0f1322 100%); border-color: rgba(255, 255, 255, .08); backdrop-filter: none; }
        @media (min-width: 993px) {
            /* المتجر عربي: السايدبار على اليمين (أول عمود في RTL) والطلبات على الشمال */
            .account-container.is-dash { display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 26px; align-items: start; }
            .is-dash .dash-side { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 130px; }
            .is-dash > :not(.dash-side) { grid-column: 2; }
        }
        [data-theme="light"] .is-dash .dash-header, [data-theme="light"] .is-dash .stat-card, [data-theme="light"] .is-dash .order-card, [data-theme="light"] .is-dash .profile-card { background: #fff; border-color: rgba(15, 23, 42, .08); box-shadow: 0 10px 26px rgba(15, 23, 42, .07); }
        @media (max-width: 992px) {
            .is-dash .dash-side { margin-bottom: 20px; }
            .is-dash .stats-grid { grid-template-columns: repeat(4, 1fr); }
        }
        @media (max-width: 640px) {
            .is-dash .stats-grid { grid-template-columns: 1fr 1fr; }
            .is-dash .dash-header { padding: 20px 16px 16px; }
            .is-dash .dash-avatar { width: 62px; height: 62px; font-size: 1.6rem; border-radius: 20px; }
        }

        /* ===== نافذة تفاصيل الطلب — تصميم احترافي ===== */
        .od-overlay { background: rgba(3, 6, 15, .75); }
        .od-box {
            position: relative; max-width: 1040px; border-radius: 26px;
            background: radial-gradient(110% 35% at 50% 0%, rgba(0, 212, 255, .08), transparent 65%), linear-gradient(160deg, #151a2c 0%, #0f1322 100%);
            border: 1px solid rgba(255, 255, 255, .08);
            box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
            scrollbar-width: thin; scrollbar-color: rgba(0, 212, 255, .3) transparent;
        }
        .od-header { position: sticky; top: 0; z-index: 3; padding: 18px 22px; background: rgba(15, 19, 34, .96); border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 26px 26px 0 0; }
        .od-header::after { content: ''; position: absolute; bottom: -1px; left: 30%; right: 30%; height: 2px; background: linear-gradient(90deg, transparent, #00d4ff, #a855f7, transparent); }
        .od-header h3 { font-size: 1.08rem; font-weight: 900; gap: 12px; }
        .od-header h3 i { width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; background: linear-gradient(135deg, rgba(0, 212, 255, .18), rgba(99, 102, 241, .14)); border: 1px solid rgba(0, 212, 255, .35); }
        .od-close { border-radius: 50%; width: 34px; height: 34px; font-size: 1.2rem; }
        .od-close:hover { color: #fff; background: rgba(239, 68, 68, .15); border-color: rgba(239, 68, 68, .45); transform: rotate(90deg); }
        .od-body { padding: 20px 22px 22px; }
        .od-status-bar { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); margin-bottom: 18px; }
        .od-order-num { font-size: .95rem; font-weight: 900; direction: rtl; }
        .od-order-num span { direction: ltr; unicode-bidi: isolate; color: #00d4ff; }
        .od-status-badge { border: 1px solid currentColor; font-weight: 800; }
        .od-progress { margin: 6px 0 22px; padding: 16px 8px 12px; border-radius: 18px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .06); }
        .od-progress::before { top: 37px; left: 60px; right: 60px; height: 2px; background: rgba(148, 163, 184, .2); }
        .od-step-icon { width: 42px; height: 42px; font-size: .9rem; border-width: 1.5px; }
        .od-step.done .od-step-icon { box-shadow: 0 0 0 5px rgba(16, 185, 129, .12); }
        .od-step.current .od-step-icon { background: linear-gradient(135deg, #00d4ff, #6366f1); border-color: transparent; color: #001018; animation: none; box-shadow: 0 0 0 5px rgba(0, 212, 255, .15); }
        .od-step-label { font-size: .74rem; }
        .od-product { gap: 14px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .08); }
        .od-product img { width: 72px; height: 72px; border-radius: 14px; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); flex-shrink: 0; }
        .od-product-info h4 { font-weight: 900; }
        .od-product-price { padding: 6px 12px; border-radius: 12px; font-size: 1rem; color: #00d4ff; background: rgba(0, 212, 255, .08); border: 1px solid rgba(0, 212, 255, .25); }
        .od-info-grid { gap: 10px; }
        .od-info-item { border-radius: 14px; padding: 12px 14px; background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .07); }
        .od-info-item label { font-size: .72rem; font-weight: 700; color: #94a3b8; }
        .od-info-item span { font-size: .92rem; font-weight: 800; }
        .od-timeline { padding: 14px 16px 4px; border-radius: 18px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .06); }
        .od-timeline h4 { font-weight: 900; }
        .od-delivery { border-radius: 18px; }
        .od-delivery-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; border-radius: 14px; padding: 12px 14px; }
        .od-delivery-box > label { grid-column: 1; margin-bottom: 2px; }
        .od-delivery-box > .val { grid-column: 1; text-align: right; direction: ltr; unicode-bidi: plaintext; }
        .od-delivery-box > .od-copy-btn { grid-column: 2; grid-row: 1 / span 2; float: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; }
        .od-delivery-box > div[style*="clear"] { display: none; }
        .od-instructions { border-radius: 16px; }
        .od-actions { gap: 10px; }
        .od-cols { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; align-items: start; }
        .od-main > :last-child, .od-side > :last-child { margin-bottom: 0; }
        .od-side .od-info-grid { margin-bottom: 14px; }
        .od-cols + .od-actions { margin-top: 18px; }
        @media (max-width: 860px) { .od-cols { grid-template-columns: 1fr; } }
        .od-action-btn { border-radius: 14px; font-weight: 800; padding: 11px 20px; }
        [data-theme="light"] .od-box { background: #fff; border-color: rgba(15, 23, 42, .08); }
        [data-theme="light"] .od-header { background: rgba(255, 255, 255, .97); }
        @media (max-width: 600px) {
            .od-box { border-radius: 22px; }
            .od-header { border-radius: 22px 22px 0 0; padding: 14px 16px; }
            .od-body { padding: 16px 14px 18px; }
            .od-product { flex-direction: row; text-align: start; }
            .od-product img { width: 60px; height: 60px; }
            .od-product-price { margin: 0 auto 0 0; }
        }

        /* ===== تأكيد رقم الموبايل (SMS) ===== */
        .pv-card { position: relative; overflow: hidden; margin-bottom: 20px; padding: 20px; border-radius: 22px; text-align: right; background: radial-gradient(100% 60% at 100% 0%, rgba(16, 185, 129, .1), transparent 60%), linear-gradient(160deg, #151a2c 0%, #0f1322 100%); border: 1px solid rgba(16, 185, 129, .35); box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
        .pv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #10b981, #00d4ff); }
        .pv-card [hidden] { display: none !important; }
        .pv-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
        .pv-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #10b981; background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .35); }
        .pv-txt h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 900; color: var(--text-primary); }
        .pv-txt p { margin: 0; font-size: .85rem; line-height: 1.7; color: var(--text-secondary); }
        .pv-row { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
        .pv-field { flex: 1 1 220px; min-width: 0; }
        .pv-btn { flex: 0 0 auto; padding: 13px 22px; white-space: nowrap; }
        .pv-btn[disabled] { opacity: .65; cursor: wait; transform: none; }
        .pv-code { text-align: center; letter-spacing: .5em; font-size: 1.25rem; font-weight: 800; }
        .pv-foot { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: .82rem; color: var(--text-muted); }
        .pv-link { background: none; border: 0; padding: 0; font-family: inherit; font-size: inherit; font-weight: 700; color: var(--primary); cursor: pointer; }
        .pv-link[disabled] { color: var(--text-muted); cursor: default; }
        .pv-msg { margin-top: 10px; font-size: .86rem; font-weight: 700; }
        .pv-msg:empty { display: none; }
        .pv-msg.ok { color: #10b981; }
        .pv-msg.err { color: #f87171; }
        [data-theme="light"] .pv-card { background: radial-gradient(100% 60% at 100% 0%, rgba(16, 185, 129, .08), transparent 60%), #fff; box-shadow: 0 10px 26px rgba(15, 23, 42, .07); }
        [data-theme="light"] .pv-msg.ok { color: #047857; }
        [data-theme="light"] .pv-msg.err { color: #dc2626; }
        .pv-state { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .78rem; font-weight: 700; }
        .pv-state.ok { color: #10b981; }
        .pv-state.no { color: #f59e0b; }
        .pv-state a { color: var(--primary); text-decoration: underline; }
        [data-theme="light"] .pv-state.ok { color: #047857; }
        [data-theme="light"] .pv-state.no { color: #b45309; }

        /* ===== اشتراكاتي (من الـ CRM) ===== */
        .sc-verified { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .85rem; color: var(--text-secondary); }
        .sc-verified i { color: #10b981; }
        .sc-verified b { unicode-bidi: isolate; color: var(--text-primary); }
        /* كل اشتراك بطاقة بعرض الصف — على الشاشة الواسعة: البيانات يمين والتواريخ شمال */
        .sc-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
        @media (min-width: 900px) {
            .sc-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-auto-flow: row dense; column-gap: 22px; row-gap: 12px; align-items: start; }
            .sc-card > .sc-top { grid-column: 1 / -1; }
            .sc-card > .sc-meta, .sc-card > .sc-cred { grid-column: 1; }
            .sc-card > .sc-dates { grid-column: 2; grid-row: 2 / span 2; }
            .sc-card > .sc-compline { grid-column: 1 / -1; }
        }
        .sc-card { --sc: #6366f1; --st: #10b981; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: linear-gradient(160deg, #151a2c 0%, #0f1322 100%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
        .sc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sc); opacity: .9; }
        .sc-card.sc-soon { --st: #f59e0b; }
        .sc-card.sc-expired { --st: #ef4444; }
        .sc-card.sc-suspended { --st: #94a3b8; }
        .sc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
        .sc-top h4 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 900; color: var(--text-primary); min-width: 0; overflow-wrap: anywhere; }
        .sc-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--sc); box-shadow: 0 0 10px var(--sc); }
        .sc-badge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 800; color: var(--st); border: 1px solid var(--st); background: color-mix(in srgb, var(--st) 12%, transparent); }
        .sc-meta { display: flex; flex-wrap: wrap; gap: 8px; }
        .sc-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: #a5b4fc; background: rgba(99, 102, 241, .12); border: 1px solid rgba(99, 102, 241, .28); }
        .sc-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
        .sc-dates div { padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
        .sc-dates small { display: block; font-size: .7rem; font-weight: 700; color: var(--text-muted); }
        .sc-dates b { display: block; margin-top: 2px; font-size: .84rem; font-weight: 800; color: var(--text-primary); }
        .sc-dates .sc-left b { color: var(--st); }
        .sc-cred { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .08); }
        .sc-line { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
        .sc-line small { font-size: .74rem; font-weight: 700; color: var(--text-muted); }
        .sc-line code { min-width: 0; overflow-wrap: anywhere; text-align: left; font-size: .84rem; font-weight: 700; color: var(--text-primary); background: none; padding: 0; }
        .sc-btn { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: .8rem; color: var(--primary); background: rgba(0, 212, 255, .08); border: 1px solid rgba(0, 212, 255, .3); }
        .sc-btn:hover { background: rgba(0, 212, 255, .16); }
        .sc-btn.done { color: #10b981; border-color: rgba(16, 185, 129, .45); }
        #tab-subs .empty-state { padding: 50px 20px; }
        [data-theme="light"] .sc-card { background: #fff; border-color: rgba(15, 23, 42, .08); box-shadow: 0 10px 26px rgba(15, 23, 42, .07); }
        [data-theme="light"] .sc-dates div { background: #f8fafc; border-color: rgba(15, 23, 42, .06); }
        [data-theme="light"] .sc-meta span { color: #4338ca; background: rgba(99, 102, 241, .08); }
        .sc-meta span.sc-pay-ok { color: #34d399; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .35); }
        .sc-meta span.sc-pay-warn { color: #fbbf24; background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .35); }
        .sc-meta span.sc-pay-bad { color: #f87171; background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .35); }
        .sc-meta span.sc-pay-muted { color: #94a3b8; background: rgba(148, 163, 184, .12); border-color: rgba(148, 163, 184, .3); }
        .sc-meta span.sc-amount { color: var(--text-primary); background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); font-weight: 800; }
        .sc-meta span.sc-method { color: #c084fc; background: rgba(168, 85, 247, .12); border-color: rgba(168, 85, 247, .3); }
        [data-theme="light"] .sc-meta span.sc-pay-ok { color: #047857; background: rgba(16, 185, 129, .08); }
        [data-theme="light"] .sc-meta span.sc-pay-warn { color: #b45309; background: rgba(245, 158, 11, .08); }
        [data-theme="light"] .sc-meta span.sc-pay-bad { color: #dc2626; background: rgba(239, 68, 68, .07); }
        [data-theme="light"] .sc-meta span.sc-pay-muted { color: #475569; }
        [data-theme="light"] .sc-meta span.sc-amount { background: #f8fafc; border-color: rgba(15, 23, 42, .12); }
        [data-theme="light"] .sc-meta span.sc-method { color: #7e22ce; background: rgba(168, 85, 247, .07); }
        .sc-compline { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; font-size: .8rem; font-weight: 700; color: #c084fc; background: rgba(168, 85, 247, .08); border: 1px solid rgba(168, 85, 247, .25); }
        [data-theme="light"] .sc-compline { color: #7e22ce; background: rgba(168, 85, 247, .06); }
        [data-theme="light"] .sc-cred { border-top-color: rgba(15, 23, 42, .1); }
        [data-theme="light"] .sc-card.sc-active { --st: #059669; }
        [data-theme="light"] .sc-card.sc-soon { --st: #b45309; }
        [data-theme="light"] .sc-card.sc-expired { --st: #dc2626; }
        [data-theme="light"] .sc-card.sc-suspended { --st: #64748b; }
        @media (max-width: 480px) {
            .sc-dates { grid-template-columns: 1fr 1fr; }
            .sc-dates .sc-left { grid-column: 1 / -1; }
            .pv-btn { width: 100%; }
        }
    
/* ---- block 2 ---- */

.gsi-in { margin: 0; }
/* زرار جوجل: إطار بألوان جوجل بيلف + لمعة + موجة من مكان الضغط — والتأثيرات اللي بالماوس بس على الأجهزة اللي فيها ماوس */
@property --gsi-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.gsi-custom {
    position: relative; isolation: isolate; overflow: hidden;
    width: 100%; height: 54px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 18px;
    border: 0; border-radius: 14px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12);
    color: #f1f5f9; font-family: 'Cairo', sans-serif; font-size: 1rem; font-weight: 800; line-height: 1; cursor: pointer;
    -webkit-tap-highlight-color: transparent; user-select: none;
    transition: background .25s ease, box-shadow .25s ease, transform .18s ease, opacity .2s ease;
}
.gsi-custom::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; opacity: 0;
    background: conic-gradient(from var(--gsi-a), #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    transition: opacity .3s ease;
}
.gsi-custom::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent); transform: skewX(-20deg);
}
.gsi-g {
    width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.gsi-g svg { width: 18px; height: 18px; }
.gsi-label { position: relative; }
.gsi-ripple {
    position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; transform: scale(0);
    background: radial-gradient(circle, rgba(66, 133, 244, .38) 0%, rgba(52, 168, 83, .14) 45%, transparent 70%);
    animation: gsiRipple .65s ease-out forwards;
}
@keyframes gsiRipple { to { transform: scale(1); opacity: 0; } }
@keyframes gsiTurn { to { --gsi-a: 360deg; } }
@keyframes gsiShine { from { left: -70%; } to { left: 130%; } }
@media (hover: hover) {
    .gsi-custom:hover:not(:disabled) { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px transparent, 0 12px 30px rgba(0, 0, 0, .38); transform: translateY(-2px); }
    .gsi-custom:hover:not(:disabled)::before { opacity: 1; animation: gsiTurn 3s linear infinite; }
    .gsi-custom:hover:not(:disabled)::after { animation: gsiShine .8s ease forwards; }
    .gsi-custom:hover:not(:disabled) .gsi-g { transform: scale(1.08) rotate(-8deg); }
}
.gsi-custom:active:not(:disabled) { transform: scale(.985); }
.gsi-custom:active:not(:disabled)::before { opacity: 1; }
.gsi-custom:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px transparent, 0 0 0 4px rgba(66, 133, 244, .35); }
.gsi-custom:focus-visible::before { opacity: 1; }
.gsi-custom:disabled:not(.is-busy) { opacity: .55; cursor: default; }
.gsi-custom.is-busy { cursor: progress; box-shadow: inset 0 0 0 1.5px transparent; }
.gsi-custom.is-busy::before { opacity: 1; animation: gsiTurn 1.1s linear infinite; }
.gsi-spin { display: none; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .2); border-top-color: #4285f4; animation: gsiSpin .8s linear infinite; }
.gsi-custom.is-busy .gsi-g { display: none; }
.gsi-custom.is-busy .gsi-spin { display: inline-block; }
@keyframes gsiSpin { to { transform: rotate(360deg); } }
.gsi-in .auth-or { margin: 18px 0 14px; }
[data-theme="light"] .gsi-custom { color: #1f1f1f; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(15, 23, 42, .14); }
[data-theme="light"] .gsi-custom::after { background: linear-gradient(100deg, transparent, rgba(66, 133, 244, .1), transparent); }
[data-theme="light"] .gsi-g { box-shadow: 0 0 0 1px rgba(15, 23, 42, .1), 0 2px 6px rgba(15, 23, 42, .08); }
[data-theme="light"] .gsi-spin { border-color: rgba(15, 23, 42, .15); border-top-color: #4285f4; }
@media (hover: hover) {
    [data-theme="light"] .gsi-custom:hover:not(:disabled) { background: #fff; box-shadow: inset 0 0 0 1.5px transparent, 0 12px 28px rgba(15, 23, 42, .12); }
}
@media (max-width: 480px) {
    .gsi-custom { height: 52px; font-size: .96rem; gap: 10px; border-radius: 13px; }
    .gsi-g { width: 30px; height: 30px; border-radius: 9px; }
    .gsi-g svg { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .gsi-custom, .gsi-g, .gsi-custom::before { transition: none; }
    .gsi-custom::before, .gsi-custom::after, .gsi-ripple { animation: none !important; }
    .gsi-custom:hover:not(:disabled), .gsi-custom:hover:not(:disabled) .gsi-g { transform: none; }
}
.gsi-msg { min-height: 0; text-align: center; font-size: .82rem; font-weight: 700; margin-top: 8px; }
.gsi-msg:empty { display: none; }
.gsi-msg.is-ok { color: #10b981; }
.gsi-msg.is-err { color: #f87171; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; color: #94a3b8; font-size: .78rem; font-weight: 800; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
[data-theme="light"] .auth-or { color: #64748b; }
[data-theme="light"] .auth-or::before, [data-theme="light"] .auth-or::after { background: rgba(15, 23, 42, .1); }


/* =====================================================================
   صفحات «حسابي» الفرعية (التراخيص — Key Manager، التنزيلات، العناوين، بياناتي) بشكل متجر محمد بكري
   ووكومرس بيطلّعها جداول وعناوين خام — هنا بتبقى كروت
   ===================================================================== */
.bk-account-content table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; overflow: hidden; margin: 0 0 18px; font-size: .9rem; }
.bk-account-content table thead th { background: linear-gradient(135deg, rgba(var(--primary-rgb), .12), rgba(124, 58, 237, .1)); color: var(--text-primary); font-weight: 800; font-size: .85rem; padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--border-color); white-space: nowrap; }
.bk-account-content table td, .bk-account-content table tbody th { padding: 14px 16px; color: var(--text-secondary); border-bottom: 1px solid var(--border-color); vertical-align: middle; text-align: start; }
.bk-account-content table tbody tr:last-child td, .bk-account-content table tbody tr:last-child th { border-bottom: 0; }
.bk-account-content table tbody tr { transition: background .2s; }
.bk-account-content table tbody tr:hover { background: rgba(var(--primary-rgb), .04); }
.bk-account-content table td:first-child, .bk-account-content table td a:not(.button) { color: var(--text-primary); font-weight: 700; }
.bk-account-content table td a:not(.button):hover { color: var(--primary); }
/* السيريال: صندوق غامق منقّط زي متجر محمد بكري (بدل الأبيض) */
.bk-account-content table input[type="text"], .bk-account-content table code, .bk-account-content table .wckm-key, .bk-account-content table [class*="key"] input {
	background: var(--bg-secondary) !important; color: var(--primary) !important; border: 1px dashed rgba(var(--primary-rgb), .45) !important; border-radius: 10px !important; padding: 8px 12px !important; font-family: Consolas, monospace; font-weight: 700; direction: ltr; min-width: 0; box-shadow: none !important; }
.bk-account-content table button, .bk-account-content table .button, .bk-account-content a.button, .bk-account-content button.button, .bk-account-content .woocommerce-Button {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 12px; border: 0; background: var(--gradient-primary); color: #fff !important; font-weight: 800; font-size: .82rem; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s; font-family: inherit; }
.bk-account-content table button:hover, .bk-account-content .button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--primary-rgb), .3); }
.bk-account-content table td .button + .button { margin-inline-start: 6px; }

/* الرسايل (مفيش تنزيلات / العناوين هتستخدم …) */
.bk-account-content > p, .bk-account-content .woocommerce-info, .bk-account-content .woocommerce-message { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 16px 18px; color: var(--text-secondary); margin: 0 0 16px; }
.bk-account-content .woocommerce-info::before, .bk-account-content .woocommerce-message::before { content: none; }

/* العناوين */
.bk-account-content .woocommerce-Addresses, .bk-account-content .addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.bk-account-content .woocommerce-Address, .bk-account-content .u-column1, .bk-account-content .u-column2 { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 18px; width: auto !important; float: none !important; }
.bk-account-content .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--border-color); }
.bk-account-content .woocommerce-Address-title h2, .bk-account-content .woocommerce-Address-title h3 { margin: 0; font-size: 1.05rem; font-weight: 900; color: var(--text-primary); }
.bk-account-content .woocommerce-Address-title a.edit { padding: 6px 12px; border-radius: 10px; background: rgba(var(--primary-rgb), .1); border: 1px solid rgba(var(--primary-rgb), .3); color: var(--primary) !important; font-size: .8rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.bk-account-content address { font-style: normal; color: var(--text-secondary); line-height: 1.9; margin: 0; }

/* نماذج (تعديل العنوان / بياناتي) */
.bk-account-content form .form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.bk-account-content form label { color: var(--text-primary); font-weight: 700; font-size: .88rem; }
.bk-account-content form input.input-text, .bk-account-content form select, .bk-account-content form textarea { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-primary); padding: 11px 14px; font-family: inherit; font-size: .92rem; width: 100%; }
.bk-account-content form input.input-text:focus, .bk-account-content form select:focus { border-color: var(--primary); outline: 0; box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15); }
.bk-account-content fieldset { border: 1px solid var(--border-color); border-radius: 16px; padding: 16px; margin: 10px 0 16px; }
.bk-account-content legend { padding: 0 8px; color: var(--text-primary); font-weight: 800; }
.bk-account-content h2, .bk-account-content h3 { color: var(--text-primary); }

/* موبايل: كل صف = كارت، والعمود = سطر بعنوانه */
@media (max-width: 768px) {
	.bk-account-content table, .bk-account-content table tbody, .bk-account-content table tr, .bk-account-content table td { display: block; width: 100%; }
	.bk-account-content table { background: none; border: 0; }
	.bk-account-content table thead { display: none; }
	.bk-account-content table tbody tr { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; margin-bottom: 12px; padding: 6px 4px; }
	.bk-account-content table td { border-bottom: 1px dashed var(--border-color); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; text-align: end; flex-wrap: wrap; }
	.bk-account-content table td::before { content: attr(data-title); color: var(--text-primary); font-weight: 800; font-size: .8rem; text-align: start; }
	.bk-account-content table td:not([data-title])::before { content: none; }
	.bk-account-content table tbody tr td:last-child { border-bottom: 0; }
}
