/* Popup Wrapper & Overlay */
.epm433-popup-wrapper {
    display: none; /* Skjult som standard */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.epm433-popup-wrapper.is-visible {
    display: flex; /* Vises av JavaScript */
}

.epm433-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Popup Content */
.epm433-popup-content {
    position: relative;
    background-color: #fff;
    padding: 40px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    z-index: 10001;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Close Button */
.epm433-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

/* Form Styling */
.epm433-subscribe-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.epm433-subscribe-form button {
    width: 100%;
    padding: 12px;
    background-color: #0073aa; /* Standard WP blå */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.epm433-subscribe-form button:hover {
    background-color: #005f8c;
}

/* Styling for hardkodet innhold */
.epm433-popup-inner-content h1 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    color: #1d2327;
}

.epm433-popup-inner-content p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}

/* Styling for suksess/feilmelding */
.epm433-form-message {
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}