/* The stat cards read like the report cards (admin-reports.css): same ground, corners, sizes and colours. */
.fi-wi-stats-overview-stat.subscription-stat-card {
    padding: 20px !important;
    border-radius: 6px;
    border: 1px solid transparent;
    box-shadow: none;
}

.subscription-stat-card .fi-wi-stats-overview-stat-label {
    font-size: 13px !important;
    font-weight: 500;
    color: #6b7280;
}

.subscription-stat-card .fi-wi-stats-overview-stat-value {
    font-size: 22px !important;
    font-weight: 600;
    color: #111827;
}

.dark .fi-wi-stats-overview-stat.subscription-stat-card {
    background: #1e293b;
}

.dark .subscription-stat-card .fi-wi-stats-overview-stat-label {
    color: #94a3b8;
}

.dark .subscription-stat-card .fi-wi-stats-overview-stat-value {
    color: #f1f5f9;
}


/* ═══════════════════════════════════════════════════════════════
   SUBSCRIPTION CALENDAR
   ═══════════════════════════════════════════════════════════════ */

.sub-cal {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: visible;
    font-family: inherit;
}


/* Round the grid corners so the border-radius is visible without overflow:hidden */

.sub-cal__grid>*:first-child {
    border-top-left-radius: 0;
}

.sub-cal__grid>*:nth-child(7) {
    border-top-right-radius: 0;
}

.sub-cal__grid>*:nth-last-child(7) {
    border-bottom-left-radius: 12px;
}

.sub-cal__grid>*:last-child {
    border-bottom-right-radius: 12px;
}


/* ── Top bar ── */

.sub-cal__toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.sub-cal__month-label {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    min-width: 160px;
    text-align: center;
    text-transform: capitalize;
}

.sub-cal__month-select {
    font-size: 13px;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    color: #374151;
    cursor: pointer;
    outline: none;
}

.sub-cal__month-select:focus {
    box-shadow: 0 0 0 2px #D8BD91;
}


/* ── Day-of-week header row ── */

.sub-cal__dow-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-bottom: 1px solid #e5e7eb;
    background-color: #F5F6F7;
}

.sub-cal__dow-cell {
    padding: 8px 4px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #071B25;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ── Calendar grid ── */

.sub-cal__grid {
    display: grid;
    /* minmax(0, …): an event name never widens its column past the card. */
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-left: 1px solid #e5e7eb;
}

.sub-cal__day {
    min-width: 0;
    height: 160px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    box-sizing: border-box;
    background: #fff;
    overflow: visible;
}


/* Scrollable events container inside each day cell */

.sub-cal__day-events {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    overflow-x: visible;
    max-height: 110px;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.sub-cal__day-events::-webkit-scrollbar {
    width: 3px;
}

.sub-cal__day-events::-webkit-scrollbar-track {
    background: transparent;
}

.sub-cal__day-events::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 2px;
}


/* Lift the hovered day cell above its siblings so the tooltip isn't clipped */

.sub-cal__day:has([x-show]:not([style*="display: none"])) {
    z-index: 10;
}

.sub-cal__day--past {
    background: #f9fafb;
}

.sub-cal__day--other-month {
    background: #f9fafb;
    opacity: 0.45;
}


/* ── Day number ── */

.sub-cal__day-num {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2px;
}

.sub-cal__day-num span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    border-radius: 50%;
}

.sub-cal__day--past .sub-cal__day-num span {
    color: #d1d5db;
}

.sub-cal__day--today .sub-cal__day-num span {
    /* background: #D8BD91; */
    color: #D8BD91;
    font-weight: 700;
}


/* ── Event card ── */

.sub-cal__event {
    position: relative;
    border-radius: 8px;
    overflow: visible;
    cursor: pointer;
}



/* Thumb deck container — stacks images bottom-to-top, overlapping */

.sub-cal__thumbs {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
    position: relative;
    min-height: 44px;
}

.sub-cal__thumb {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    border: 1px solid #fff;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    margin-left: -8px;
    position: relative;
}

.sub-cal__thumb:first-child {
    margin-left: 0;
    z-index: 1;
}


/* Each subsequent thumb goes under (lower z-index = rendered later but visually behind first) */

.sub-cal__thumb:nth-child(1) {
    z-index: 10;
}

.sub-cal__thumb:nth-child(2) {
    z-index: 9;
}

.sub-cal__thumb:nth-child(3) {
    z-index: 8;
}

