.nd-app-form-wrap {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 40px 20px 60px !important;
}

.nd-app-form-title {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #263f53 !important;
    margin: 0 0 24px !important;
    line-height: 150% !important;
}

/* Rows */
.nd-app-form-row {
    margin-bottom: 16px !important;
}

.nd-app-form-row--half {
    display: flex !important;
    gap: 16px !important;
}

.nd-app-form-row--half .nd-app-form-field {
    flex: 1 !important;
}

/* Field */
.nd-app-form-field label {
    display: block !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #263f53 !important;
    margin-bottom: 6px !important;
}

.nd-app-req {
    color: #e04040 !important;
}

.nd-app-optional {
    font-weight: 400 !important;
    color: #8a9fb2 !important;
}

/* Inputs */
.nd-app-form-field input[type="text"],
.nd-app-form-field input[type="email"],
.nd-app-form-field input[type="url"],
.nd-app-form-field textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #c8d4de !important;
    border-radius: 12px !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 15px !important;
    color: #263f53 !important;
    background: #FCFEFF !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.nd-app-form-field input:focus,
.nd-app-form-field textarea:focus {
    border-color: #0F3151 !important;
}

.nd-app-form-field textarea {
    resize: vertical !important;
}

/* File upload */
.nd-app-file-upload {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.nd-app-file-upload input[type="file"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
}

label.nd-app-file-label {
    display: inline-block !important;
    padding: 10px 20px !important;
    background: linear-gradient(93.93deg, #77DAC1 3.27%, #0F3151 150.87%) !important;
    color: #fff !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 15px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: opacity 0.2s ease !important;
}

.nd-app-file-label:hover {
    opacity: 0.85 !important;
}

.nd-app-file-name {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 14px !important;
    color: #8a9fb2 !important;
}

/* Consent */
.nd-app-form-consent label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
}

.nd-app-form-consent input[type="checkbox"] {
    margin-top: 3px !important;
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #0F3151 !important;
    cursor: pointer !important;
}

.nd-app-form-consent a {
    color: #0F3151 !important;
    text-decoration: underline !important;
}

.nd-app-form-consent a:hover {
    color: #77DAC1 !important;
}

.nd-app-form-consent span {
    margin-top: 5px;
}

/* reCAPTCHA notice */
.nd-app-recaptcha-notice {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 12px !important;
    color: #8a9fb2 !important;
    line-height: 160% !important;
    margin: 0 !important;
}

.nd-app-recaptcha-notice a {
    color: #8a9fb2 !important;
    text-decoration: underline !important;
}

/* Submit button */
.nd-app-form-submit {
    display: inline-block !important;
    padding: 14px 32px !important;
    background: linear-gradient(93.93deg, #77DAC1 3.27%, #0F3151 150.87%) !important;
    color: #fff !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 15px !important;
    border: none !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: opacity 0.2s ease !important;
    box-shadow: none !important;
}

.nd-app-form-submit:hover {
    opacity: 0.85 !important;
}

.nd-app-form-submit:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Messages */
.nd-app-form-message {
    margin-top: 16px !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 15px !important;
}

.nd-app-form-message--success {
    background: #e8f8f0 !important;
    color: #1a6b45 !important;
    border: 1px solid #77DAC1 !important;
}

.nd-app-form-message--error {
    background: #fdf0f0 !important;
    color: #a03030 !important;
    border: 1px solid #e8a0a0 !important;
}

/* Responsive */
@media (max-width: 600px) {
    .nd-app-form-row--half {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .nd-app-form-wrap {
        padding: 24px 16px 40px !important;
    }
}
