/* LogoYab calendar (prefix lyc-). Wrapper #lyc. */
#lyc{direction:rtl;max-width:1180px;margin:0 auto;color:#1b2a4e;font-family:estedad-medium,Arial,sans-serif}
#lyc h1.lyc-h1{font-size:30px;line-height:1.5;margin:0 0 10px;color:#1b2a4e}
#lyc p.lyc-intro{margin:0 0 20px;color:#44527a;line-height:2;max-width:860px}
#lyc .lyc-app{display:grid;grid-template-columns:380px minmax(0,1fr);gap:18px;align-items:start}
#lyc .lyc-side{display:flex;flex-direction:column;gap:18px}
#lyc .lyc-card{background:#fff;border:1px solid #dbe5fa;border-radius:22px;padding:20px;box-shadow:0 6px 22px rgba(31,67,125,.06)}
#lyc h2.lyc-t{font-size:16px;margin:0 0 14px;color:#1b2a4e}

/* clock */
#lyc .lyc-clock{position:relative;overflow:hidden;background:linear-gradient(145deg,#0e2260 0%,#1a47b9 62%,#3a74f0 130%);color:#fff;border-radius:26px;padding:22px 22px 18px;box-shadow:0 16px 36px rgba(26,71,185,.30)}
#lyc .lyc-clock:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;left:-90px;top:-110px;background:radial-gradient(circle,rgba(255,255,255,.16),rgba(255,255,255,0) 70%);pointer-events:none}
#lyc .lyc-clock:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-80px;bottom:-120px;background:radial-gradient(circle,rgba(255,255,255,.10),rgba(255,255,255,0) 70%);pointer-events:none}
#lyc .lyc-clock>*{position:relative;z-index:1}
#lyc .lyc-time{direction:ltr;display:flex;align-items:baseline;justify-content:center;gap:2px;margin:18px 0 6px;font-family:"SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-variant-numeric:tabular-nums;font-weight:600;line-height:1}
#lyc .lyc-time .lyc-hm{font-size:78px;letter-spacing:1px;display:inline-flex;align-items:center}
#lyc .lyc-time i{font-style:normal;margin:0 2px;position:relative;top:-4px;animation:lycb 1s steps(2,jump-none) infinite}
#lyc .lyc-time .lyc-s{font-size:30px;opacity:.65;margin-left:8px;min-width:2ch}
@keyframes lycb{0%{opacity:1}50%{opacity:.25}}
#lyc .lyc-wd{text-align:center;font-size:22px;margin-bottom:2px}
#lyc .lyc-dates{display:flex;flex-direction:column;gap:8px;margin-top:14px}
#lyc .lyc-d{display:flex;align-items:center;justify-content:space-between;gap:10px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:10px 14px;backdrop-filter:blur(2px)}
#lyc .lyc-d small{font-size:12px;opacity:.75}
#lyc .lyc-d b{font-size:16px;font-weight:400}
#lyc .lyc-d.is-main{background:#fff;color:#1b2a4e;border-color:#fff}
#lyc .lyc-d.is-main small{color:#5b6b8f;opacity:1}
#lyc .lyc-d.is-main b{font-size:19px}
#lyc .lyc-opts{display:flex;flex-direction:column;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.18);font-size:12.5px}
#lyc .lyc-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#lyc .lyc-opt>span{opacity:.8}

/* segmented buttons */
#lyc .lyc-seg{display:inline-flex;gap:3px;padding:3px;border-radius:12px;background:#edf3fe}
#lyc .lyc-clock .lyc-seg{background:rgba(255,255,255,.14)}
#top #wrap_all #lyc .lyc-seg button{border:0!important;background:transparent!important;color:#1a47b9!important;border-radius:9px!important;padding:6px 12px!important;font-size:12.5px!important;line-height:1.4!important;cursor:pointer;font-family:inherit!important;min-height:0!important;margin:0!important}
#top #wrap_all #lyc .lyc-clock .lyc-seg button{color:#fff!important}
#top #wrap_all #lyc .lyc-seg button.is-on{background:#1a47b9!important;color:#fff!important}
#top #wrap_all #lyc .lyc-clock .lyc-seg button.is-on{background:#fff!important;color:#1a47b9!important}
#top #wrap_all #lyc .lyc-conv .lyc-seg{display:flex}
#top #wrap_all #lyc .lyc-conv .lyc-seg button{flex:1;padding:9px 6px!important;font-size:13px!important}