.sub-cal__thumb:nth-child(4) {
    z-index: 7;
}

.sub-cal__thumb:nth-child(5) {
    z-index: 6;
}


/* No-image placeholder thumb */

.sub-cal__thumb-empty {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    border: 1px solid #e8d9bf;
    background: #fdf8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: -8px;
    position: relative;
}

.sub-cal__thumb-empty:first-child {
    margin-left: 0;
}

.sub-cal__thumb-empty svg {
    width: 22px;
    height: 22px;
    opacity: 0.4;
    color: #a07840;
}


/* Edit overlay covers the whole thumbs row */

.sub-cal__event-img-wrap {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
}


/* ── Event label pill (icon + name + arrow, the icon buttons on a second row) ── */

.sub-cal__event-label {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #F5F6F7;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 6px 8px;
    min-height: 34px;
    transition: border-color 0.15s, background 0.15s;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.sub-cal__event:hover .sub-cal__event-label {
    border-color: #D8BD91;
}

.sub-cal__event-open {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: start;
    cursor: pointer;
    outline: none;
}

/* Stretched over the whole pill; the icon buttons come later in the DOM, so they stay on top. */
.sub-cal__event-open::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 3px;
}

.sub-cal__event-open:focus-visible::after {
    outline: 2px solid var(--primary-600);
}

.sub-cal__event-actions {
    display: flex;
    justify-content: flex-end;
    /* Filament's negative margins make the hit areas overlap below 12px. */
    gap: 12px;
}

.sub-cal__event-label__icon {
    flex-shrink: 0;
    color: #071B25;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.sub-cal__event-label__icon svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    stroke: none;
    display: block;
}

.sub-cal__event-label__name {
    font-size: 12px;
    font-weight: 500;
    color: #071B25;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    pointer-events: none;
}

.sub-cal__event-label__arrow {
    flex-shrink: 0;
    color: #c4a97d;
    display: none;
    align-items: center;
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    transform: translateX(-2px);
    pointer-events: none;
}

.sub-cal__event:hover .sub-cal__event-label__arrow {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.sub-cal__event-label__arrow svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Without image: pill (legacy, kept for reference) */

.sub-cal__event-pill {
    position: relative;
    display: flex;
    align-items: center;
    background: #fdf8f0;
    border: 1px solid #e8d9bf;
    border-radius: 8px;
    padding: 5px 8px;
    gap: 4px;
    min-height: 36px;
}

.sub-cal__event-pill span {
    font-size: 11px;
    font-weight: 500;
    color: #a07840;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 20px);
    flex: 1;
}


/* Edit overlay */

.sub-cal__edit-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.38);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.15s;
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 0;
    z-index: 20;
}


/* Global hover trigger — kept for image thumbs (uncomment .sub-cal__event-img-wrap to re-enable)
.sub-cal__event:hover .sub-cal__edit-overlay {
    opacity: 1;
} */


/* Overlay on image wrap only (used when thumb deck is active) */

.sub-cal__event-img-wrap:hover .sub-cal__edit-overlay {
    opacity: 1;
}


/* Overlay on label pill — hidden, the pill uses border highlight instead */

.sub-cal__event-label .sub-cal__edit-overlay {
    display: none;
}

.sub-cal__edit-overlay svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}


/* ── Tooltip ── */

.sub-cal__tooltip {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 260px;
    background: #1f2937;
    color: #fff;
    border-radius: 4px;
    padding: 10px 12px;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

[x-cloak] {
    display: none !important;
}

.sub-cal__tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 16px;
    border: 6px solid transparent;
    border-bottom-color: #1f2937;
}

.sub-cal__tooltip-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.sub-cal__tooltip-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 1;
    min-width: 0;
}

.sub-cal__tooltip-branch {
    font-size: 11px;
    color: #D8BD91;
    flex-shrink: 0;
    white-space: nowrap;
}

.sub-cal__tooltip-divider {
    height: 1px;
    background: #848891;
    margin-bottom: 6px;
}

.sub-cal__tooltip-option {
    margin-bottom: 5px;
}

.sub-cal__tooltip-option-name {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1px;
}

