.nif-form-wrap {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.nif-form-header {
    margin-bottom: 22px;
}

.nif-form-header h2 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.1;
    color: #0f172a;
}

.nif-form-header p {
    margin: 0;
    color: #475569;
    font-size: 16px;
}

.nif-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.nif-field {
    display: flex;
    flex-direction: column;
}

.nif-full {
    grid-column: 1 / -1;
}

.nif-field label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #0f172a;
}

.nif-field input,
.nif-field select,
.nif-field textarea {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.nif-field textarea {
    resize: vertical;
}

.nif-checkbox label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 500;
}

.nif-checkbox input {
    width: auto;
    margin-top: 3px;
}

.nif-actions {
    margin-top: 22px;
}

.nif-btn {
    display: inline-block;
    border: 0;
    border-radius: 14px;
    padding: 14px 22px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: #0f172a;
    color: #fff;
}

.nif-microcopy {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
}

.nif-alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 600;
}

.nif-alert-success {
    background: #dcfce7;
    color: #166534;
}

.nif-alert-error {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 768px) {
    .nif-form-wrap {
        padding: 20px;
    }

    .nif-grid {
        grid-template-columns: 1fr;
    }

    .nif-form-header h2 {
        font-size: 26px;
    }

    .nif-btn {
        width: 100%;
    }
}