/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Ninja Forms – column layout (replaces paid layout add-on) */
@media (min-width: 768px) {
  .nf-form-content nf-fields-wrap {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    column-gap: 10px;
    grid-auto-flow: row dense;
    align-items: start;
  }
  .nf-form-content nf-fields-wrap > nf-field { display: contents; }
  .nf-form-content nf-fields-wrap .nf-field-container { grid-column: 1 / -1; }

  .nf-form-content .nf-field-container.nf-col-50 { grid-column: span 5; }
  .nf-form-content .nf-field-container.nf-col-80 { grid-column: 1 / 9; }
  .nf-form-content .nf-field-container.nf-col-20 {
    grid-column: 9 / 11;
    grid-row: span 3;
    align-self: start;
  }
}

/* Submit aligned right (desktop + mobile) */
.nf-form-content .nf-field-container.nf-col-20 .nf-field-element { text-align: right; }