.formnest-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Input & textarea styling */
.formnest-form input,
.formnest-form textarea,
.formnest-form select {
    background: #f5f6fa;
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.formnest-form input:focus,
.formnest-form textarea:focus,
.formnest-form select:focus {
    background: #fff;
    box-shadow: 0 0 0 2px #a18cff;
}

/* Two fields per row */
.formnest-field {
    flex: 1 1 calc(50% - 15px);
}

/* Full width fields (textarea & button) */
.formnest-full {
    flex: 1 1 100%;
}

/* Textarea */
.formnest-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit button */
.formnest-form button {
    background: linear-gradient(90deg, #5e4bfa, #8f6efc);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 14px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.formnest-form button:hover {
    opacity: 0.9;
}

/* Success / message box */
.formnest-message {
    padding: 12px;
    background: #e1f5e1;
    color: #2e7d32;
    border-radius: 8px;
    width: 100%;
}

/* Responsive: stack on mobile */
@media (max-width: 600px) {
    .formnest-field {
        flex: 1 1 100%;
    }
}
