/* Estilos para mensagens de resposta do formulário */
.form-response {
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-response.success {
    background-color: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.form-response.error {
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Estilo para botão desabilitado */
.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Adicionar estilos para os botões alternativos */
.error-message {
    margin-bottom: 15px;
    font-weight: 500;
    color: #e74c3c;
}

.error-message p {
    margin: 5px 0;
}

.alternative-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.alternative-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
}

.alternative-btn:hover {
    transform: translateY(-2px);
}

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

#email-option {
    background-color: #3498db;
    color: white;
}

#email-option:hover {
    background-color: #2980b9;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.whatsapp-btn i, #email-option i {
    margin-right: 8px;
    font-size: 18px;
}

/* Novas adições para debug e avisos CORS */
.debug-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-size: 12px;
    color: #6c757d;
    font-family: monospace;
    overflow: auto;
    max-height: 200px;
    display: none;
}

.debug-info pre {
    margin: 5px 0;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.debug-toggle {
    display: none !important;
    font-size: 12px;
    color: #6c757d;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
}

.cors-warning {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 12px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 6px;
    color: #856404;
}

.cors-warning i {
    margin-right: 10px;
    font-size: 20px;
    color: #e0a800;
}

@media (min-width: 768px) {
    .alternative-options {
        flex-direction: row;
    }
    
    .alternative-btn {
        flex: 1;
    }
} 