:root {    --bg-dark: #0a0c10;    --card-bg: #151822;    --neon-cyan: #00f3ff;    --neon-blue: #0d84ff;    --success: #00e676;    --danger: #ff3b30;    --warning: #ffcc00;    --text-main: #ffffff;    --text-muted: #8e8e93;    --border-color: rgba(255, 255, 255, 0.08);    --menu-bg: #12141d;}* { box-sizing: border-box; margin: 0; padding: 0; font-family: system-ui, -apple-system, sans-serif; user-select: none; -webkit-tap-highlight-color: transparent; }input, textarea { user-select: auto; }body {    background-color: var(--bg-dark);    color: var(--text-main);    min-height: 100vh;    padding: 10px;    padding-bottom: 20px;     overflow-x: hidden;}.container { max-width: 500px; margin: 0 auto; position: relative; }/* Header */header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }h2 { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.5px; }.header-btn {     background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); color: var(--text-main);     border-radius: 10px; padding: 6px 12px; cursor: pointer; font-size: 0.85rem; backdrop-filter: blur(10px);}.dots-btn { font-size: 1.3rem; padding: 3px 10px; border: none; background: transparent; position: relative; }/* ستايل النقطة (Status Dot) */.btn-more-container { position: relative; }.status-dot {    position: absolute;    top: 5px;    right: 5px;    width: 8px;    height: 8px;    border-radius: 50%;    border: 1.5px solid var(--bg-dark);}.status-dot.red { background-color: var(--danger); }.status-dot.green { background-color: var(--success); }/* Modern Dropdown Menu */.modern-menu {    position: absolute; left: 0; top: 45px; background: var(--menu-bg);    border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; padding: 5px 0;    display: none; z-index: 100; min-width: 220px;     box-shadow: 0 15px 40px rgba(0,0,0,0.8); transform-origin: top left;}.modern-menu.active { display: block; animation: scaleIn 0.2s ease-out; }@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }.rate-input-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 8px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 3px; }.rate-input-wrapper span { font-size: 0.8rem; color: var(--text-muted); }.rate-input-wrapper input { background: transparent; border: none; color: var(--neon-cyan); font-weight: bold; width: 80px; text-align: left; outline: none; font-size: 1rem; font-family: Arial, sans-serif; direction: ltr;}.menu-item {    width: 100%; text-align: right; padding: 12px 15px; background: transparent; border: none;     color: var(--text-muted); font-size: 0.9rem; cursor: pointer;     display: flex; align-items: center; transition: 0.2s;}.menu-item:active { background: rgba(255,255,255,0.03); color: var(--text-main); }.menu-item .m-icon { width: 18px; height: 18px; stroke: var(--text-main); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-right: auto; opacity: 0.7;}.menu-item.danger { color: var(--danger); border-top: 1px solid rgba(255,255,255,0.05); margin-top: 3px; }.menu-item.danger .m-icon { stroke: var(--danger); opacity: 1;}.user-pic { object-fit: cover; border: 1px solid var(--border-color); }.hidden { display: none !important; }/* Wallet Dashboard */.wallet-card {    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1) 0%, rgba(13, 132, 255, 0.05) 100%);    border: 1px solid rgba(0, 243, 255, 0.2); border-radius: 16px; padding: 15px;     text-align: center; margin-bottom: 12px; box-shadow: 0 10px 30px rgba(0, 243, 255, 0.05);    display: flex; justify-content: space-between; align-items: center;}.wallet-half { flex: 1; }.wallet-divider { width: 1px; background: rgba(0, 243, 255, 0.2); height: 50px; margin: 0 10px; }.wallet-card p { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 5px; }.wallet-card h1 { font-size: 1.6rem; color: var(--text-main); font-family: Arial, sans-serif; margin: 0; }.wallet-card .syp-val { color: var(--neon-cyan); font-size: 0.8rem; font-family: Arial, sans-serif; margin-top: 5px;}.sub-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 15px; } .sub-card {     background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px;     padding: 10px 5px; text-align: center; cursor: pointer; }.sub-card h3 { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 5px; }.sub-card .val { font-size: 1rem; font-weight: bold; margin-bottom: 2px; font-family: Arial, sans-serif; }.sub-card .syp-val { font-size: 0.75rem; color: var(--text-muted); font-family: Arial, sans-serif; }.c-save { color: var(--success); } .c-trans { color: var(--danger); } .c-buy { color: var(--warning); }/* Input Form */.input-section { background: #16171f; border: none; border-radius: 18px; padding: 20px; }.flex-row { display: flex; gap: 15px; margin-bottom: 15px; }.input-box { flex: 1; position: relative; }.input-box label { display: block; font-size: 0.85rem; color: #8e8e93; margin-bottom: 10px; text-align: right; }.input-box input {    width: 100%; background: #0d0d12; border: none; border-radius: 12px;    padding: 16px 15px; color: white; font-size: 1.1rem; outline: none; font-family: Arial, sans-serif; direction: ltr; text-align: left; }.input-box input:focus { box-shadow: inset 0 0 0 1px var(--neon-blue); }.input-box input[type="date"] { direction: rtl; text-align: right; }.input-box input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.4; }.main-btn {    width: 100%; background: linear-gradient(90deg, #00c6ff, #0072ff); color: #000;    border: none; border-radius: 14px; padding: 16px; font-size: 1.1rem; font-weight: bold; cursor: pointer; margin-top: 10px;}/* List View */.list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px;}.list-header input[type="month"] { background: var(--card-bg); border: 1px solid var(--border-color); color: white; padding: 8px 10px; border-radius: 10px; flex: 1; font-family: Arial, sans-serif; font-size: 0.9rem;}.total-badge { text-align: center; background: rgba(255,255,255,0.05); padding: 8px; border-radius: 10px; margin-bottom: 12px; border: 1px solid var(--border-color); }.total-badge span { font-size: 1.2rem; font-weight: bold; font-family: Arial, sans-serif; color: var(--neon-cyan); }.list-item {    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px;    padding: 12px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center;}.list-item.selected { border-color: var(--neon-cyan); background: rgba(0, 243, 255, 0.05); }.item-info h4 { font-size: 0.9rem; margin-bottom: 3px; }.item-info p { font-size: 0.75rem; color: var(--text-muted); }.item-vals { text-align: left; }.item-vals .usd { font-size: 1.1rem; font-weight: bold; display: block; font-family: Arial, sans-serif;}.item-vals .syp { font-size: 0.75rem; color: var(--text-muted); font-family: Arial, sans-serif;}/* Multi-Select Bar */.selection-bar {    position: fixed; bottom: -100px; left: 0; right: 0; background: rgba(15, 18, 25, 0.95);    backdrop-filter: blur(20px); border-top: 1px solid var(--border-color); padding: 12px 15px;    display: flex; justify-content: space-between; align-items: center; gap: 8px;    transition: bottom 0.3s ease; z-index: 50; padding-bottom: max(12px, env(safe-area-inset-bottom));}.selection-bar.active { bottom: 0; }.selection-bar button { flex: 1; padding: 10px; border-radius: 10px; font-weight: bold; border: none; font-size: 0.9rem; }.btn-delete-multi { background: var(--danger); color: white; }.btn-cancel { background: rgba(255,255,255,0.1); color: white; }/* Modals */.modal-overlay {    position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);    display: none; justify-content: center; align-items: center; z-index: 200;}.modal-overlay.active { display: flex; }.modal-content { background: var(--card-bg); padding: 20px; border-radius: 20px; border: 1px solid var(--border-color); width: 90%; max-width: 320px; text-align: center; }.modal-content h3 { margin-bottom: 12px; font-size: 1.1rem; }.modal-content input[type="text"] { width: 100%; background: rgba(0,0,0,0.5); border: 1px solid var(--border-color); padding: 12px; border-radius: 10px; color: white; margin-bottom: 12px; outline:none; font-size: 0.9rem;}.type-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 15px; }.btn-type { background: rgba(0,0,0,0.3); border: 1px solid var(--border-color); color: var(--text-muted); padding: 10px 5px; border-radius: 10px; font-size: 0.85rem;}.btn-type.selected[data-type="تصميد"] { background: rgba(0, 230, 118, 0.1); border-color: var(--success); color: var(--success); }.btn-type.selected[data-type="حوالة"] { background: rgba(255, 59, 48, 0.1); border-color: var(--danger); color: var(--danger); }.btn-type.selected[data-type="مشتريات"] { background: rgba(255, 204, 0, 0.1); border-color: var(--warning); color: var(--warning); }.action-btn { width: 100%; padding: 12px; border-radius: 10px; margin-top: 8px; font-weight: bold; border: none; cursor: pointer; font-size: 0.95rem; }.btn-confirm { background: var(--neon-cyan); color: #000; }.view { display: none; }.view.active { display: block; }