/* Menu START */

/* ── Cookie Consent ──────────────────────────────────────────────── */
body.cc-panel-active { overflow: hidden; }

#cc-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 9997;
    pointer-events: none;
    transition: background 0.35s ease;
}
#cc-wrap.cc-open #cc-backdrop {
    background: rgba(0,0,0,0.45);
    pointer-events: auto;
}

/* ── Mini bar ───────────────────────────────────────────────────── */
#cc-mini {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--pop-bg);
    border-top: 3px solid var(--button-bg);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.13);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}
#cc-mini.cc-mini-visible {
    transform: translateY(0);
    opacity: 1;
}
#cc-wrap.cc-open #cc-mini,
#cc-wrap.cc-dismissing #cc-mini {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

.cc-mini-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 20px 13px;
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}
.cc-mini-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.cc-mini-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--button-bg), rgba(var(--btn-rgb),.65));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 17px;
    box-shadow: 0 2px 10px rgba(var(--btn-rgb),.35);
}
.cc-mini-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cc-mini-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-family);
}
.cc-mini-sub {
    font-size: 11.5px;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-family);
}
.cc-mini-btns {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.cc-btn-manage {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 9px;
    border: 1.5px solid var(--button-bg);
    background: transparent;
    color: var(--button-bg);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-family);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.cc-btn-manage:hover { background: var(--button-bg); color: #fff; }
.cc-btn-accept-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    border-radius: 9px;
    border: none;
    background: var(--button-bg);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-family);
    box-shadow: 0 2px 10px rgba(var(--btn-rgb),.38);
    transition: opacity 0.2s, transform 0.15s;
    white-space: nowrap;
}
.cc-btn-accept-mini:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── Bottom-sheet Panel ─────────────────────────────────────────── */
#cc-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--pop-bg);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 50px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    max-height: 82vh;
    transform: translateY(100%);
    transition: transform 0.43s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
    font-family: var(--font-family);
}
#cc-wrap.cc-open #cc-panel {
    transform: translateY(0);
    pointer-events: auto;
}
#cc-wrap.cc-dismissing #cc-panel { transform: translateY(100%); }

/* Drag handle */
.cc-drag-handle {
    display: flex;
    justify-content: center;
    padding: 10px 0 4px;
    flex-shrink: 0;
}
.cc-drag-handle span {
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: var(--border-color);
    display: block;
}

/* Panel header */
.cc-panel-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 20px 16px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.cc-ph-left {
    display: flex;
    align-items: center;
    gap: 13px;
}
.cc-ph-ico {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--button-bg) 0%, rgba(var(--btn-rgb),.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(var(--btn-rgb),.38);
}
.cc-ph-title {
    margin: 0 0 2px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}
.cc-ph-sub {
    margin: 0;
    font-size: 12px;
    color: var(--gray);
    line-height: 1;
}
.cc-close-x {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
    font-family: var(--font-family);
}
.cc-close-x:hover { background: var(--border-color); }

/* Scrollable body */
.cc-panel-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* App intro */
.cc-intro {
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border-color);
}
.cc-intro-main {
    margin: 0 0 7px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--text-color);
}
.cc-intro-sec {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--gray);
}

