/**
 * Metform & Newsletter Lightbox Popups Stylesheet
 *
 * @package M13Core
 */

/* Email Style Trigger Button */
.email-style-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #d3d3d3;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    gap: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.email-style-btn:hover,
.email-style-btn:focus {
    background-color: #bcbcbc;
    transform: scale(1.02);
}

.email-style-btn i {
    color: white;
}

/* Gradient Pill Trigger Button */
.get-notified-btn-2 {
    padding: 12px 40px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(to right, #000000, #3a3a3a);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1em;
    display: inline-block;
    text-align: center;
}

.get-notified-btn-2:hover {
    background: linear-gradient(to right, #1a1a1a, #5a5a5a);
    transform: scale(1.03);
}

/* Common Lightbox Overlay */
.popup-overlay,
.popup-overlay-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99990;
    backdrop-filter: blur(3px);
}

/* Lightbox Content Container */
.popup-content,
.popup-content-2 {
    background: white;
    padding: 35px;
    border-radius: 12px;
    position: relative;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-content h2,
.popup-content-2 h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #111;
}

.popup-content p,
.popup-content-2 p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

/* Close Button */
.close-btn,
.close-btn-2 {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s ease;
}

.close-btn:hover,
.close-btn-2:hover {
    color: #111;
}

@media (max-width: 480px) {
    .email-style-btn {
        width: 100%;
    }

    .get-notified-btn-2 {
        font-size: 14px;
        padding: 10px 30px;
    }

    .popup-content,
    .popup-content-2 {
        padding: 25px 20px;
    }
}
