/* Popup Overlay */
.ntc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.ntc-popup-overlay.ntc-show {
    opacity: 1;
}

/* Popup Container */
.ntc-popup-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 90%;
    width: 600px;
    /* Default max-width if inline width fails */
    transform: translateY(20px);
    transition: transform 0.3s ease-out;
    font-family: inherit;
    /* User requested: like the whole site */
    text-align: center;
    /* User requested: centered text */
    margin: 0 auto;
}

.ntc-popup-overlay.ntc-show .ntc-popup-container {
    transform: translateY(0);
}

/* Close Button */
.ntc-popup-close-btn {
    position: absolute;
    top: -17px;
    right: 8px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: color 0.2s;
    line-height: 1;
    padding: 0;
    z-index: 10;
}

.ntc-popup-close-btn:hover {
    color: #000;
}

/* Content */
.ntc-popup-heading {
    font-size: 24px;
    margin-bottom: 20px;
    color: inherit;
    font-weight: 600;
    line-height: 1.2;
}

.ntc-popup-subheading {
    font-size: 16px;
    color: inherit;
    margin-bottom: 10px;
    line-height: 1.6;
}

.ntc-popup-subheading p {
    margin-bottom: 1em;
}

.ntc-popup-subheading *:last-child {
    margin-bottom: 0;
}

/* Actions - Hidden as requested */
.ntc-popup-actions,
.ntc-btn {
    display: none;
}

@media (max-width: 600px) {
    .ntc-popup-container {
        padding: 25px 20px;
        width: 90% !important;
        /* Force width on mobile */
        max-width: 90%;
    }

    .ntc-popup-heading {
        font-size: 20px;
    }
}