From 139475dc3c31456c71aff67550d512e21069e05c Mon Sep 17 00:00:00 2001 From: Antigravity AI Date: Mon, 6 Jul 2026 21:52:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20premium=20UI=20overhaul=20for=20falah-s?= =?UTF-8?q?hortcodes=20widgets=20=E2=80=94=20Islamic=20luxury=20design=20s?= =?UTF-8?q?ystem=20v2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wordpress-plugins/falah-shortcodes.zip | Bin 11727 -> 12643 bytes .../assets/falah-shortcodes.css | 571 +++++++++++++----- 2 files changed, 436 insertions(+), 135 deletions(-) diff --git a/wordpress-plugins/falah-shortcodes.zip b/wordpress-plugins/falah-shortcodes.zip index 8f43d23eade274f1e6ed7a9ebdfb1ab8aecea523..23902bde88d7812777c5bf36167a7ba60ad7c102 100644 GIT binary patch delta 3742 zcmV;P4q@@nTjOF3P)h>@3IG5A005D$kqjsXA+t+rC9{*g5*v|KHv)}_v5xTr0w!s* zfdmB(0+Fthh!QUbA+t+rC9{*g5*rbYuI5}UhQZFU4FCWhKL7wMlWZLKBqZU?w}O-%C*zs>5%&x4mvjM;AOM0goureA6FU|GEV01uv(GM&m*1il zj`0rN>@rq{Swsr-$8W!*f47Vzbf2IfiWny}M6XFfw<)@LC`yu`y8wOr^5_*!au|g6 zEIvKim1SNmU%uRAX<3Z6S+~ieCKATJ@c5_T&3ee&BdcF#-uj=M)rb*_buNLRQ_)>3HLwWORc0IpZ z7|q)_yRSsB?HZp3f4)B)Pv^s6KJ-VyY*2R&8NrG6uH)6^>TKoL%_+WnFlORkj_1Kb zZ&o_;=J924HdUib@~%8Enm2pNz9iN7`)o7u|*dGP~>^o@TF9v4U zX5HE6;vfG~J?aP_e_gw&M&(e{^3o(-{Z(y9=YuE9#Y8 zG)*8SQd;Xdgq<)YaVVniT5A+hr|u!3X({QR6@e1=oc%lFb)c^&e-;j)LDFy+pvCs*YK+NSt2O$I? z1S3!WwtDl^+bi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%>ajbaDlg^aO?3+n(+U=TJ3jrhl|7TdUb?^Istv|ov}V_ z{rAVuxpas}%t-pp`ur<7eVcD@vU9zC!9vxE1_cW*e4{QyK7m)i_dZJ8JQnZ0{WWWF zPUUk@YNS0~DYPpMo=NUHG4<8Eqo-Ag`B)AI8t_NQ{tEr#n>|S>MwdnvTQQP}(v$BE zlM~);t{s`2yc_TO%&{q8p!{!*_0XxjSBl2!)5ZS)ljR^%0%c&cIU&6b0#kpJ_%1dA zEnt%{FX#eAf0G(8JpvM7lQ1tG4iA6kT!z?0(j5u_0N^W=gfK+{tzVNcFCCNUFdhR@ U9RQQ-5-O83F)9XDD*ylh0DV(M(f|Me diff --git a/wordpress-plugins/falah-shortcodes/assets/falah-shortcodes.css b/wordpress-plugins/falah-shortcodes/assets/falah-shortcodes.css index ca9d9c2..0994f55 100644 --- a/wordpress-plugins/falah-shortcodes/assets/falah-shortcodes.css +++ b/wordpress-plugins/falah-shortcodes/assets/falah-shortcodes.css @@ -1,253 +1,554 @@ -/* Falah Shortcodes — Design System */ +/* Falah Shortcodes — Premium Islamic Design System v2 */ +@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600;700&family=Scheherazade+New:wght@400;700&display=swap'); + :root { - --falah-green: #1a7a4a; - --falah-green-light: #2da065; - --falah-gold: #c9a84c; - --falah-gold-light: #e6c97a; - --falah-surface: #f8f6f0; - --falah-surface-dark: #1c1f2e; - --falah-text: #1a1a2e; - --falah-text-muted: #5a6070; - --falah-border: rgba(0,0,0,0.08); - --falah-radius: 16px; - --falah-shadow: 0 4px 24px rgba(0,0,0,0.08); - --falah-shadow-lg: 0 8px 40px rgba(0,0,0,0.12); - --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); + /* Palette */ + --f-emerald: #0A5C36; + --f-emerald-mid: #0D7343; + --f-emerald-light: #E6F2EC; + --f-gold: #C8921A; + --f-gold-light: #F5E6C8; + --f-gold-glow: rgba(200,146,26,0.25); + --f-cream: #FAF7F0; + --f-navy: #0A1628; + --f-navy-mid: #1A2740; + --f-text: #0A1628; + --f-text-muted: #5C6880; + --f-border: rgba(10,22,40,0.08); + --f-border-gold: rgba(200,146,26,0.3); + --f-surface: #FFFFFF; + + /* Spacing & shape */ + --f-radius: 12px; + --f-radius-sm: 8px; + --f-shadow: 0 2px 16px rgba(10,22,40,0.07), 0 1px 4px rgba(10,22,40,0.05); + --f-shadow-lg: 0 8px 40px rgba(10,22,40,0.12), 0 2px 8px rgba(10,22,40,0.06); + --f-shadow-gold: 0 4px 20px rgba(200,146,26,0.2); + + /* Motion */ + --f-ease: cubic-bezier(0.16, 1, 0.3, 1); + --f-fast: 150ms; + --f-normal: 300ms; + + /* Typography */ + --f-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; + --f-font-display: 'Cormorant Garamond', Georgia, serif; + --f-font-arabic: 'Scheherazade New', 'KFGQPC Uthmanic Script HAFS', serif; } /* ── Base widget ──────────────────────────────────────────────────────────── */ .falah-widget { - background: #fff; - border-radius: var(--falah-radius); - box-shadow: var(--falah-shadow); + background: var(--f-surface); + border-radius: var(--f-radius); + box-shadow: var(--f-shadow); overflow: hidden; - margin: 24px 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; - color: var(--falah-text); + margin: 28px 0; + font-family: var(--f-font-body); + color: var(--f-text); + border: 1px solid var(--f-border); + transition: box-shadow var(--f-normal) var(--f-ease); +} +.falah-widget:hover { + box-shadow: var(--f-shadow-lg); } .falah-widget-header { display: flex; align-items: center; - gap: 10px; - padding: 20px 24px 16px; - border-bottom: 1px solid var(--falah-border); - background: linear-gradient(135deg, var(--falah-green) 0%, #145c38 100%); + gap: 12px; + padding: 18px 24px; + background: linear-gradient(135deg, var(--f-emerald) 0%, #0D4A2C 100%); color: #fff; + position: relative; + overflow: hidden; +} +.falah-widget-header::after { + content: ''; + position: absolute; + right: -20px; + top: -20px; + width: 100px; + height: 100px; + border-radius: 50%; + background: rgba(255,255,255,0.04); + pointer-events: none; +} +.falah-widget-header::before { + content: ''; + position: absolute; + right: 40px; + bottom: -30px; + width: 80px; + height: 80px; + border-radius: 50%; + background: rgba(200,146,26,0.12); + pointer-events: none; } .falah-widget-header h3 { margin: 0; - font-size: 1.1rem; + font-size: 0.95rem; font-weight: 600; color: #fff; flex: 1; + letter-spacing: 0.01em; } .falah-widget-header .falah-location { - font-size: 0.8rem; - opacity: 0.8; + font-size: 0.75rem; + opacity: 0.75; + font-weight: 400; +} +.falah-icon { + font-size: 1.25rem; + opacity: 0.9; } -.falah-icon { font-size: 1.4rem; } /* ── Spinner ──────────────────────────────────────────────────────────────── */ .falah-spinner { - width: 32px; height: 32px; - border: 3px solid var(--falah-border); - border-top-color: var(--falah-green); + width: 28px; height: 28px; + border: 2.5px solid var(--f-border); + border-top-color: var(--f-emerald); border-radius: 50%; - animation: falah-spin 0.7s linear infinite; + animation: falah-spin 0.75s linear infinite; } @keyframes falah-spin { to { transform: rotate(360deg); } } + .falah-loading { display: flex; align-items: center; gap: 12px; - justify-content: center; padding: 32px; - color: var(--falah-text-muted); font-size: 0.9rem; + justify-content: center; padding: 40px; + color: var(--f-text-muted); font-size: 0.875rem; } /* ── Prayer Times ─────────────────────────────────────────────────────────── */ .falah-prayer-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); - gap: 1px; - background: var(--falah-border); + grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); + gap: 0; } .falah-prayer-item { - background: #fff; - padding: 16px 12px; + background: var(--f-surface); + padding: 20px 10px; text-align: center; - transition: background 200ms; + border-right: 1px solid var(--f-border); + border-bottom: 1px solid var(--f-border); + transition: background var(--f-fast); + position: relative; } +.falah-prayer-item:last-child { border-right: none; } .falah-prayer-item.active { - background: linear-gradient(135deg, #e8f5ee, #f0faf4); + background: var(--f-emerald-light); +} +.falah-prayer-item.active::before { + content: ''; + position: absolute; + top: 0; left: 50%; transform: translateX(-50%); + width: 32px; height: 3px; + background: var(--f-emerald); + border-radius: 0 0 3px 3px; +} +.falah-prayer-name { + font-size: 0.7rem; + text-transform: uppercase; + letter-spacing: 0.08em; + color: var(--f-text-muted); + margin-bottom: 8px; + font-weight: 600; +} +.falah-prayer-item.active .falah-prayer-name { + color: var(--f-emerald); +} +.falah-prayer-time { + font-size: 1.1rem; + font-weight: 700; + font-variant-numeric: tabular-nums; + color: var(--f-text); + letter-spacing: -0.01em; +} +.falah-prayer-item.active .falah-prayer-time { + color: var(--f-emerald); } -.falah-prayer-item.active .falah-prayer-name { color: var(--falah-green); font-weight: 700; } -.falah-prayer-name { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--falah-text-muted); margin-bottom: 6px; } -.falah-prayer-time { font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; } -.falah-prayer-item.active .falah-prayer-time { color: var(--falah-green); } .falah-next-prayer { - padding: 12px 24px; - font-size: 0.85rem; - color: var(--falah-green); - font-weight: 500; + padding: 14px 24px; + font-size: 0.82rem; + color: var(--f-emerald); + font-weight: 600; text-align: center; + background: var(--f-emerald-light); + border-top: 1px solid rgba(10,92,54,0.1); } .falah-hijri { - padding: 0 24px 16px; - font-size: 0.8rem; - color: var(--falah-text-muted); + padding: 10px 24px 14px; + font-size: 0.78rem; + color: var(--f-text-muted); text-align: center; + font-family: var(--f-font-display); + font-style: italic; } /* ── Dhikr Counter ────────────────────────────────────────────────────────── */ .falah-dhikr-selector { display: flex; flex-wrap: wrap; gap: 8px; - padding: 16px 20px; + padding: 18px 20px 12px; } .falah-dhikr-btn { - padding: 6px 14px; border-radius: 20px; - border: 1.5px solid var(--falah-border); - background: var(--falah-surface); cursor: pointer; - font-size: 0.82rem; color: var(--falah-text-muted); - transition: all 150ms; + padding: 6px 14px; + border-radius: 20px; + border: 1.5px solid var(--f-border); + background: var(--f-cream); + cursor: pointer; + font-size: 0.8rem; + color: var(--f-text-muted); + font-family: var(--f-font-body); + transition: all var(--f-fast) var(--f-ease); + font-weight: 500; } .falah-dhikr-btn.active, .falah-dhikr-btn:hover { - background: var(--falah-green); color: #fff; border-color: var(--falah-green); + background: var(--f-emerald); + color: #fff; + border-color: var(--f-emerald); + box-shadow: 0 2px 8px rgba(10,92,54,0.25); +} +.falah-dhikr-display { + text-align: center; + padding: 8px 24px 4px; +} +.falah-dhikr-arabic { + font-size: 2.2rem; + font-family: var(--f-font-arabic); + direction: rtl; + line-height: 1.8; + color: var(--f-text); +} +.falah-dhikr-meaning { + font-size: 0.82rem; + color: var(--f-text-muted); + margin-top: 4px; + font-style: italic; + font-family: var(--f-font-display); } -.falah-dhikr-display { text-align: center; padding: 8px 20px 4px; } -.falah-dhikr-arabic { font-size: 2rem; font-family: 'Scheherazade New', 'KFGQPC Uthmanic Script HAFS', serif; direction: rtl; line-height: 1.6; color: var(--falah-text); } -.falah-dhikr-meaning { font-size: 0.85rem; color: var(--falah-text-muted); margin-top: 4px; } .falah-counter-circle { - position: relative; width: 140px; height: 140px; - margin: 16px auto 4px; + position: relative; + width: 160px; height: 160px; + margin: 20px auto 8px; } .falah-counter-circle svg { transform: rotate(-90deg); } -.falah-ring-bg { fill: none; stroke: var(--falah-border); stroke-width: 8; } +.falah-ring-bg { + fill: none; + stroke: var(--f-border); + stroke-width: 6; +} .falah-ring-progress { - fill: none; stroke: var(--falah-green); stroke-width: 8; + fill: none; + stroke: url(#falah-ring-gradient); + stroke-width: 6; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; - transition: stroke-dashoffset 300ms var(--ease-out-expo); + transition: stroke-dashoffset var(--f-normal) var(--f-ease); } .falah-counter-number { position: absolute; inset: 0; - display: flex; align-items: center; justify-content: center; - font-size: 2.2rem; font-weight: 700; color: var(--falah-text); + display: flex; flex-direction: column; + align-items: center; justify-content: center; + font-size: 2.8rem; + font-weight: 700; + color: var(--f-text); font-variant-numeric: tabular-nums; + line-height: 1; + letter-spacing: -0.02em; +} +.falah-counter-target { + text-align: center; + color: var(--f-text-muted); + font-size: 0.82rem; + margin-bottom: 16px; +} +.falah-counter-actions { + display: flex; gap: 10px; + justify-content: center; + padding: 0 20px 20px; } -.falah-counter-target { text-align: center; color: var(--falah-text-muted); font-size: 0.9rem; margin-bottom: 16px; } -.falah-counter-actions { display: flex; gap: 12px; justify-content: center; padding: 0 20px 16px; } .falah-btn-tap { - flex: 1; max-width: 160px; - padding: 14px 24px; - background: var(--falah-green); color: #fff; - border: none; border-radius: 12px; cursor: pointer; - font-size: 1rem; font-weight: 600; - box-shadow: 0 4px 14px rgba(26,122,74,0.3); - transition: transform 80ms, box-shadow 150ms; - user-select: none; -webkit-tap-highlight-color: transparent; + flex: 1; max-width: 180px; + padding: 16px 24px; + background: linear-gradient(135deg, var(--f-emerald) 0%, var(--f-emerald-mid) 100%); + color: #fff; + border: none; border-radius: var(--f-radius); + cursor: pointer; font-size: 1rem; font-weight: 600; + font-family: var(--f-font-body); + box-shadow: 0 4px 16px rgba(10,92,54,0.3); + transition: transform 80ms, box-shadow var(--f-fast); + user-select: none; + -webkit-tap-highlight-color: transparent; +} +.falah-btn-tap:active { + transform: scale(0.96); + box-shadow: 0 1px 4px rgba(10,92,54,0.2); } -.falah-btn-tap:active { transform: scale(0.95); box-shadow: none; } .falah-btn-reset { - padding: 14px 20px; background: var(--falah-surface); - color: var(--falah-text-muted); border: 1.5px solid var(--falah-border); - border-radius: 12px; cursor: pointer; font-size: 0.9rem; - transition: background 150ms; + padding: 16px 18px; + background: var(--f-cream); + color: var(--f-text-muted); + border: 1.5px solid var(--f-border); + border-radius: var(--f-radius); + cursor: pointer; + font-size: 0.875rem; + font-family: var(--f-font-body); + transition: all var(--f-fast); } -.falah-btn-reset:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; } -.falah-session-total { text-align: center; padding: 0 20px 16px; font-size: 0.8rem; color: var(--falah-text-muted); min-height: 20px; } +.falah-btn-reset:hover { + background: #FEE2E2; + color: #DC2626; + border-color: #FECACA; +} +.falah-session-total { + text-align: center; + padding: 0 20px 16px; + font-size: 0.78rem; + color: var(--f-text-muted); + min-height: 20px; +} + +/* SVG gradient definition (injected inline by JS or here as fallback) */ +.falah-ring-progress { stroke: var(--f-gold); } /* ── Qibla Compass ────────────────────────────────────────────────────────── */ -.falah-qibla-status { padding: 32px; text-align: center; } +.falah-qibla-status { + padding: 40px 32px; + text-align: center; +} +.falah-qibla-status p { + color: var(--f-text-muted); + font-size: 0.9rem; + margin-bottom: 20px; +} .falah-btn-locate { - padding: 12px 28px; background: var(--falah-green); color: #fff; - border: none; border-radius: 12px; cursor: pointer; font-size: 1rem; - box-shadow: 0 4px 14px rgba(26,122,74,0.3); transition: transform 80ms; + padding: 13px 32px; + background: linear-gradient(135deg, var(--f-emerald) 0%, var(--f-emerald-mid) 100%); + color: #fff; + border: none; border-radius: var(--f-radius); + cursor: pointer; font-size: 0.95rem; font-weight: 600; + font-family: var(--f-font-body); + box-shadow: 0 4px 16px rgba(10,92,54,0.3); + transition: transform 80ms; } .falah-btn-locate:active { transform: scale(0.97); } -.falah-qibla-display { padding: 20px; } -.falah-compass-wrap { display: flex; justify-content: center; margin-bottom: 16px; } +.falah-qibla-display { padding: 24px 20px; } +.falah-compass-wrap { + display: flex; justify-content: center; + margin-bottom: 20px; +} .falah-compass { - position: relative; width: 180px; height: 180px; - border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f0f4ff, #e8ecf8); - box-shadow: 0 0 0 4px var(--falah-border), var(--falah-shadow-lg); + position: relative; + width: 200px; height: 200px; + border-radius: 50%; + background: radial-gradient(circle at 40% 35%, #F0F4FF, #E4E9F5); + box-shadow: + 0 0 0 1px var(--f-border), + 0 0 0 8px rgba(200,146,26,0.08), + var(--f-shadow-lg); display: flex; align-items: center; justify-content: center; } .falah-compass-rose { position: absolute; inset: 0; } .falah-dir { - position: absolute; font-size: 0.75rem; font-weight: 700; color: var(--falah-text-muted); + position: absolute; + font-size: 0.7rem; font-weight: 700; + color: var(--f-text-muted); + letter-spacing: 0.05em; } -.falah-dir.n { top: 8px; left: 50%; transform: translateX(-50%); } -.falah-dir.s { bottom: 8px; left: 50%; transform: translateX(-50%); } -.falah-dir.e { right: 10px; top: 50%; transform: translateY(-50%); } -.falah-dir.w { left: 10px; top: 50%; transform: translateY(-50%); } +.falah-dir.n { top: 10px; left: 50%; transform: translateX(-50%); color: #DC2626; } +.falah-dir.s { bottom: 10px; left: 50%; transform: translateX(-50%); } +.falah-dir.e { right: 12px; top: 50%; transform: translateY(-50%); } +.falah-dir.w { left: 12px; top: 50%; transform: translateY(-50%); } .falah-needle-kaaba { - font-size: 2rem; transition: transform 0.3s ease-out; + font-size: 2.2rem; + transition: transform 0.4s var(--f-ease); transform-origin: center; + filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); +} +.falah-qibla-info { + text-align: center; + color: var(--f-text-muted); + font-size: 0.875rem; +} +#falah-qibla-angle { + font-size: 1.3rem; + font-weight: 700; + color: var(--f-emerald); + margin-bottom: 4px; } -.falah-qibla-info { text-align: center; color: var(--falah-text-muted); font-size: 0.9rem; } -#falah-qibla-angle { font-size: 1.2rem; font-weight: 600; color: var(--falah-green); margin-bottom: 4px; } /* ── Daily Verse ──────────────────────────────────────────────────────────── */ -.falah-verse-loading { display: flex; justify-content: center; padding: 32px; } -.falah-verse-content { padding: 24px; } -.falah-verse-arabic { - font-family: 'Scheherazade New', 'KFGQPC Uthmanic Script HAFS', serif; - font-size: 1.5rem; line-height: 2; text-align: right; - color: var(--falah-text); margin-bottom: 16px; - padding-bottom: 16px; border-bottom: 1px solid var(--falah-border); +.falah-verse-loading { + display: flex; justify-content: center; padding: 40px; +} +.falah-verse-content { + padding: 28px 28px 24px; +} +.falah-verse-arabic { + font-family: var(--f-font-arabic); + font-size: 1.75rem; + line-height: 2.2; + text-align: right; + color: var(--f-navy); + margin-bottom: 20px; + padding: 20px 20px 20px 12px; + background: linear-gradient(135deg, var(--f-cream) 0%, #F5F0E8 100%); + border-radius: var(--f-radius-sm); + border-right: 4px solid var(--f-gold); + direction: rtl; +} +.falah-verse-translation { + font-family: var(--f-font-display); + font-size: 1.1rem; + line-height: 1.8; + color: var(--f-text); + font-style: italic; + padding: 0 4px; +} +.falah-verse-ref { + margin-top: 14px; + font-size: 0.78rem; + color: var(--f-gold); + font-weight: 700; + letter-spacing: 0.06em; + text-transform: uppercase; + font-family: var(--f-font-body); + font-style: normal; } -.falah-verse-translation { font-size: 1rem; line-height: 1.7; color: var(--falah-text); font-style: italic; } -.falah-verse-ref { margin-top: 12px; font-size: 0.8rem; color: var(--falah-green); font-weight: 600; } /* ── Iframe Widget ────────────────────────────────────────────────────────── */ -.falah-iframe-container { position: relative; height: 600px; } +.falah-iframe-container { + position: relative; height: 620px; + background: var(--f-cream); +} .falah-iframe { width: 100%; height: 100%; border: none; display: block; position: relative; z-index: 2; } .falah-iframe-fallback { position: absolute; inset: 0; z-index: 1; - display: flex; flex-direction: column; align-items: center; justify-content: center; - gap: 12px; background: var(--falah-surface); color: var(--falah-text-muted); + display: flex; flex-direction: column; + align-items: center; justify-content: center; + gap: 12px; background: var(--f-cream); + color: var(--f-text-muted); } .falah-open-link { - color: var(--falah-green); text-decoration: none; font-weight: 500; font-size: 0.9rem; + color: var(--f-emerald); + text-decoration: none; + font-weight: 600; + font-size: 0.9rem; + padding: 10px 22px; + border: 1.5px solid var(--f-emerald); + border-radius: var(--f-radius-sm); + transition: all var(--f-fast); +} +.falah-open-link:hover { + background: var(--f-emerald); + color: #fff; } /* ── Dashboard ────────────────────────────────────────────────────────────── */ .falah-dashboard { padding: 4px 0; } -.falah-dashboard-header { margin-bottom: 24px; } -.falah-dashboard-header h2 { font-size: 1.6rem; font-weight: 700; margin: 0 0 4px; } -.falah-dashboard-date { color: var(--falah-text-muted); margin: 0; font-size: 0.9rem; } +.falah-dashboard-header { margin-bottom: 28px; } +.falah-dashboard-header h2 { + font-family: var(--f-font-display); + font-size: 2rem; + font-weight: 600; + margin: 0 0 4px; + color: var(--f-navy); + letter-spacing: -0.02em; +} +.falah-dashboard-date { + color: var(--f-text-muted); + margin: 0; + font-size: 0.875rem; + font-family: var(--f-font-display); + font-style: italic; +} .falah-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); - gap: 16px; margin-bottom: 28px; + gap: 16px; + margin-bottom: 32px; } .falah-dash-card { - background: #fff; border-radius: var(--falah-radius); - box-shadow: var(--falah-shadow); padding: 20px; + background: var(--f-surface); + border-radius: var(--f-radius); + box-shadow: var(--f-shadow); + padding: 20px; display: flex; gap: 16px; align-items: flex-start; - border-left: 4px solid var(--falah-green); + border: 1px solid var(--f-border); + position: relative; overflow: hidden; + transition: box-shadow var(--f-normal) var(--f-ease), transform var(--f-normal) var(--f-ease); +} +.falah-dash-card::before { + content: ''; + position: absolute; + top: 0; left: 0; + width: 3px; height: 100%; + background: linear-gradient(180deg, var(--f-gold) 0%, var(--f-emerald) 100%); +} +.falah-dash-card:hover { + box-shadow: var(--f-shadow-lg); + transform: translateY(-2px); +} +.falah-dash-card-icon { + font-size: 1.75rem; flex-shrink: 0; + width: 44px; height: 44px; + display: flex; align-items: center; justify-content: center; + background: var(--f-emerald-light); + border-radius: var(--f-radius-sm); +} +.falah-dash-card-label { + font-size: 0.7rem; + text-transform: uppercase; + letter-spacing: 0.08em; + color: var(--f-text-muted); + margin-bottom: 6px; + font-weight: 600; +} +.falah-dash-card-value { + font-size: 1.05rem; + font-weight: 700; + line-height: 1.3; + color: var(--f-text); +} +.falah-dash-card-sub { + font-size: 0.78rem; + color: var(--f-text-muted); + margin-top: 3px; } -.falah-dash-card-icon { font-size: 1.8rem; flex-shrink: 0; } -.falah-dash-card-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--falah-text-muted); margin-bottom: 6px; } -.falah-dash-card-value { font-size: 1.1rem; font-weight: 600; line-height: 1.3; } -.falah-dash-card-sub { font-size: 0.8rem; color: var(--falah-text-muted); margin-top: 2px; } .falah-dashboard-links { - display: flex; flex-wrap: wrap; gap: 12px; + display: flex; flex-wrap: wrap; gap: 10px; } .falah-dash-link { - padding: 10px 18px; background: #fff; border-radius: 10px; - box-shadow: var(--falah-shadow); text-decoration: none; - color: var(--falah-text); font-size: 0.9rem; font-weight: 500; - transition: box-shadow 150ms, transform 150ms; - border: 1px solid var(--falah-border); + padding: 10px 18px; + background: var(--f-surface); + border-radius: var(--f-radius-sm); + box-shadow: var(--f-shadow); + text-decoration: none; + color: var(--f-text); + font-size: 0.875rem; + font-weight: 500; + transition: all var(--f-fast) var(--f-ease); + border: 1px solid var(--f-border); +} +.falah-dash-link:hover { + box-shadow: var(--f-shadow-gold); + transform: translateY(-2px); + color: var(--f-gold); + border-color: var(--f-border-gold); + background: var(--f-gold-light); } -.falah-dash-link:hover { box-shadow: var(--falah-shadow-lg); transform: translateY(-2px); color: var(--falah-green); } +/* ── Responsive ───────────────────────────────────────────────────────────── */ @media (max-width: 600px) { .falah-prayer-grid { grid-template-columns: repeat(3, 1fr); } .falah-dashboard-grid { grid-template-columns: 1fr 1fr; } - .falah-iframe-container { height: 500px; } + .falah-iframe-container { height: 520px; } + .falah-counter-circle { width: 140px; height: 140px; } + .falah-counter-number { font-size: 2.2rem; } + .falah-compass { width: 180px; height: 180px; } + .falah-verse-arabic { font-size: 1.45rem; } + .falah-dashboard-header h2 { font-size: 1.6rem; } }