* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6); /* fundo escuro */
    display: none; /* começa escondido */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* animação suave */
.modal-content {
    animation: modalFade 0.25s ease-out;
}

@keyframes modalFade {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 420px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-header-bar {
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 12px auto 0;
}

.modal-body {
    padding: 24px;
    text-align: center;
}

.modal-attention {
    color: #d32f2f;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-subtitle {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

    .modal-subtitle span {
        color: #999;
        font-weight: normal;
    }

.modal-main-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
}

.red-text {
    color: #d32f2f;
    font-weight: 700;
}

.ctb-box {
    background: #fdf8f8;
    border-left: 4px solid #d32f2f;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    margin-bottom: 25px;
}

    .ctb-box p {
        font-size: 12px;
        color: #666;
        margin-bottom: 10px;
    }

.ctb-details p {
    margin-bottom: 2px;
    font-size: 13px;
    color: #333;
}

.modal-continue-btn {
    width: 100%;
    background: black;
    color: #cfff00;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}
