@use "../base" as *; @use "../abstracts" as *; form.webform-submission-form { .js-form-type-select { position: relative; } .form-item { display: flex; flex-direction: column; gap: 16px; label, input { display: block; } input, textarea, select { width: 100%; padding: 12px 12px 12px 16px; border: 1px solid $gray; border-radius: 4px; &[type="tel"] { padding-left: 52px; } &::placeholder { color: $gray; } } .js-webform-select2 { top: 80%; left: 5%; } .select2-container { .select2-selection { padding: 12px 12px 12px 16px; height: 52px; &__arrow { transition: transform 0.2s; top: 50%; transform: translateY(-50%); right: 12px; background-image: url("/themes/custom/gto/assets/icons/arrow-down-s-line.svg"); background-size: cover; width: 26px; b { display: none; } &::after { content: url(); } } .select2-default { color: #f00 !important; } } &--open { .select2-selection { &__arrow { transform: translateY(-50%) rotate(180deg); } } } } } } .node--type-webform { .node__content { padding-right: 16px; padding-left: 16px; @include breakpoint(medium) { padding-right: 0; padding-left: 0; } } form.webform-submission-form { box-sizing: border-box; max-width: 800px; margin: 0 auto; } } :root { --brand-orange: $brand-orange; } .webform-submission-hochwasserschutz-form { &.webform-submission-form { max-width: 700px; margin: 0 auto; padding: 2rem; background: #f9f9f9; border-radius: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); font-family: Arial, sans-serif; } &.webform-submission-form .form-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; /* dla responsywności */ } /* Label po lewej */ &.webform-submission-form label { width: 220px; font-weight: bold; margin-top: 0.5rem; } /* Sekcja input file + button */ &.webform-submission-form .form-managed-file { display: flex; align-items: center; gap: 1rem; flex: 1; } /* File input */ &.webform-submission-form input[type="file"] { font-size: 0.95rem; } /* Przycisk Upload */ &.webform-submission-form .form-submit, &.webform-submission-form .js-form-submit { background-color: $brand-orange; color: white; border: none; padding: 0.6rem 1.2rem; font-size: 1rem; border-radius: 0.4rem; cursor: pointer; white-space: nowrap; transition: background-color 0.2s ease; } &.webform-submission-form .form-submit:hover { background-color: #dd681e; } /* Opis pod polem */ &.webform-submission-form .webform-element-description { margin-left: 220px; font-size: 0.85rem; color: #666; margin-top: 0.3rem; } }