/* Categories */
.cc-cats {
    padding: 10px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.cc-cat {
    border: 1px solid var(--border-color);
    border-radius: 13px;
    overflow: hidden;
    background: var(--pop-bg2);
    transition: border-color 0.25s;
}
.cc-cat:not(.cc-cat-essential) { border-inline-start: 3px solid transparent; }
.cc-cat:not(.cc-cat-essential):has([data-pref]:checked) {
    border-inline-start-color: var(--button-bg);
}
.cc-cat-hdr {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 10px;
    font-family: var(--font-family);
    text-align: inherit;
    transition: background 0.15s;
}
.cc-cat-hdr:hover { background: var(--hover-bg); }
.cc-cat.cc-cat-essential .cc-cat-hdr { cursor: default; }
.cc-cat.cc-cat-essential .cc-cat-hdr:hover { background: transparent; }
.cc-cat-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.cc-cat-ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.cc-ico-essential { background: rgba(91,190,88,.15); color: #3a9e38; }
.cc-ico-pref      { background: rgba(66,153,225,.15); color: #3380bd; }
.cc-ico-analytics { background: rgba(154,81,226,.15); color: #8b3ec9; }
.cc-ico-notify    { background: rgba(237,171,51,.15);  color: #c98a2f; }
.cc-cat-lbl {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cc-cat-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cc-cat-sub {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cc-cat-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cc-always-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--button-bg);
    background: rgba(var(--btn-rgb),.12);
    border: 1px solid rgba(var(--btn-rgb),.28);
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}
.cc-chevron {
    font-size: 11px;
    color: var(--gray);
    transition: transform 0.25s ease;
    pointer-events: none;
}
.cc-cat.cc-cat-open .cc-chevron { transform: rotate(180deg); }

/* Category body (accordion) */
.cc-cat-body {
    overflow: hidden;
    max-height: 0;
    padding: 0 14px;
    transition: max-height 0.32s ease, padding 0.32s ease;
}
.cc-cat.cc-cat-open .cc-cat-body {
    max-height: 240px;
    padding: 4px 14px 14px;
}
.cc-body-main {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 7px;
}
.cc-body-sec {
    font-size: 12px;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

/* Toggle switch */
.cc-toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}
.cc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.cc-track {
    position: absolute;
    inset: 0;
    background: #bbb;
    border-radius: 26px;
    transition: background 0.25s ease;
    cursor: pointer;
}
.cc-toggle input:checked + .cc-track { background: var(--button-bg); }
.cc-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 5px rgba(0,0,0,0.22);
}
.cc-toggle input:checked + .cc-track .cc-thumb { transform: translateX(20px); }

/* Panel footer */
.cc-panel-ftr {
    flex-shrink: 0;
    padding: 14px 16px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--pop-bg);
}
.cc-pf-btns {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.cc-btn-accept {
    flex: 1;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--button-bg);
    color: #fff;
    border: none;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-family);
    box-shadow: 0 3px 12px rgba(var(--btn-rgb),.42);
    transition: opacity 0.2s, transform 0.15s;
}
.cc-btn-accept:hover { opacity: 0.9; transform: translateY(-1px); }
.cc-btn-save {
    flex: 1;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    background: transparent;
    color: var(--button-bg);
    border: 1.5px solid var(--button-bg);
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-family);
    transition: background 0.2s, color 0.2s;
}
.cc-btn-save:hover { background: var(--button-bg); color: #fff; }
.cc-btn-reject {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 12px;
    cursor: pointer;
    font-family: var(--font-family);
    padding: 10px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.cc-btn-reject:hover { color: var(--text-color); }
.cc-pf-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
}
.cc-pf-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.cc-pf-links a:hover { color: var(--button-bg); }
.cc-pf-links span { color: var(--border-color); }

/* Safe area (notched devices) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .cc-panel-ftr { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
    #cc-mini      { padding-bottom: env(safe-area-inset-bottom); }
}

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .cc-mini-inner  { padding: 11px 14px; gap: 8px; }
    .cc-mini-sub    { display: none; }
    .cc-mini-ico    { width: 34px; height: 34px; font-size: 14px; }
    .cc-mini-title  { font-size: 13px; }
    .cc-btn-manage,
    .cc-btn-accept-mini { padding: 8px 12px; font-size: 12px; }
    #cc-panel       { max-height: 90vh; border-radius: 18px 18px 0 0; }
    .cc-btn-accept,
    .cc-btn-save    { font-size: 13px; padding: 10px 12px; }
    .cc-pf-btns     { gap: 6px; }
    .cc-intro-main  { font-size: 13px; }
}

.dashboard-menu .menuBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-menu {
    margin-bottom: 15px;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 6;
    background-color: var(--button-bg); /* solid green — guaranteed iOS fallback */
    background: linear-gradient(135deg, var(--button-bg) 0%, rgba(var(--btn-rgb), 0.62) 100%); /* ios-fb */
    
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.22),
        0 1px 6px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.14);
}

