/* Estilo do botão */
.warning-btn {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.warning-btn:hover {
    background-color: #ff5252;
}

/* Estilo do modal */
.warning-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.warning-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 80%;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s;
    position: relative;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.warning-modal-header {
    background-color: #ff6b6b;
    color: white;
    padding: 15px 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.warning-modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.warning-modal-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.warning-modal-close:hover {
    color: #ddd;
}

.warning-modal-body {
    padding: 25px;
    line-height: 1.6;
    max-height: 70vh;
    overflow-y: auto;
}

.warning-modal-body p:last-child {
    margin-bottom: 0;
}

.warning-modal-body img {
    max-width: 100%;
    height: auto;
}

.warning-modal-body ul,
.warning-modal-body ol {
    margin-left: 20px;
}

.warning-modal-body blockquote {
    border-left: 4px solid #ff6b6b;
    padding-left: 15px;
    margin-left: 0;
    font-style: italic;
    color: #555;
}

/* Responsividade */
@media (max-width: 768px) {
    .warning-modal-content {
        width: 95%;
        margin: 10% auto;
    }
}