.sub-cal__tooltip-products {
    font-size: 11px;
    color: #B3B7C0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ── Dark mode ── */

.dark .sub-cal {
    background: #111827;
    border-color: #374151;
}

.dark .sub-cal__toolbar,
.dark .sub-cal__dow-row {
    border-bottom-color: #374151;
}

.dark .sub-cal__dow-row {
    background-color: #1f2937;
}

.dark .sub-cal__dow-cell {
    color: #d1d5db;
}

.dark .sub-cal__thumb-empty {
    background: #1c1109;
    border-color: #4a3520;
}

.dark .sub-cal__month-label {
    color: #f9fafb;
}

.dark .sub-cal__month-select {
    background: #1f2937;
    color: #d1d5db;
}

.dark .sub-cal__grid {
    border-left-color: #374151;
}

.dark .sub-cal__day {
    background: #111827;
    border-color: #374151;
}

.dark .sub-cal__day--past,
.dark .sub-cal__day--other-month {
    background: #0f172a;
}

.dark .sub-cal__day-num span {
    color: #d1d5db;
}

.dark .sub-cal__day--past .sub-cal__day-num span {
    color: #4b5563;
}

.dark .sub-cal__event-pill {
    background: #1c1109;
    border-color: #4a3520;
}

.dark .sub-cal__event-pill span {
    color: #D8BD91;
}

.dark .sub-cal__event-label {
    background: #1c1109;
    border-color: #4a3520;
}

.dark .sub-cal__event:hover .sub-cal__event-label {
    border-color: #D8BD91;
    background: #241608;
}

.dark .sub-cal__event-label__icon,
.dark .sub-cal__event-label__name,
.dark .sub-cal__event-label__arrow {
    color: #D8BD91;
}


/* ═══════════════════════════════════════════════════════════════
   DESKTOP / MOBILE VISIBILITY SPLIT
   ═══════════════════════════════════════════════════════════════ */


/* Desktop wrapper: visible by default, hidden on mobile */

.sub-cal__desktop {
    display: block;
}


/* Mobile wrapper: hidden by default, shown on mobile */

.sub-cal__mobile {
    display: none;
}

@media (max-width: 767px) {
    .sub-cal__desktop {
        display: none;
    }
    .sub-cal__mobile {
        display: block;
    }
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE CALENDAR
   ═══════════════════════════════════════════════════════════════ */


/* ── Mini day-of-week header ── */

.sub-cal__mob-dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid #e5e7eb;
    padding: 0 4px;
}

.sub-cal__mob-dow-cell {
    padding: 10px 0 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* ── Mini month grid ── */

.sub-cal__mob-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 4px 12px;
    gap: 2px 0;
}

.sub-cal__mob-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    cursor: pointer;
    border-radius: 10px;
    min-height: 46px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s;
}

.sub-cal__mob-day--other {
    opacity: 0.3;
    pointer-events: none;
}

.sub-cal__mob-day--past .sub-cal__mob-day-num {
    color: #d1d5db;
}

.sub-cal__mob-day-num {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background 0.12s, color 0.12s;
}


/* Today: gold number */

.sub-cal__mob-day--today .sub-cal__mob-day-num {
    color: #D8BD91;
    font-weight: 700;
}


/* Selected: filled circle */

.sub-cal__mob-day--selected .sub-cal__mob-day-num {
    background: #D8BD91;
    color: #fff !important;
    font-weight: 700;
}


/* Selected today: same filled circle */

.sub-cal__mob-day--today.sub-cal__mob-day--selected .sub-cal__mob-day-num {
    background: #D8BD91;
    color: #fff !important;
}


/* Event dot */

.sub-cal__mob-day-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #D8BD91;
    flex-shrink: 0;
}


/* Hide dot when day is selected (number already implies activity) */

.sub-cal__mob-day--selected .sub-cal__mob-day-dot {
    background: #c4a97d;
}


/* ── Event list panel ── */

.sub-cal__mob-events {
    border-top: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

.sub-cal__mob-events-header {
    padding: 14px 16px 10px;
}

.sub-cal__mob-events-date {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: capitalize;
}


/* No-events placeholder */

.sub-cal__mob-no-events {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px 32px;
    color: #9ca3af;
}

.sub-cal__mob-no-events svg {
    width: 32px;
    height: 32px;
    opacity: 0.45;
}

.sub-cal__mob-no-events span {
    font-size: 13px;
}


/* Event row */

.sub-cal__mob-event-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.12s;
}