@supports (background: color-mix(in srgb, black, white)) {
    .dashboard-menu {
        background: linear-gradient(135deg,
        var(--button-bg) 0%,
        color-mix(in srgb, var(--button-bg) 62%, #0a1a09) 100%);
    }
    
}

.dashboard-menu a, .menuToggle a {
    text-decoration: none;
}

.menuToggle * {
    font-weight: 200;
}

.dashboard-menu a.menuCenterItem {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
}

.refreshMenuBtn {
    position: relative;
    transition: all .5s;
    height: var(--menu-height);
    font-size: large;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: var(--menu-height);
    color: var(--button-bg);
}

.refreshMenuBtn:hover {
    transform: rotate(180deg);
    opacity: .75;
    cursor: pointer;
}

.menuToggleParent {
    display: none;
    z-index: 7;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--popupDiv-shadow);
}

.menuToggleItemLogo img {
    width: 80px;
}

.menuToggle {
    padding-top: 45px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 90%;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
    text-align: center;
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(-100%);
    background-color: var(--calendar-background);
}

html.rtl .menuToggle {
    left: auto;
    right: 0;
    transform: translateX(100%);
    box-shadow: -4px 0 40px rgba(0, 0, 0, 0.18);
}

.menuToggle:before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.menuToggle.visibleMenu {
    transform: translateX(0) !important;
}

.menu-greeting {
    position: absolute;
    top: 24px;
    width: 100%;
    padding: 0 18px 6px;
    box-sizing: border-box;
    font-size: .85rem;
    color: var(--text-color);
    opacity: .75;
    text-align: center;
    pointer-events: none;
}
.menu-greeting strong {
    color: var(--button-bg);
    opacity: 1;
}

.menuToggle .menuToggleItemLogo {
    display: block;
    background-color: var(--calendar-background);
}

.menuToggle .menuToggleItem {
    text-align: var(--text-align);
    position: relative;
    display: block;
    width: calc(100% - 16px);
    margin: 2px 8px;
    padding: 12px 18px;
    background: transparent;
    transition: background 0.15s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
    border-radius: 12px;
}

.menuToggle .menuToggleItem:hover {
    cursor: pointer;
    background: var(--menu-item-hover);
    transform: translateX(4px);
}

html.rtl .menuToggle .menuToggleItem:hover {
    transform: translateX(-4px);
}

.menuToggleItem {
    font-size: medium;
    color: var(--text-color);
}

.menuToggleItem span {
    margin: 0 5px;
}

.menuPageCats {
    padding: 8px 0;
    border-bottom: .5px solid var(--border-color);
}

.menuCatsLabel {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--button-bg);
    padding: 4px 18px 6px;
    opacity: .8;
}

.menuPageCatsTitle {
    text-align: var(--text-align);
    margin-bottom: 5px;
    margin-top: 10px;
    padding: 0 20px;
    color: var(--btn-color);
}

.notificationBage {
    position: absolute;
    display: flex;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    height: 16px;
    width: 16px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    font-size: xx-small;
    font-weight: bold !important;
    transform: translate(0%, -150%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

.menu-left .app-logo {
    height: var(--menu-height);
    cursor: pointer;
}

.menu-center {
    width: 100%;
}

.menu-right {
    display: flex;
    padding: 0 8px;
}

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    font-weight: normal;
    height: var(--menu-height);
    width: 50px;
    transition: color 0.2s ease;
}

.menu-item:hover {
    color: var(--button-bg);
}

.menu-item:hover .icon {
    transform: scale(1.15);
}

.displayedCalendarsDiv {
    display: flex;
    align-items: center;
    padding: 6px 14px 10px 14px;
}

.allCalendarsLogos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.displayedCalendarsDiv .accountLogo {
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
}

.displayedCalendarsDiv .accountLogoTxt {
    top: 0;
    font-weight: 700;
    font-size: 15px;
}

.displayedCalendarsDiv .accountLogo:hover {
    opacity: 0.75;
    transform: scale(1.1);
}

.displayedCalendarsDiv .accountLogo.disabledSharedCal {
    opacity: 0.45;
    transform: scale(0.92);
}

.dashboard-menu .icon {
    position: relative;
    height: 22px;
    width: 22px;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-item-login-btn {
    width: 120px;
}

/* ── Sidebar Login Buttons ────────────────────────────────── */
a.menuLoginBtn {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 16px);
    margin: 8px;
    padding: 12px 18px;
    height: 46px;
    border-radius: 10px;
    font-size: medium;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s;
}
a.menuLoginBtn:hover { opacity: 0.85; }

/* Regular login — green */
a.menuLoginBtn:not(.menuGoogleBtn) {
    background: var(--button-bg);
    color: #fff;
    border: 0.25px solid transparent;
    margin-bottom: 8px;
}

/* Google login — white */
a.menuLoginBtn.menuGoogleBtn {
    background: #fff;
    color: #1f2937;
    border: 1.5px solid #e0e0e0;
    margin-bottom: 8px;
    display: none;
}

/* ── Green menu bar — white/glass overrides ─────────────────── */

/* Top shine line (premium glass effect) */
.dashboard-menu::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.32);
    pointer-events: none;
    z-index: 1;
}

