/* Public Ramadan page (ramadan.php) */
.rm-dua { font-size: 22px; color: var(--green); margin: 10px 0 0; }
.rm-now { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 10px 0 28px; }
.rm-now-card { flex: 1 1 260px; max-width: 420px; background: linear-gradient(135deg, var(--green), var(--green-900)); color: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); text-align: center; }
.rm-now-card small { display: block; opacity: .85; font-size: 14px; margin-bottom: 8px; }
.rm-now-times { display: flex; justify-content: space-around; gap: 12px; font-size: 22px; font-weight: 700; }
.rm-now-times b { display: block; font-size: 13px; font-weight: 500; opacity: .85; margin-bottom: 2px; }
.rm-count { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.rm-clock { font-size: 34px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.rm-sec { margin: 34px 0; }
.rm-sec h2 { font-size: 24px; margin: 0 0 10px; color: var(--ink); }
.rm-tt { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.rm-tt th, .rm-tt td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.rm-tt th { background: var(--soft); font-weight: 600; font-size: 14px; }
.rm-tt tr.today td { background: #fff6dc; font-weight: 700; }
.rm-tt tr.odd-night td:first-child { color: var(--green); font-weight: 700; }
.rm-tt tr.khatm td { background: #e8f7ee; font-weight: 600; }
.rm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 12px 0 18px; }
.rm-cell { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; min-height: 78px; display: flex; flex-direction: column; gap: 3px; }
.rm-cell.full { background: #e8f7ee; border-color: #b9e3c8; }
.rm-cell.past { opacity: .55; }
.rm-cell-h { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.rm-cell-h b { font-size: 18px; color: var(--green); }
.rm-cell-h small { color: var(--muted); font-size: 12px; }
.rm-cell-sp { font-size: 13.5px; line-height: 1.3; }
.rm-cell-free { margin-top: auto; font-size: 12.5px; color: var(--gold-dark); font-weight: 600; }
.rm-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); max-width: 760px; }
.rm-form h3 { margin: 0 0 12px; font-size: 19px; }
.rm-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.rm-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 500; }
.rm-fields input, .rm-fields select { padding: 10px 12px; border: 1px solid #cfd8d2; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.rm-check { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; }
@media (max-width: 600px) { .rm-tt th, .rm-tt td { padding: 8px 7px; font-size: 14px; } .rm-tt td:nth-child(n+3) { white-space: nowrap; } .rm-clock { font-size: 28px; } .rm-now-times { font-size: 19px; } }
/* Homepage Ramadan card (index.php, ramadan_home()) */
.rm-home-sec { padding: 34px 0 0; }
.rm-home { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; background: linear-gradient(135deg, var(--green), var(--green-900)); color: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.rm-home-head { display: flex; align-items: center; gap: 14px; flex: 1 1 240px; }
.rm-home-moon { font-size: 34px; line-height: 1; color: #f2c14e; }
.rm-home-head h2 { margin: 0; font-size: 22px; color: #fff; }
.rm-home-head p { margin: 2px 0 0; opacity: .88; font-size: 14.5px; }
.rm-home-tiles { display: flex; flex-wrap: wrap; gap: 10px; flex: 2 1 380px; }
.rm-home-tile { flex: 1 1 110px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.rm-home-tile b { font-size: 13px; font-weight: 500; opacity: .85; }
.rm-home-tile span { font-size: 21px; font-weight: 700; }
.rm-home-tile small { font-size: 12.5px; opacity: .85; }
.rm-home-tw { flex-basis: 170px; background: rgba(242, 193, 78, .16); border-color: rgba(242, 193, 78, .45); }
.rm-home .btn { flex: 0 0 auto; }
@media (max-width: 600px) { .rm-home { padding: 16px; } .rm-home .btn { width: 100%; text-align: center; } .rm-home-tile span { font-size: 19px; } }
.rm-zk { text-align: center; margin: 0 0 18px; }