/* calendar */
#lyc .lyc-ch{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
#lyc .lyc-cth h2{font-size:26px;margin:0;line-height:1.3}
#lyc .lyc-cth p{margin:4px 0 0;font-size:13px;color:#6b7a9f;white-space:pre-wrap}
#lyc .lyc-ctl{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#top #wrap_all #lyc .lyc-ctl button,#top #wrap_all #lyc .lyc-b{border:1px solid #dbe5fa!important;background:#fff!important;color:#1a47b9!important;border-radius:12px!important;min-width:42px;height:42px;padding:0 14px!important;font-size:14px!important;cursor:pointer;font-family:inherit!important;line-height:1!important;margin:0!important;transition:.15s}
#top #wrap_all #lyc .lyc-ctl button:hover,#top #wrap_all #lyc .lyc-b:hover{background:#1a47b9!important;color:#fff!important;border-color:#1a47b9!important}
#top #wrap_all #lyc .lyc-ctl select,#top #wrap_all #lyc .lyc-ctl input{height:42px!important;border:1px solid #dbe5fa!important;border-radius:12px!important;background:#f8faff!important;color:#1b2a4e!important;font-size:14px!important;font-family:inherit!important;padding:0 10px!important;margin:0!important;width:auto!important;min-width:0!important;box-shadow:none!important}
#top #wrap_all #lyc .lyc-ctl input{width:78px!important;text-align:center;direction:ltr}
#lyc .lyc-wh,#lyc .lyc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
#lyc .lyc-wh{margin-bottom:6px}
#lyc .lyc-wh span{text-align:center;font-size:13px;color:#5b6b8f;padding:6px 0}
#lyc .lyc-wh span.is-fri{color:#d33b3b}
#lyc .lyc-day{position:relative;min-height:70px;border-radius:14px;background:#f6f9ff;border:1px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,border-color .15s,transform .15s;user-select:none}
#lyc .lyc-day.is-out{background:transparent}#lyc .lyc-day.is-out .lyc-dj,#lyc .lyc-day.is-out .lyc-dg,#lyc .lyc-day.is-out .lyc-dh{opacity:.38}
#lyc .lyc-day:not(.is-empty):hover{background:#e8f0fe;border-color:#b9cbf3}
#lyc .lyc-dj{font-size:24px;font-weight:400;line-height:1;margin-top:-6px}
#lyc .lyc-dg,#lyc .lyc-dh{position:absolute;bottom:6px;font-size:11px;color:#8a97b8;line-height:1}
#lyc .lyc-dg{left:8px}
#lyc .lyc-dh{right:8px}
#lyc .lyc-day.is-fri .lyc-dj{color:#d33b3b}
#lyc .lyc-day.is-sel{border-color:#1a47b9;background:#e8f0fe}
#lyc .lyc-day.is-today{background:#1a47b9;color:#fff;box-shadow:0 8px 18px rgba(26,71,185,.32)}
#lyc .lyc-day.is-today .lyc-dj,#lyc .lyc-day.is-today .lyc-dg,#lyc .lyc-day.is-today .lyc-dh{color:#fff}
#lyc .lyc-day.is-today.is-sel{outline:3px solid rgba(26,71,185,.25);outline-offset:1px}
#lyc .lyc-day:focus-visible{outline:3px solid #86a9f6;outline-offset:1px}
#lyc .lyc-leg{display:flex;gap:16px;flex-wrap:wrap;margin:14px 2px 0;font-size:12px;color:#6b7a9f}

/* converter */
#lyc .lyc-in{display:grid;grid-template-columns:1.1fr 1.6fr .9fr;gap:8px;margin:14px 0 8px}
#lyc .lyc-in label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#5b6b8f}
#top #wrap_all #lyc .lyc-in input,#top #wrap_all #lyc .lyc-in select{height:46px!important;border:1px solid #dbe5fa!important;border-radius:12px!important;background:#f8faff!important;color:#1b2a4e!important;font-size:15px!important;font-family:inherit!important;padding:0 10px!important;margin:0!important;width:100%!important;max-width:none!important;text-align:center;box-shadow:none!important}
#top #wrap_all #lyc .lyc-in input{direction:ltr}
#lyc .lyc-err{margin:4px 0 0;font-size:13px;color:#c33}
#lyc .lyc-res{margin-top:14px;display:flex;flex-direction:column;gap:8px}
#lyc .lyc-rh{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:#6b7a9f;padding:0 4px}
#lyc .lyc-rh b{font-size:17px;color:#1b2a4e;font-weight:400}
#lyc .lyc-r{display:flex;align-items:center;gap:10px;background:#f6f9ff;border:1px solid #e3ebfb;border-radius:14px;padding:9px 12px}
#lyc .lyc-r.is-src{border-color:#b9cbf3;background:#eef4ff}
#lyc .lyc-r small{flex:0 0 46px;font-size:12px;color:#6b7a9f}
#lyc .lyc-r b{flex:1;font-size:15px;font-weight:400}
#top #wrap_all #lyc .lyc-cp{border:0!important;background:#fff!important;color:#1a47b9!important;border-radius:9px!important;padding:5px 10px!important;font-size:12px!important;cursor:pointer;font-family:inherit!important;min-height:0!important;line-height:1.4!important;box-shadow:0 1px 4px rgba(26,71,185,.12);margin:0!important}
#top #wrap_all #lyc .lyc-cp:hover{background:#1a47b9!important;color:#fff!important}

