/* Styles for the newsletter subscription shortcode */

.newsletter-subscribe {
    position: relative;
    display: inline-block;
}

.subscribe-trigger {
    background-color: #013A63;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease-in-out;
}

.subscribe-trigger:hover {
    background-color: #02497C;
}

.subscribe-popup-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ddd;
    padding: 30px 20px 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: none;
    width: 280px;
    z-index: 9999;
}

.subscribe-popup {
    text-align: center;
    position: relative;
}

.subscribe-popup input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 16px;
}

.subscribe-popup button {
    width: 100%;
    padding: 10px;
    background-color: #013A63;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.subscribe-popup button:hover {
    background-color: #02497C;
}

.subscribe-popup-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.data-handling {
    font-size: 12px;
    text-align: center;
    color: #666;
    margin-top: 10px;
    display: block;
}

.data-handling a {
    color: #013A63;
    text-decoration: underline;
}

.data-handling a:hover {
    text-decoration: none;
    color: #02497C;
}

/* Close Button Styles */
.close-popup {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}

.close-popup:hover {
    color: #000;
    background-color: rgba(255, 255, 255, 1);
}