﻿#messageBoxAnnouncementOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 3000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 16px;
    opacity: 0;
    transition: opacity .3s ease;
}

#messageBoxAnnouncementOverlay.show {
    opacity: 1;
}

#messageBoxAnnouncement {
    width: 100%;
    max-width: 720px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.mba-close {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 44px;
    height: 44px;
    background: transparent;
    padding: 0;
    border: none;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items:center;
    justify-content: center;
}

.mba-close:hover {
    color: #000;
}

.mba-close:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.25);
    outline-offset: 2px;
}

.mba-logo {
    max-width: 160px;
    margin-bottom: 12px;
}

.mba-title {
    font-size: 30px;
    margin: 0;
}

.mba-text {
    font-size: 15px;
    line-height: 1.6;
    text-align:center;
    margin-bottom: 20px;
}

.mba-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 20px;
}

.mba-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mba-qr {
    width: 140px;
    height: auto;
}

.mba-qr-label {
    font-size: 14px;
    opacity: 0.8;
    text-align:center;
}

.mba-extra {
    max-width: 220px;
}

.mba-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: #6668ae;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.mba-cta:hover, .mba-cta:focus {
    background: #ad72ae;
    color: #fff;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    .mba-title {
        font-size: 26px;
    }

    .mba-text {
        font-size: 16px;
    }

    .mba-media {
        flex-direction: row;
        justify-content: center;
    }

    .mba-qr{
        width: 160px;
    }
}