.cf-form-modern {
    max-width: 600px;
    margin: 2rem auto;
    font-family: sans-serif;
}

.cf-form-modern .cf-row {
    display: flex;
    gap: 1rem;
}

.cf-form-modern .cf-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.cf-form-modern .cf-field span {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.cf-form-modern .cf-field input,
.cf-form-modern .cf-field textarea {
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    resize: vertical;
}

.cf-form-modern .cf-message-field {
    flex: none; /* full width */
}

.cf-form-modern .cf-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cf-form-modern button[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s ease;
}

.cf-form-modern button[type="submit"]:hover {
    background: #005f8d;
}

.cf-response {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.cf-response.success {
    color: #2a7f2a;
}

.cf-response.error {
    color: #d00;
}

.cf-response.hidden {
    opacity: 0;
}