/**
 *                          ___                   _       _         _ 
 *                         / __)                 | |     | |       | |
 *     _ _ _ _ _ _ _ _ _ _| |__ _____  ____ _   _| |  _  | |__   __| |
 *    | | | | | | | | | (_   __|____ |/ ___) | | | |_/ ) |  _ \ / _  |
 *    | | | | | | | | | | | |  / ___ | |   | |_| |  _ ( _| |_) | (_| |
 *     \___/ \___/ \___(_)|_|  \_____|_|   |____/|_| \_|_)____/ \____|
 *                                                                    
 *
 * 	Author: MD OMAR FARUK
 * 	Author URI: www.faruk.bd
 * 	Author Contact: https://faruk.bd/#contact
 * 	Author Email: info@faruk.bd | farukmr@gmail.com
 * 	Copyright © 2026
 *                          ___                   _       _         _ 
 *                         / __)                 | |     | |       | |
 *     _ _ _ _ _ _ _ _ _ _| |__ _____  ____ _   _| |  _  | |__   __| |
 *    | | | | | | | | | (_   __|____ |/ ___) | | | |_/ ) |  _ \ / _  |
 *    | | | | | | | | | | | |  / ___ | |   | |_| |  _ ( _| |_) | (_| |
 *     \___/ \___/ \___(_)|_|  \_____|_|   |____/|_| \_|_)____/ \____|
 *                                                                    
 */
/* Quran CMS - Hijri calendar */
.hc-today { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.hc-today > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .6rem 1rem; min-width: 180px; }
.hc-today small { display: block; color: var(--muted); font-size: .8rem; }
.hc-today strong { font-size: 1.05rem; }
.hc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.4rem; align-items: start; padding-bottom: 3rem; }
.hc-cal { padding: 1.1rem; }
.hc-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.hc-title { text-align: center; }
.hc-title strong { display: block; font-size: 1.35rem; }
.hc-title small { color: var(--muted); }
.hc-modes { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; margin: .9rem 0; }
.hc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.hc-wd { text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); padding: .3rem 0; }
.hc-cell { position: relative; min-height: 78px; border: 1px solid var(--line-2); border-radius: 12px; padding: .4rem .45rem; background: var(--surface); display: flex; flex-direction: column; gap: .1rem; overflow: hidden; }
.hc-cell.empty { background: transparent; border-color: transparent; }
.hc-big { font-size: 1.3rem; font-weight: 800; line-height: 1.1; }
.hc-small { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-tag { font-size: .68rem; font-weight: 700; color: var(--gold); line-height: 1.2; margin-top: auto; }
.hc-cell.fri { background: var(--surface-2); }
.hc-cell.white::after { content: ''; position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #9fb8ff; }
.hc-cell.special { border-color: var(--gold-2); background: var(--gold-soft); }
.hc-cell.today { border: 2px solid var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hc-cell.today .hc-big { color: var(--brand); }
.hc-legend { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .8rem; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; margin-right: .2rem; }
.dot.today { border: 2px solid var(--brand); }
.dot.special { background: var(--gold-2); }
.dot.white { background: #9fb8ff; }
.dot.fri { background: var(--line); }
.hc-side { display: grid; gap: 1rem; }
.hc-side h3 { margin-top: 0; }
.hc-days { list-style: none; margin: 0; padding: 0; }
.hc-days li { display: flex; justify-content: space-between; gap: .6rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.hc-days small { display: block; color: var(--ink-2); font-size: .82rem; }
.hc-when { white-space: nowrap; font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: .15rem .6rem; align-self: flex-start; }
.hc-when.soon { background: var(--brand-soft); color: var(--brand); }
.hc-h2g { display: grid; grid-template-columns: 70px minmax(0, 1fr) 90px; gap: .4rem; margin-top: .3rem; }
.hc-out { font-weight: 700; color: var(--brand); min-height: 1.3em; margin: .4rem 0 .8rem; }
@media (max-width: 960px) { .hc-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hc-cell { min-height: 58px; padding: .3rem; } .hc-big { font-size: 1.05rem; } .hc-tag { display: none; } .hc-cell.special::before { content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--gold); } }
