/* Estilos para mensagens de sucesso e erro */

.success-message,
.error-message {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Ícone de sucesso */
.success-icon {
    margin-bottom: 24px;
}

.success-icon i {
    font-size: 80px;
    color: #39B980;
    animation: scaleIn 0.5s ease-in-out;
}

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

/* Ícone de erro */
.error-icon {
    margin-bottom: 24px;
}

.error-icon i {
    font-size: 80px;
    color: #e74c3c;
    animation: scaleIn 0.5s ease-in-out;
}

/* Títulos */
.success-title,
.error-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.success-title {
    color: #39B980;
}

.error-title {
    color: #e74c3c;
}

/* Textos */
.success-text,
.error-text {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Botões */
.btn-new-message,
.btn-try-again {
    background: linear-gradient(135deg, #39B980 0%, #2d9668 100%);
    color: white;
    border: none;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(57, 185, 128, 0.3);
}

.btn-try-again {
    background: linear-gradient(135deg, #664C80 0%, #4d3960 100%);
    box-shadow: 0 4px 12px rgba(102, 76, 128, 0.3);
}

.btn-new-message:hover,
.btn-try-again:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(57, 185, 128, 0.4);
}

.btn-try-again:hover {
    box-shadow: 0 6px 16px rgba(102, 76, 128, 0.4);
}

.btn-new-message:active,
.btn-try-again:active {
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
    .success-message,
    .error-message {
        padding: 40px 24px;
    }
    
    .success-icon i,
    .error-icon i {
        font-size: 60px;
    }
    
    .success-title,
    .error-title {
        font-size: 24px;
    }
    
    .success-text,
    .error-text {
        font-size: 14px;
    }
    
    .btn-new-message,
    .btn-try-again {
        padding: 12px 28px;
        font-size: 14px;
    }
}
