/* Stili personalizzati per integrare con Bootstrap */
#ideainnova .card-body {
    border-radius: 15px;
}

#ideainnova .form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

#ideainnova  .btn-primary {
    background: linear-gradient(135deg, #1E98C2 0%, #F96906 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#ideainnova  .btn-primary:hover {
    background: linear-gradient(135deg, #F96906 0%, #1E98C2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

/* Stili per i messaggi di feedback */
#msg {
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

#msg.ok {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

#msg.err {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c2c7;
}

/* Animazione per il caricamento */
#msg:not(:empty) {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem !important;
    }

    h1.h3 {
        font-size: 1.5rem;
    }
}