/* Full Screen Dark Background Overlay */
.ada-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    box-sizing: border-box;
}

/* Popup box */
.ada-popup {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    animation: acpPopupFade 0.3s ease-out;
    outline: none;
}

@keyframes acpPopupFade {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

/* Blue AODA banner (screenshot style) */
.ada-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #1068c4;
    color: #ffffff;
    padding: 18px 56px 18px 22px;
}

.ada-banner-icon {
    display: flex;
    flex: 0 0 auto;
}

.ada-banner-text {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 500;
    color: #ffffff;
}

/* Body */
.ada-content {
    padding: 22px 24px 26px;
}

.ada-content h3 {
    margin: 0 0 10px;
    color: #b3261e;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.ada-content p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

/* Close button sits on the blue banner */
.ada-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.ada-close:hover,
.ada-close:focus-visible {
    background: rgba(255, 255, 255, 0.3);
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .ada-banner {
        padding: 14px 50px 14px 16px;
        gap: 10px;
    }
    .ada-banner-icon svg {
        width: 28px;
        height: 28px;
    }
    .ada-banner-text {
        font-size: 16px;
    }
    .ada-content {
        padding: 18px 18px 22px;
    }
    .ada-content h3 {
        font-size: 16px;
    }
    .ada-content p {
        font-size: 14px;
    }
}

/* Spacing between the two paragraphs + emphasis on the call to action */
.ada-content p + p {
    margin-top: 12px;
}

.ada-content .ada-cta {
    font-weight: 700;
    color: #1068c4;
}
