/* Hide required field notice */
.form_services_items .nf-form-fields-required {
    display: none;
}

/* Hide form errors container */
.form_services_items .nf-form-errors {
    display: none !important;
}

/* Form container */
.form_services_items {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

/* Field containers */
.form_services_items .nf-field-container {
    margin-bottom: 24px;
}

/* Labels */
.form_services_items .nf-field-label label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Text and email inputs */
.form_services_items .nf-field-element input[type="text"],
.form_services_items .nf-field-element input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
    background: #fafafa;
}

/* Input focus state */
.form_services_items .nf-field-element input[type="text"]:focus,
.form_services_items .nf-field-element input[type="email"]:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Placeholder text */
.form_services_items .nf-field-element input[type="text"]::placeholder,
.form_services_items .nf-field-element input[type="email"]::placeholder {
    color: #999;
}

/* Error state inputs */
.form_services_items .nf-fail input,
.form_services_items .nf-error input {
    border-color: #e74c3c !important;
    background: #fff5f5;
}

/* Error messages */
.form_services_items .nf-error-wrap {
    margin-top: 8px;
}

.form_services_items .nf-error-msg {
    color: #e74c3c;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.form_services_items .nf-error-msg::before {
    content: "⚠";
    margin-right: 6px;
    font-size: 14px;
}

/* Submit button container */
.form_services_items .submit-container {
    margin-top: 32px;
}

/* Submit button */
.form_services_items .nf-field-element input[type="submit"] {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #203C73 0%, #1a2f5a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(32, 60, 115, 0.4);
}

/* Submit button hover */
.form_services_items .nf-field-element input[type="submit"]:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 60, 115, 0.6);
}

/* Submit button active */
.form_services_items .nf-field-element input[type="submit"]:active:not(:disabled) {
    transform: translateY(0);
}

/* Submit button disabled */
.form_services_items .nf-field-element input[type="submit"]:disabled {
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

/* Form errors container */
.form_services_items .nf-form-errors {
    background: #fff5f5;
    border-left: 4px solid #e74c3c;
    padding: 12px 16px;
    margin-top: 20px;
    border-radius: 4px;
}

.form_services_items .nf-form-errors .nf-error-msg {
    color: #c0392b;
    font-weight: 500;
}

/* Required symbol */
.form_services_items .ninja-forms-req-symbol {
    color: #e74c3c;
    font-weight: bold;
}

/* Honeypot field - keep hidden */
.form_services_items .nf-form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Hide labels for label-hidden class */
.form_services_items .label-hidden .nf-field-label {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Responsive styles */
@media (max-width: 600px) {
    .form_services_items {
        padding: 30px 20px;
    }

    .form_services_items .nf-field-element input[type="submit"] {
        padding: 14px;
        font-size: 15px;
    }
}