/*
    Newsletter Subscription Popup - styles
    Self-contained: safe to delete this file along with
    newsletter-popup.blade.php and newsletter-popup.js to remove the feature.
*/

.nlp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65);
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.nlp-overlay.nlp-visible {
    display: flex;
}

.nlp-box {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: var(--white-color, #fff);
    border-radius: 12px;
    padding: 45px 35px 35px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: nlp-pop-in 0.35s ease;
}

@keyframes nlp-pop-in {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.nlp-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--secondary-color, #f2f2f2);
    color: var(--main-secondary-color, #463d3b);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.nlp-close:hover {
    background: var(--main-primary-color, #e16a39);
    color: #fff;
}

.nlp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--main-primary-color, #e16a39);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.nlp-title {
    font-family: var(--accent-font, inherit);
    color: var(--main-secondary-color, #463d3b);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.nlp-desc {
    color: var(--text-color, #888);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.nlp-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nlp-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--divider-color, #dadada);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.nlp-input:focus {
    border-color: var(--main-primary-color, #e16a39);
}

.nlp-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    background: var(--main-primary-color, #e16a39);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.nlp-btn:hover {
    opacity: 0.9;
}

.nlp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.nlp-message {
    margin: 14px 0 0;
    font-size: 14px;
    min-height: 18px;
}

.nlp-message.nlp-success {
    color: #2e7d32;
}

.nlp-message.nlp-error {
    color: var(--error-color, #e65757);
}

@media (max-width: 480px) {
    .nlp-box {
        padding: 38px 22px 28px;
    }

    .nlp-title {
        font-size: 20px;
    }
}