/* Hamburger / people-group / refresh icons → white */
.dashboard-menu .menu-item {
    color: rgba(255, 255, 255, 0.88);
}
.dashboard-menu .menu-item:hover {
    color: #fff;
}
.dashboard-menu .menu-item:hover .icon {
    color: #fff;
}
.dashboard-menu .refreshMenuBtn {
    color: rgba(255, 255, 255, 0.88);
}

/* Calendar title text → white */
.dashboard-menu .calViewTitle {
    color: #fff;
}

/* Hebrew month label — softer white instead of green-on-green */
.dashboard-menu .hebMonthTitle {
    color: rgba(255, 255, 255, 0.78);
}

/* Day-of-week label and Hebrew date sub-text */
.dashboard-menu .calViewTitle .dayOfWeek,
.dashboard-menu .calViewTitle .hebDateTxt,
.dashboard-menu .week .hebDateTxt {
    color: rgba(255, 255, 255, 0.68);
}

/* Day view "today" title — white underline instead of green */
.dashboard-menu .day-view .dayViewToday {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* Nav arrows — frosted glass on green background */
.dashboard-menu .nav-button {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.dashboard-menu .nav-button:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22) !important;
    transform: scale(1.1) !important;
}

/* Today button — glass pill */
.dashboard-menu .backForTodayBtn {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14) !important;
}
.dashboard-menu .backForTodayBtn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

/* ── Omer menu button ── */

#omerMenuBtn i {
    color: #fb923c; /* orange fire icon */
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#omerMenuBtn:hover i {
    transform: scale(1.2);
}

/* Locked state: tint background + tooltip below */

#omerMenuBtn.omer-menu-locked {
    background: rgba(245, 158, 11, 0.1) !important; /* ios-fb */
    background: color-mix(in srgb, #f59e0b 10%, transparent) !important;
    border-radius: 12px;
}

#omerMenuBtn.omer-menu-locked::after {
    content: '🗓️  ספירת העומר אינה פעילה כרגע';
    position: absolute;
    inset-inline-start: 18px;
    top: calc(100% + 2px);
    padding: 5px 13px;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    z-index: 20;
    background: rgba(245, 158, 11, 0.14); /* ios-fb */
    background: color-mix(in srgb, #f59e0b 14%, var(--calendar-background));
    color: var(--text-color);
    border: 1px solid rgba(245, 158, 11, 0.4); /* ios-fb */
    border: 1px solid color-mix(in srgb, #f59e0b 40%, transparent);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    animation: omerTipIn 0.2s ease;
}

@keyframes omerTipIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Google Calendar reauth banner ─────────────────────────────── */

.gcal-reauth-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 9999;
    min-width: 300px;
    max-width: calc(100vw - 40px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: none;
}

.gcal-reauth-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.gcal-reauth-banner.hiding {
    transform: translateX(-50%) translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.gcal-reauth-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: color-mix(in srgb, #f59e0b 10%, var(--calendar-background));
    border: 1.5px solid color-mix(in srgb, #f59e0b 45%, var(--border-color));
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.gcal-reauth-icon {
    flex-shrink: 0;
    color: #f59e0b;
    display: flex;
    align-items: center;
}

.gcal-reauth-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.gcal-reauth-text strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
}

.gcal-reauth-text span {
    font-size: 11.5px;
    color: var(--text-color);
    opacity: 0.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gcal-reauth-btn {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 8px;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.gcal-reauth-btn:hover {
    background: #d97706;
    color: #fff;
}

.gcal-reauth-close {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.45;
    font-size: 13px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s, background 0.2s;
}

.gcal-reauth-close:hover {
    opacity: 0.9;
    background: color-mix(in srgb, var(--text-color) 10%, transparent);
}

@media (max-width: 480px) {
    .gcal-reauth-text span { display: none; }
    .gcal-reauth-text strong { font-size: 12px; }
    .gcal-reauth-banner { bottom: 70px; } /* above mobile nav if present */
}

/* Menu END */
