.kjc-entry-needs-popup[hidden] {
    display: none !important;
}

.kjc-entry-needs-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.kjc-entry-needs-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.kjc-entry-needs-popup__panel {
    position: relative;
    width: min(92vw, 620px);
    box-sizing: border-box;
    background: #172f43;
    color: #DDCBA4;
	border: 2px solid #DDCBA4;
    border-radius: 0px;
    padding: 38px 34px 34px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    text-align: center;
    outline: none;
}

.kjc-entry-needs-popup__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #DDCBA4;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.kjc-entry-needs-popup__close:hover,
.kjc-entry-needs-popup__close:focus {
    background: rgba(23, 47, 67, 0.1);
}

.kjc-entry-needs-popup__title {
    margin: 0 0 14px;
    color: #DDCBA4;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    font-weight: 800;
}

.kjc-entry-needs-popup__message {
    margin: 0 auto 26px;
    max-width: 540px;
    color: #DDCBA4;
    font-size: 18px;
    line-height: 1.55;
}

.kjc-entry-needs-popup__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.kjc-entry-needs-popup__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 50px;
    padding: 12px 22px;
    border: 2px solid #DDCBA4;
    border-radius: 999px;
    background: #172f43;
    color: #DDCBA4 !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.kjc-entry-needs-popup__button:hover,
.kjc-entry-needs-popup__button:focus {
    filter: brightness(1.08);
}

.kjc-entry-needs-popup__button--secondary {
    background: #DDCBA4;
    color: #172f43 !important;
}

.kjc-entry-needs-popup-is-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .kjc-entry-needs-popup {
        padding: 16px;
    }

    .kjc-entry-needs-popup__panel {
        padding: 34px 22px 26px;
    }

    .kjc-entry-needs-popup__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .kjc-entry-needs-popup__button {
        width: 100%;
        min-width: 0;
    }
}