/* faq + misc */
#lyc .lyc-faq{margin-top:34px}
#lyc .lyc-faq h2{font-size:20px}
#lyc details.lyc-q{background:#fff;border:1px solid #dbe5fa;border-radius:16px;margin-bottom:10px;box-shadow:0 4px 14px rgba(31,67,125,.05);overflow:hidden}
#lyc details.lyc-q[open]{border-color:#b9cbf3;background:#f9fbff}
#lyc details.lyc-q summary{list-style:none;cursor:pointer;padding:16px 18px;font-size:15px;display:flex;align-items:center;justify-content:space-between;gap:12px}
#lyc details.lyc-q summary::-webkit-details-marker{display:none}
#lyc details.lyc-q summary::after{content:"";flex:0 0 28px;height:28px;border-radius:50%;background:#edf3fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a47b9' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;transition:transform .25s}
#lyc details.lyc-q[open] summary::after{transform:rotate(45deg)}
#lyc .lyc-a{padding:0 18px 16px}
#lyc .lyc-a p{margin:0;color:#44527a;line-height:1.95;text-align:justify}

@media(max-width:980px){
#lyc .lyc-app{grid-template-columns:1fr}
#lyc .lyc-side{display:contents}
#lyc .lyc-clock{order:1}
#lyc .lyc-cal{order:2}
#lyc .lyc-conv{order:3}
}
@media(max-width:560px){
#lyc h1.lyc-h1{font-size:23px}
#lyc .lyc-time .lyc-hm{font-size:62px}
#lyc .lyc-card{padding:14px}
#lyc .lyc-day{min-height:52px;border-radius:11px}
#lyc .lyc-dj{font-size:18px;margin-top:-5px}
#lyc .lyc-dg,#lyc .lyc-dh{font-size:9.5px;bottom:4px}
#lyc .lyc-dg{left:5px}
#lyc .lyc-dh{right:5px}
#lyc .lyc-wh,#lyc .lyc-grid{gap:4px}
#lyc .lyc-cth h2{font-size:21px}
#lyc .lyc-in{grid-template-columns:1fr 1.5fr .9fr}
}

/* theme overrides (Enfold) */
#top #wrap_all #lyc .lyc-time,#top #wrap_all #lyc .lyc-time span,#top #wrap_all #lyc .lyc-time i{font-family:"SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;color:#fff!important;font-weight:600}
#top #wrap_all #lyc .lyc-clock .lyc-d b{color:#fff!important;font-weight:400}
#top #wrap_all #lyc .lyc-clock .lyc-d small{color:rgba(255,255,255,.75)!important}
#top #wrap_all #lyc .lyc-clock .lyc-d.is-main b{color:#1b2a4e!important}
#top #wrap_all #lyc .lyc-clock .lyc-d.is-main small{color:#5b6b8f!important}
#top #wrap_all #lyc .lyc-clock .lyc-wd,#top #wrap_all #lyc .lyc-clock .lyc-opt>span{color:#fff!important}
#top #wrap_all #lyc .lyc-cth h2{color:#1b2a4e!important}
#top #wrap_all #lyc .lyc-ctl #lyc-prev,#top #wrap_all #lyc .lyc-ctl #lyc-next{font-size:24px!important;padding:0 12px!important}
#top #wrap_all #lyc .lyc-t,#top #wrap_all #lyc .lyc-rh b,#top #wrap_all #lyc .lyc-r b{color:#1b2a4e!important}

/* today cell: keep blue fill + white text on hover/selected */
#top #wrap_all #lyc .lyc-day.is-today,#top #wrap_all #lyc .lyc-day.is-today:hover,#top #wrap_all #lyc .lyc-day.is-today.is-sel,#top #wrap_all #lyc .lyc-day.is-today:focus{background:#1a47b9!important;border-color:#1a47b9!important}
#top #wrap_all #lyc .lyc-day.is-today:hover{background:#2158d6!important;transform:translateY(-1px)}
#top #wrap_all #lyc .lyc-day.is-today .lyc-dj,#top #wrap_all #lyc .lyc-day.is-today .lyc-dg,#top #wrap_all #lyc .lyc-day.is-today .lyc-dh,#top #wrap_all #lyc .lyc-day.is-today:hover .lyc-dj,#top #wrap_all #lyc .lyc-day.is-today:hover .lyc-dg,#top #wrap_all #lyc .lyc-day.is-today:hover .lyc-dh{color:#fff!important;opacity:1!important}

/* Latin digits 0-9 use a system font (theme font maps them to Persian glyphs) */
@font-face{font-family:"lyc-lat";font-weight:100 900;src:local("SF Pro Text"),local("Helvetica Neue"),local("Segoe UI"),local("Roboto"),local("Arial");unicode-range:U+0030-0039}
#top #wrap_all #lyc,#top #wrap_all #lyc *{font-family:"lyc-lat","estedad-fd-medium",Helvetica,Arial,sans-serif}
