@font-face {
    font-family: 'InfraRegular';
    font-style: normal;
    src: url('../fonts/infra/InfraRegular.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'InfraBold';
    font-style: normal;
    src: url('../fonts/infra/InfraBold.otf') format('opentype');
    font-weight: bold;
}

@font-face {
    font-family: 'InfraLight';
    font-style: normal;
    src: url('../fonts/infra/InfraLight.otf') format('opentype');
    font-weight: 300;
}

@font-face {
    font-family: 'InfraExtraLight';
    font-style: normal;
    src: url('../fonts/infra/InfraExtraLight.otf') format('opentype');
    font-weight: 300;
}

@font-face {
    font-family: 'InfraMedium';
    font-style: normal;
    src: url('../fonts/infra/InfraMedium.otf') format('opentype');
    font-weight: 900;
}

input {
    box-sizing: border-box;
}

body {    
    background-image: linear-gradient(340deg, #5bbdd3, #76adb3, #97b7b9, #bcc1ba);
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;    
    font-family: 'InfraRegular', monospace;
    line-height: 1.5em;
    font-size: 1.5em;
    color: #fff;
    background-attachment: fixed;
}

.content {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.top-bar {
    width: 100%;
    font-family: 'InfraMedium', monospace;
    padding: 20px 0;
    height: 40px;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.inner-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    max-width: 850px;
    width: 80% !important;
    min-width: 500px;
    height: 40px;
}

.title {
    user-select: none;
}

.left {
    display: flex;
    align-items: center;
}

.right {
    display: flex;
    align-items: center;
}

.location {
    display: flex;
    align-items: center;
}

.icon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    filter: invert(1);
}

.help {
    position: relative;
    margin-left: 5px;
    top: 3px;
}

.spacer {
    margin: 0 10px;
}

.language {
    width: 30px;
    height: 30px;
    margin: 0;
}

.mobile-actions-menu {
    display: none;
    position: relative;
}

.mobile-actions-trigger {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mobile-actions-trigger svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.mobile-actions-trigger:hover,
.mobile-actions-menu.is-open .mobile-actions-trigger {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
}

.mobile-actions-trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.88);
    outline-offset: 3px;
}

.mobile-actions-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 150;
    display: none;
    width: min(290px, calc(100vw - 20px));
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(38, 56, 60, 0.94);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transform: translate3d(0, -4px, 0);
    transform-origin: top center;
    backface-visibility: hidden;
}

.mobile-actions-menu.is-open .mobile-actions-dropdown {
    display: grid;
    gap: 4px;
}

.mobile-menu-row {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    box-sizing: border-box;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-family: 'InfraRegular', monospace;
    font-size: 0.84rem;
    line-height: 1.1;
    text-align: left;
    text-decoration: none;
}

.mobile-menu-action {
    cursor: pointer;
}

.mobile-menu-action:hover,
.mobile-menu-action:focus-visible,
.mobile-menu-toggle-row:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-action:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 2px;
}

.mobile-menu-label {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.mobile-menu-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin: 0;
    filter: invert(1);
    opacity: 0.86;
}

