/* Contact Number Updated Notice Popup */

.cn-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cn-notice-overlay.cn-notice-visible {
    opacity: 1;
    visibility: visible;
}

.cn-notice-overlay.cn-notice-closing {
    opacity: 0;
    visibility: hidden;
}

.cn-notice-popup {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding: 36px 32px 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    flex-shrink: 0;
    transform: translateY(20px) scale(0.97);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cn-notice-overlay.cn-notice-visible .cn-notice-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.cn-notice-overlay.cn-notice-closing .cn-notice-popup {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
}

.cn-notice-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f3f5f8;
    color: #555;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cn-notice-close:hover,
.cn-notice-close:focus {
    background: #e56768;
    color: #ffffff;
    outline: none;
}

.cn-notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e56768 0%, #a53d56 100%);
    color: #ffffff;
    font-size: 26px;
}

.cn-notice-title {
    margin: 0 0 14px;
    color: #2651a4;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.cn-notice-message {
    margin: 0 0 20px;
    color: #444;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
}

.cn-notice-phone {
    display: inline-block;
    margin: 0 0 24px;
    padding: 12px 24px;
    border-radius: 10px;
    background: #fff5f5;
    border: 2px dashed #e56768;
    color: #a53d56;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.cn-notice-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    padding: 14px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, #2651a4 0%, #1a3d7a 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px rgba(38, 81, 164, 0.35);
}

.cn-notice-call-btn:hover,
.cn-notice-call-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(38, 81, 164, 0.45);
    color: #ffffff !important;
    outline: none;
}

.cn-notice-call-btn i {
    font-size: 18px;
}

html.cn-notice-open,
body.cn-notice-open {
    overflow: hidden;
    height: 100%;
}

body.cn-notice-open {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

@media (max-width: 575px) {
    .cn-notice-popup {
        padding: 32px 22px 26px;
        border-radius: 12px;
    }

    .cn-notice-title {
        font-size: 22px;
    }

    .cn-notice-message {
        font-size: 15px;
    }

    .cn-notice-phone {
        width: 100%;
        padding: 12px 16px;
        font-size: 20px;
        box-sizing: border-box;
    }

    .cn-notice-call-btn {
        width: 100%;
        min-width: 0;
    }
}
