/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.wrapper {
    position: fixed;
    bottom: 50px;
    right: -370px;
    max-width: 345px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px 25px 22px;
    transition: right 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
.wrapper.show {
    right: 20px;
}
.wrapper header {
    display: flex;
    align-items: center;
    column-gap: 15px;
}
header i {
    color: #4070f4;
    font-size: 32px;
}
header h2 {
    color: #4070f4;
    font-weight: 500;
}
.wrapper .data {
    margin-top: 16px;
}
.wrapper .data p {
    color: #333;
    font-size: 16px;
    font-weight: 100;
}
.data p a {
    color: #4070f4;
    text-decoration: none;
}
.data p a:hover {
    text-decoration: underline;
}
.wrapper .buttons {
    margin-top: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.buttons .button {
    border: none;
    color: #fff;
    padding: 8px 0;
    border-radius: 4px;
    background: #4070f4;
    cursor: pointer;
    width: calc(100% / 2 - 10px);
    transition: all 0.2s ease;
}
.buttons #acceptBtn:hover {
    background-color: #034bf1;
}
#declineBtn {
    border: 2px solid #4070f4;
    background-color: #fff;
    color: #4070f4;
}
#declineBtn:hover {
    background-color: #4070f4;
    color: #fff;
}

.holiday-banner {
    width: 100%;
    background: #f8fbff;
    border-bottom: 1px solid rgba(64, 112, 244, 0.2);
}

.top-sticky-shell {
    position: sticky;
    top: 0;
    z-index: 320;
}

.holiday-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    color: #1f2f4d;
    font-size: 0.95rem;
    flex-wrap: wrap;
    text-align: center;
}

.holiday-banner-title {
    color: #1f2f4d;
}

.holiday-banner-message {
    display: inline;
}

.holiday-banner-date-line {
    display: inline;
}

.holiday-banner-icon {
    color: #4070f4;
    font-size: 1.2rem;
    line-height: 1;
}

.holiday-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(14, 32, 66, 0.22);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.26s ease, visibility 0.26s ease;
    z-index: 1400;
}

.holiday-modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.holiday-modal-card {
    width: min(480px, 96vw);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px 18px;
    border: 1px solid rgba(64, 112, 244, 0.15);
    box-shadow: 0 12px 28px rgba(23, 45, 84, 0.16);
    transform: translateY(12px) scale(0.985);
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.holiday-modal-overlay.show .holiday-modal-card {
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 34px rgba(23, 45, 84, 0.2);
}

.holiday-modal-card header {
    display: flex;
    align-items: center;
    column-gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(64, 112, 244, 0.14);
}

.holiday-modal-card header i {
    color: #4070f4;
    font-size: 32px;
}

.holiday-modal-card header h2 {
    color: #4070f4;
    font-weight: 500;
}

.holiday-modal-card .data {
    margin-top: 14px;
}

.holiday-modal-card .data p {
    color: #333;
    font-size: 16px;
    font-weight: 100;
    margin-bottom: 8px;
}

.holiday-modal-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 16px;
}

.holiday-modal-list tr {
    --holiday-date-width: 130px;
}

.holiday-modal-list tr.holiday-item-long-date {
    --holiday-date-width: 210px;
}

.holiday-modal-list td {
    padding: 0;
    vertical-align: top;
}

.holiday-item-date {
    font-weight: 500;
    width: var(--holiday-date-width);
    min-width: var(--holiday-date-width);
    padding-right: 14px !important;
    white-space: nowrap;
}

.holiday-item-name {
    font-weight: 400;
}

.holiday-modal-card .buttons {
    margin-top: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.holiday-modal-card .buttons .button {
    border: none;
    color: #fff;
    padding: 8px 0;
    border-radius: 4px;
    background: #4070f4;
    cursor: pointer;
    width: calc(100% / 2 - 10px);
    transition: all 0.2s ease;
}

.holiday-modal-card .buttons .button:hover {
    background-color: #034bf1;
}

.holiday-modal-card .buttons .button.holiday-secondary {
    border: 2px solid #4070f4;
    background-color: #fff;
    color: #4070f4;
}

.holiday-modal-card .buttons .button.holiday-secondary:hover {
    background-color: #4070f4;
    color: #fff;
}

.holiday-closure-inline {
    margin-top: 10px;
}

.holiday-closure-link {
    border: none;
    background: transparent;
    padding: 0;
    color: #4070f4;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}

.holiday-closure-link:hover {
    color: #034bf1;
}

@media screen and (max-width: 991.98px) {
    .holiday-banner-content {
        justify-content: flex-start;
        text-align: left;
        gap: 6px;
        padding: 8px 12px;
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .holiday-banner-message {
        display: inline;
    }

    .holiday-banner-date-line {
        display: inline;
    }

    .holiday-banner-icon {
        font-size: 1rem;
    }

    .holiday-nav-toggler {
        display: none !important;
    }

    .top-header-row {
        position: relative;
    }

    .holiday-top-toggler {
        display: block !important;
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        z-index: 30;
        background-color: #ffffff !important;
        border: 1px solid #4070f4 !important;
        border-radius: 6px;
        box-shadow: 0 4px 10px rgba(23, 45, 84, 0.2);
        width: 42px;
        height: 36px;
        padding: 0 !important;
        pointer-events: auto;
    }

    .holiday-top-toggler .holiday-top-toggler-icon {
        display: block;
        width: 18px;
        height: 2px;
        background-color: #1f2f4d;
        margin: 0 auto;
        position: relative;
        transition: background-color 0.2s ease;
    }

    .holiday-top-toggler .holiday-top-toggler-icon::before,
    .holiday-top-toggler .holiday-top-toggler-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 18px;
        height: 2px;
        background-color: #1f2f4d;
        transition: transform 0.2s ease, top 0.2s ease;
    }

    .holiday-top-toggler .holiday-top-toggler-icon::before {
        top: -6px;
    }

    .holiday-top-toggler .holiday-top-toggler-icon::after {
        top: 6px;
    }

    .holiday-top-toggler[aria-expanded="true"] .holiday-top-toggler-icon {
        background-color: transparent;
    }

    .holiday-top-toggler[aria-expanded="true"] .holiday-top-toggler-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .holiday-top-toggler[aria-expanded="true"] .holiday-top-toggler-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .holiday-modal-overlay {
        align-items: flex-start;
        padding: 10px 8px;
    }

    .holiday-modal-card {
        width: min(560px, 100%);
        max-height: calc(100dvh - 20px);
        border-radius: 12px;
        padding: 16px 14px 14px;
    }

    .holiday-modal-card header h2 {
        font-size: 1.02rem;
        line-height: 1.3;
    }

    .holiday-modal-list tr {
        --holiday-date-width: 112px;
    }

    .holiday-modal-list tr.holiday-item-long-date {
        --holiday-date-width: 162px;
    }

    .holiday-item-date,
    .holiday-item-name,
    .holiday-modal-card .data p {
        font-size: 0.92rem;
    }

    .holiday-item-date {
        white-space: nowrap;
        padding-right: 10px !important;
    }

    .holiday-modal-list tr.holiday-item-long-date .holiday-item-date {
        white-space: normal;
    }
}

@media screen and (min-width: 992px) {
    .holiday-top-toggler {
        display: none !important;
    }
}