/* Estilos do Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-in-out;
}

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

.modal-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #274e6a, #274e6a);
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #f1f1f1;
}

.modal-body {
    padding: 25px 20px;
    line-height: 1.6;
    color: #333;
}

.modal-body p {
    margin: 10px 0;
}

.modal-body strong {
    color: #ff4757;
    font-weight: 600;
}

.assinatura {
    margin-top: 20px !important;
    font-style: italic;
    color: #666;
}

.modal-footer {
    padding: 15px 20px;
    text-align: right;
    border-top: 1px solid #eee;
}

.btn-fechar {
    background: linear-gradient(135deg, #274e6a, #274e6a);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-fechar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-fechar:active {
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 30% auto;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 20px 15px;
        font-size: 0.95rem;
    }
}