.mobile-menu-dot {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.mobile-menu-divider {
    height: 1px;
    margin: 4px 2px;
    background: rgba(255, 255, 255, 0.12);
}

body.mobile-actions-open .top-bar {
    z-index: 1200;
}

@media (max-width: 768px) {
    .top-bar {
        height: auto;
        padding: 10px 0 8px;
    }

    .inner-top-bar {
        position: static;
        left: auto;
        transform: none;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        width: calc(100% - 20px) !important;
        min-width: 0;
        height: auto;
        margin: 0 auto;
        gap: 8px;
        align-items: center;
    }

    .left {
        grid-column: 2;
        justify-self: center;
    }

    .right {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        width: 100%;
        align-items: center;
        column-gap: 8px;
        row-gap: 0;
    }

    .location {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        justify-self: start;
    }

    .location-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .language {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .right > .spacer,
    .desktop-topbar-action {
        display: none !important;
    }

    .mobile-actions-menu {
        display: contents;
    }

    .mobile-actions-trigger {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .mobile-actions-dropdown {
        position: static;
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        visibility: hidden;
        width: 100%;
        min-height: 0;
        max-height: 0;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        border-width: 0;
        border-color: transparent;
        opacity: 0;
        pointer-events: none;
        overflow: hidden;
        box-shadow: none;
        contain: layout paint style;
        will-change: max-height, opacity, transform;
        transition:
            max-height 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
            margin-top 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
            padding-top 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
            padding-bottom 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
            opacity 150ms ease,
            transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
            border-color 150ms ease,
            visibility 0s linear 220ms;
    }

    .mobile-actions-menu.is-open .mobile-actions-dropdown {
        visibility: visible;
        max-height: min(74vh, 430px);
        margin-top: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
        border-width: 1px;
        border-color: rgba(255, 255, 255, 0.18);
        opacity: 1;
        transform: translate3d(0, 0, 0);
        overflow-y: auto;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .buttons-module {
        display: none !important;
    }
}

@supports (-moz-appearance: none) {
    @media (max-width: 768px) {
        .mobile-actions-dropdown {
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
            transition:
                max-height 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                margin-top 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                padding-top 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                padding-bottom 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity 120ms ease,
                transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 120ms ease,
                visibility 0s linear 180ms;
        }
    }
}

.main-content {
    width: 100%;
    overflow-y: auto;
}

.main-content p {
    margin: 0;
    font-family: 'InfraLight', monospace;
    font-size: 0.6em;
    margin-bottom: 10px;
}

.main-content h3 {
    margin: 0;
    margin-bottom: 15px;
}

.main {
    display: flex;
    flex-direction: column;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 850px;
    width: 80% !important;
    min-width: 500px;
    flex: 1;
    padding-bottom: 20px;
    font-size: 1em;
    min-height: 100%;
}

.temp-value-holders {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 10px 0;
    font-size: 1.6em;
    font-weight: 600;
    gap: 16px;
}

.temp-holders {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.temperature-display-value,
.temperature-display-label,
.list-item-temperature-value {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.temperature-display-value:first-child,
.temperature-display-label:first-child,
.list-item-temperature-value:first-child {
    text-align: left;
}

.temperature-display-value:last-child,
.temperature-display-label:last-child,
.list-item-temperature-value:last-child {
    text-align: right;
}

.outside-temp-label,
.inside-temp-label,
.inside101m-temp-label {
    margin: 0;
    font-size: 0.6em;
    font-family: 'InfraLight', monospace;
}

.modules {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    transition: all 0.2s ease;
}

.module {
    background: rgba(255, 255, 255, 0.027);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 42px 21px rgba(255, 255, 255, 0.021);
    position: relative;
    padding: 5px 40px;
    margin: 10px 0;
    overflow: hidden;
    height: auto;
    transition: all 0.2s ease;
}

.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
}

.module::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.4),
        transparent,
        rgba(255, 255, 255, 0.15)
    );
}

.module .module-subtitle {
    border-bottom: 1px solid #ffffff3f;
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-subtitle-text {
    font-size: 0.8em;
    font-weight: 600;
    opacity: 1;
    transition: opacity 0.4s ease-out;
}

.module-subtitle-text.fade-out {
    opacity: 0;
}

.module-subtitle-text.fade-in {
    opacity: 1;
}

.module-subtitle-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 20%;
}

.module-subtitle-icons img {
    margin: 0;
    padding: 0;
}

.buttons-module {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.module-btn {
    background: rgba(255, 255, 255, 0.027);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    padding: 8px 12px;
    margin: 2px;
    color: #fff;
    font-family: 'InfraRegular', monospace;
    font-size: 0.75em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 10px 0;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.module-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    border-radius: 12px 12px 0 0;
}

.module-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.module-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.module-btn img {
    margin: 0;
}

.predictions-module {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 20px 5px 30px;
    transition: all 0.2s ease;
}

.predictions-module p {
    margin: 0;
    font-size: 0.8em;
    font-weight: 600;
}

.predictions-toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.predictions-accuracy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.predictions-accuracy p,
.predictions-percentage {
    margin: 0;
    font-size: 0.6em;
    font-weight: 400;
    opacity: 0.7;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: .3s cubic-bezier(0, 0, 0.28, 0.91);
    transition: .3s cubic-bezier(0, 0, 0.28, 0.91);
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .3s cubic-bezier(0, 0, 0.28, 0.91);
    transition: .3s cubic-bezier(0, 0, 0.28, 0.91);
}

input:checked + .slider {
    background: rgba(74, 222, 128, 0.582);
    border-color: rgba(74, 222, 128, 0.575);
}

input:checked + .slider:before {
    -webkit-transform: translateX(31px);
    -ms-transform: translateX(31px);
    transform: translateX(31px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.outside {
    margin-left: 10px !important;
}

.inside {
    margin-right: 20px !important;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    text-align: center;
}

.week-day-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.week-day-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.list-item .temp-holders {
    width: 20%;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.list-holder {
    display: flex;
    flex-direction: row-reverse;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    transform: translateZ(0);
}

.page {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-height: 300px;
    overflow-y: auto;
}

.page::-webkit-scrollbar {
    width: 1px;
}

.page::-webkit-scrollbar-thumb {
    background-color: #ffffff3f;
    border-radius: 10px;
}


@-moz-document url-prefix() {
    .page {
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ffffff3f;
    padding: 10px 0 0 0;
    margin: 0 10px;
}


.pagination-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ffffff3f;
    padding: 5px 0 0 0;
    margin: 10px 10px 0 10px;
}

.date-label {
    font-size: 0.65em;
    font-family: 'InfraLight', monospace;
    color: rgba(255, 255, 255, 0.7);
    min-width: 60px;
}

.date-newest {
    text-align: left;
}

.date-oldest {
    text-align: right;
}

.pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 20px;
}

.pagination-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    opacity: 0;
    left: 50%;
    top: 50%;
    margin-left: -3px;
    margin-top: -3px;
}

.pagination-dot.visible {
    opacity: 1;
}

.pagination-dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transform: translateX(var(--translate-x, 0)) scale(1.2) !important;
    opacity: 1 !important;
}

.pagination-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(var(--translate-x, 0)) scale(1.1) !important;
}

.page-info {
    font-size: 0.7em;
    font-family: 'InfraLight', monospace;
}

.threshold-info {
    text-align: center;
    margin: 15px 0 0 0;
    font-family: 'InfraLight', monospace;
    font-size: 0.8em;
}

#hours-above-threshold {
    font-family: 'InfraMedium', monospace;
}

.streak-info {
    font-size: 0.75em;
    opacity: 0.8;
}

#current-streak, #longest-streak, #last-streak {
    font-family: 'InfraMedium', monospace;
}


