/* Modern Popup Subscribe Modal Styles */
#myModal.modal {
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 999999 !important;
}

.modal-backdrop {
    z-index: 999990 !important;
}

#myModal .modal-dialog {
    max-width: 480px;
    margin: 1.75rem auto;
}

#myModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    background: #ffffff;
    overflow: hidden;
}

#myModal .modal-header {
    border-bottom: 0 !important;
    padding: 14px 18px 0 18px;
    display: flex;
    justify-content: flex-end;
}

#myModal .modal-header .btn-close {
    font-size: 14px;
    padding: 8px;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s ease;
    box-shadow: none !important;
}

#myModal .modal-header .btn-close:hover {
    opacity: 1;
}

#myModal .g1-newsletter-contents {
    padding: 4px 32px 32px 32px;
}

#myModal .pop_logo {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 20px;
}

#myModal .staytxt {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

#myModal .text_label {
    color: #475569;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 22px;
    text-align: center;
    font-weight: 400;
}

#myModal .modal-body {
    padding: 0;
}

#myModal input.pop_up_email {
    height: 48px;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    font-size: 14.5px;
    padding: 10px 16px;
    color: #1e293b;
    box-shadow: none !important;
    transition: border-color 0.2s, background 0.2s;
}

#myModal input.pop_up_email:focus {
    border-color: #256fda !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 111, 218, 0.15) !important;
}

#myModal button.pop_up_news {
    height: 48px;
    border-radius: 8px !important;
    background-color: #256fda !important;
    border: 1px solid #256fda !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(37, 111, 218, 0.25);
}

#myModal button.pop_up_news:hover {
    opacity: 0.92;
    color: #ffffff;
}

#myModal button.pop_up_news:active {
    transform: scale(0.99);
}

#myModal .subscribe-message {
    margin-top: 14px;
    text-align: center;
}

#myModal .subscribe-message .success {
    color: #16a34a;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

#myModal .subscribe-message .error {
    color: #dc2626;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}