.kuaby-vacation-lock {
    overflow: hidden !important;
}

.kuaby-vacation-overlay {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.kuaby-vacation-overlay--visible {
    opacity: 1;
    visibility: visible;
}

.kuaby-vacation-modal {
    position: relative;
    width: min(100%, 640px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    box-sizing: border-box;
    padding: 44px 42px 38px;
    border-radius: 14px;
    background: #fff;
    color: #202124;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(10px) scale(0.985);
    transition: transform 180ms ease;
    outline: none;
    font-family: inherit;
}

.kuaby-vacation-overlay--visible .kuaby-vacation-modal {
    transform: translateY(0) scale(1);
}

.kuaby-vacation-close {
    position: absolute;
    top: 12px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #5f6368;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.kuaby-vacation-close:hover,
.kuaby-vacation-close:focus-visible {
    background: #f1f3f4;
    color: #202124;
}

.kuaby-vacation-title {
    margin: 0 0 18px;
    padding: 0;
    color: inherit;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
}

.kuaby-vacation-message {
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
}

.kuaby-vacation-message p:first-child {
    margin-top: 0;
}

.kuaby-vacation-message p:last-child {
    margin-bottom: 0;
}

.kuaby-vacation-button {
    display: block;
    min-width: 150px;
    margin: 28px auto 0;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    background: #202124;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.kuaby-vacation-button:hover,
.kuaby-vacation-button:focus-visible {
    filter: brightness(1.15);
}

.kuaby-vacation-close:focus-visible,
.kuaby-vacation-button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .kuaby-vacation-overlay {
        padding: 16px;
    }

    .kuaby-vacation-modal {
        max-height: calc(100vh - 32px);
        padding: 40px 24px 30px;
        border-radius: 12px;
    }

    .kuaby-vacation-message {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kuaby-vacation-overlay,
    .kuaby-vacation-modal {
        transition: none;
    }
}