.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.8);
}

.loading-text {
    font-family: 'InfraLight', monospace;
}

.loading-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: rgba(255, 255, 255, 0.8);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.version-link {
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.version-link:hover {
    opacity: 1;
}

.chart-module {
    margin-bottom: 20px;
    padding: 15px;
    height: auto;
    overflow: hidden;
}

#temperatureChart {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
}

#temperature48HoursChart {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
}

button {
    background-color: transparent;
    border: none;
    padding: 0;
}

button:focus {
    outline: none;
}

button:hover {
    cursor: pointer;
}

button img {
    width: 25px;
    height: 25px;
    filter: invert(1);
}

.pagination-arrow-left img {
    transform: rotate(180deg);
}

.pagination-arrow-right:hover img {
    transform: scale(1.1);
}

.pagination-arrow-left:hover img {
    transform: rotate(180deg) scale(1.1);
}

footer {
    font-family: 'InfraLight', monospace;
    font-size: 0.6em;
    text-align: center; 
    margin-top: auto;
    padding: 20px 0;
    position: relative;
    z-index: 1001;
}

a {
    text-decoration: underline;
    color: #fff;
    transition: 0.2s ease;
}

a:hover {
    color: #ffffffc9;
}

.main-content::-webkit-scrollbar {
    display: none;
}
.main-content::-webkit-scrollbar-thumb {
    display: none;
}


.main-content {
    scrollbar-width: none;
}

.chart-tabs {
    display: flex;
    justify-content: center;
}

.chart-tab {
    padding: 5px 10px;
    margin: 0px 5px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'InfraRegular', monospace;
    font-size: 0.9rem;
    user-select: none;
    line-height: 1;
}

.chart-tab[data-chart="temperature48Hours"] {
    order: 1;
}

.chart-tab[data-chart="temperature"] {
    order: 2;
}

.chart-tab[data-chart="future48Hours"] {
    order: 3;
}

.chart-tab[data-chart="weekPeaks"] {
    order: 4;
}

.chart-tab[data-chart="monthPeaks"] {
    order: 5;
}

.chart-tab.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.chart-tab:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.chart-slider {
    position: relative;
    width: 100%;
    height: 300px;
}

.chart-container {
    width: 100%;
    height: 300px !important;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    background: transparent;
}

.chart-container.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#temperature48Hours-chart-container {
    min-width: 100%;
    height: 100%;
}

#temperature-chart-container {
    min-width: 100%;
    height: 100%;
}


.chart-view-toggles {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    margin-top: 10px;
}

.view-toggle {
    padding: 3px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'InfraRegular', monospace;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.view-toggle.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.view-toggle:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}


.export-trigger-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
}

.export-trigger-btn img {
    margin: 0;
}

.export-trigger-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.export-trigger-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}


@media (max-width: 768px) {
    .export-trigger-btn {
        padding: 6px;
        min-width: 28px;
        height: 28px;
    }
    
    .export-trigger-btn svg {
        width: 14px;
        height: 14px;
    }
}


.pagination-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 98%;
    border: none;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.pagination-arrow:hover {
    background: rgba(255, 255, 255, 0.219);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1);
}

.pagination-arrow:active {
    transform: translateY(-50%) scale(0.98);
}

.pagination-arrow-left {
    left: 5px;
}

.pagination-arrow-right {
    right: 5px;
}

.pagination-arrow img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}


.day-module,
.week-module {
    position: relative;
}


.swipe-hint {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.swipe-hint.show {
    opacity: 0.8;
    animation: swipeHintPulse 2s ease-in-out infinite;
}

.swipe-hint-arrow {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transform: rotate(180deg);
}

@keyframes swipeHintPulse {
    0%, 100% {
        opacity: 0.8;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) translateX(-5px);
    }
}


.slider-container {
    touch-action: pan-x;
    -webkit-user-select: none;
    user-select: none;
}


.page {
   
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}


@media (max-width: 768px) {
    .list-holder {
       
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
    
    .slider-container {
       
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
}