/* ============================================
   MODAL DE SUCESSO - CONTATO
   ============================================ */

.modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
}

.modal-header .modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.modal-body {
    background: #ffffff;
    padding: 2rem 2rem;
}

.success-icon {
    animation: scaleIn 0.5s ease-out;
}

.success-icon i {
    font-size: 4rem;
    color: #28a745;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(32, 201, 151, 0.1));
    border-radius: 50%;
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-body h6 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d2249;
}

.modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body p.small {
    font-size: 0.9rem;
    color: #8b8f98;
}

.modal-footer {
    padding: 1.5rem;
    background: #f8f9fb;
    border-radius: 0 0 12px 12px;
}

.modal-footer .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.modal-footer .btn-success:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* ============================================
   ANIMAÇÃO BACKGROUND DA MODAL
   ============================================ */

.modal.fade .modal-dialog {
    animation: slideUp 0.3s ease-out;
}

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

/* ============================================
   BACKDROP DA MODAL
   ============================================ */

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.fade.show {
    opacity: 1;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .success-icon i {
        font-size: 3rem;
        width: 100px;
        height: 100px;
    }

    .modal-header .modal-title {
        font-size: 1.1rem;
    }

    .modal-body h6 {
        font-size: 1rem;
    }

    .modal-footer .btn-success {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}
