/* ==========================================================================
   Sector page - lead-capture popup, overlay & cookie-consent UI
   Extracted from inline styles in Views/PublicPage/Sector.cshtml.
   Loaded after global.css so these rules win where IDs overlap.
   ========================================================================== */

/* --- Lead-capture popup ------------------------------------------------- */
#popup {
    border-radius: 16px !important;
    max-width: 460px;
    width: min(460px, 92vw);
    padding: 32px 30px !important;
    box-shadow: 0 18px 50px rgba(33, 39, 74, 0.28) !important;
    background: #fff;
    text-align: center;
    color: #606996;
    box-sizing: border-box;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.np-popup-header {
    margin-bottom: 4px;
}

.np-popup-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    color: #2f3a6e;
    margin: 0;
}

.np-popup-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 8px 0 0;
    line-height: 1.45;
}

.np-popup-fields {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 20px 0 4px;
}

/* element + class keeps specificity above global.css `#popup input[type="email"]` */
#popup input.np-popup-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    margin: 0;
    border: 1px solid #d7dae5;
    border-radius: 9px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    #popup input.np-popup-input::placeholder {
        color: #9aa0b5;
    }

    #popup input.np-popup-input:focus {
        border-color: #606996;
        box-shadow: 0 0 0 3px rgba(96, 105, 150, 0.16);
    }

.np-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

#popup .np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

#popup .np-btn-primary {
    background-color: #606996;
    color: #fff;
}

    #popup .np-btn-primary:hover {
        background-color: #4d5580;
        box-shadow: 0 6px 16px rgba(96, 105, 150, 0.32);
    }

#popup .np-btn-secondary {
    background-color: #2f3a6e;
    color: #fff;
}

    #popup .np-btn-secondary:hover {
        background-color: #25305c;
        color: #fff;
        box-shadow: 0 6px 16px rgba(47, 58, 110, 0.32);
    }

#popup .np-btn-outline {
    background-color: #fff;
    color: #606996;
    border-color: #c9cde0;
}

    #popup .np-btn-outline:hover {
        background-color: #f2f3f8;
        color: #606996;
        border-color: #606996;
    }

/* --- Cookie-consent bar ------------------------------------------------- */
#cookieConsent {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
}

    #cookieConsent button {
        margin-left: 10px;
    }

/* --- Cookie-settings modal --------------------------------------------- */
#cookieSettingsModal {
    display: none;
    z-index: 1050;
    position: fixed;
    top: 0;
    left: -300px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

    #cookieSettingsModal .cookie-settings-card {
        background: #fff;
        max-width: 500px;
        margin: 100px auto;
        padding: 20px;
        border-radius: 4px;
    }