/* The row's vertical padding moves in here, so the whole row height is tappable. */
.sub-cal__mob-event-open {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: start;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.sub-cal__mob-event-row:last-child {
    border-bottom: none;
}

.sub-cal__mob-event-row:active {
    background: #f9fafb;
}

.sub-cal__mob-event-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #f5f6f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #071B25;
}

.sub-cal__mob-event-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: none;
    display: block;
}

.sub-cal__mob-event-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sub-cal__mob-event-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.sub-cal__mob-event-branch {
    font-size: 12px;
    color: #D8BD91;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.sub-cal__mob-event-arrow {
    flex-shrink: 0;
    color: #d1d5db;
    display: flex;
    align-items: center;
}

.sub-cal__mob-event-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ── Mobile toolbar tweaks ── */

@media (max-width: 767px) {
    .sub-cal__toolbar {
        padding: 12px 14px;
        gap: 8px;
    }
    .sub-cal__month-label {
        font-size: 16px;
        min-width: 0;
        flex: 1;
        text-align: center;
    }
    .sub-cal__month-select {
        font-size: 12px;
        padding: 4px 8px;
    }
}


/* ── Mobile dark mode ── */

@media (max-width: 767px) {
    .dark .sub-cal__mob-dow {
        border-bottom-color: #374151;
    }
    .dark .sub-cal__mob-day-num {
        color: #d1d5db;
    }
    .dark .sub-cal__mob-day--past .sub-cal__mob-day-num {
        color: #4b5563;
    }
    .dark .sub-cal__mob-day--selected .sub-cal__mob-day-num {
        background: #c4a97d;
        color: #111827 !important;
    }
    .dark .sub-cal__mob-events {
        border-top-color: #374151;
    }
    .dark .sub-cal__mob-events-date {
        color: #f9fafb;
    }
    .dark .sub-cal__mob-no-events {
        color: #6b7280;
    }
    .dark .sub-cal__mob-event-row {
        border-bottom-color: #1f2937;
    }
    .dark .sub-cal__mob-event-row:active {
        background: #1f2937;
    }
    .dark .sub-cal__mob-event-icon {
        background: #1c1109;
        color: #D8BD91;
    }
    .dark .sub-cal__mob-event-name {
        color: #f9fafb;
    }
    .dark .sub-cal__mob-event-branch {
        color: #c4a97d;
    }
    .dark .sub-cal__mob-event-arrow {
        color: #4b5563;
    }
}


/* ═══════════════════════════════════════════════════════════════
   FILAMENT MODAL — MOBILE FIXES
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
    /* Make the modal sheet go edge-to-edge and sit at the bottom */
    .fi-modal-window {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px 20px 0 0 !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        transform: none !important;
        max-height: 90dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Ensure the backdrop covers full screen */
    .fi-modal-close-overlay {
        position: fixed !important;
        inset: 0 !important;
    }
    /* Generous touch padding for the modal header */
    .fi-modal-header {
        padding: 20px 20px 12px !important;
    }
    /* Give form fields more breathing room */
    .fi-modal-content {
        padding: 0 16px 16px !important;
    }
    /* Make the action buttons full-width and stack vertically */
    .fi-modal-footer {
        padding: 12px 16px 20px !important;
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 8px !important;
    }
    .fi-modal-footer .fi-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    /* File upload: make preview larger and easier to tap */
    .fi-fo-file-upload .fi-dropzone {
        min-height: 100px !important;
    }
    /* Select fields: full width */
    .fi-fo-select .choices {
        width: 100% !important;
    }
}


/* ═══════════════════════════════════════════════════════════════
   UPLOAD THUMB — EYE OVERLAY
   Shows an eye icon on hover over each compact FileUpload thumbnail
   ═══════════════════════════════════════════════════════════════ */


/* Ensure the li item is a positioning context */

.upload-square__days [data-file-type="image"] li,
.upload-square__days li[data-file-type="image"] {
    position: relative;
    overflow: hidden;
}


/* The overlay div itself — injected via Alpine x-init on the component */

.fi-thumb-eye-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.18s ease;
    cursor: pointer;
    border-radius: var(--upload-thumb-radius, 14px);
    z-index: 10;
    pointer-events: none;
}

.fi-thumb-eye-overlay svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    pointer-events: none;
}


/* Show overlay + enable pointer events on li hover */

.upload-square__days li:hover .fi-thumb-eye-overlay,
.upload-square__days li:focus-within .fi-thumb-eye-overlay {
    opacity: 1;
    pointer-events: auto;
}