.nonqm-form-wrap {
    max-width: 980px;
    margin: 0 auto 40px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.nonqm-application-form {
    width: 100%;
}

.nonqm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.nonqm-field {
    display: flex;
    flex-direction: column;
}

.nonqm-field-wide {
    grid-column: 1 / -1;
}

.nonqm-field label {
    font-weight: 700;
    margin-bottom: 7px;
    color: #111827;
    font-size: 15px;
}

.nonqm-field input,
.nonqm-field select,
.nonqm-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 13px;
    font-size: 16px;
    line-height: 1.4;
    background: #ffffff;
    color: #111827;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nonqm-field input:focus,
.nonqm-field select:focus,
.nonqm-field textarea:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    outline: none;
}

.nonqm-upload-section {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
}

.nonqm-upload-section h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #111827;
}

.nonqm-upload-section p {
    margin: 0 0 18px;
    color: #4b5563;
}

.required {
    color: #dc2626;
}

.nonqm-recaptcha {
    margin-top: 24px;
}

.nonqm-submit-button {
    margin-top: 24px;
    display: inline-block;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 15px 24px;
    background: #16a34a;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: transform 0.15s ease, background-color 0.2s ease;
}

.nonqm-submit-button:hover,
.nonqm-submit-button:focus {
    background: #15803d;
    transform: translateY(-1px);
}

.nonqm-submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.nonqm-alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 15px;
}

.nonqm-alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #14532d;
    font-weight: 700;
}

.nonqm-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #7f1d1d;
}

.nonqm-alert-error ul {
    margin: 8px 0 0 20px;
}

@media (max-width: 720px) {
    .nonqm-form-wrap {
        padding: 18px;
        border-radius: 10px;
    }

    .nonqm-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nonqm-field-wide {
        grid-column: auto;
    }
}
