body.page-id-1137,
body.page-id-1326 {
  /* Background and border */
  form {
    color: #fff;
    border: none;

    /* Section titles */
    h2 {
      font-size: 18px;
      color: #fff;
      margin-bottom: 15px;
      margin-top: 30px;
      border: none;
      padding-bottom: 5px;
      font-weight: 700;
    }

    /* Field layout */
    .section {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 30px;
    }

    label {
      flex: 1 1 250px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 15px;
      color: #fff;
      position: relative;
    }

    /* Inputs */
    input,
    select,
    textarea {
      background-color: #000000;
      color: #ffffff;
      padding: 12px 14px 12px 20px;
      border-radius: 0;
      transition: border-color 0.3s ease, background-color 0.3s ease;
    }

    /* Filled state */
    label.filled {
      select,
      .custom-number-input {
        border: 1px solid #00bff2 !important;
      }

      input:not([type="number"]) {
        border: 1px solid #00bff2 !important;
      }

      &::after {
        content: '';
        position: absolute;
        top: 48px;
        right: -3px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background-image: url('/wp-content/uploads/2026/07/Check.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        pointer-events: none;
        z-index: 2;
      }
    }
  }

  .form-section {
    border: 1px solid #00bff2;
    padding: 28px 32px 32px;
    margin-bottom: 28px;
    border-radius: 0;
    background-color: #000;

    h2 {
      font-size: 30px;
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #fff;
      font-weight: 700;
      margin: 20px auto 40px;
      border: none;
      padding: 0;
      width: 100%;
    }
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 28px;
  }

  input[type="text"],
  input[type="date"],
  input[type="email"],
  input[type="tel"],
  .custom-number-input input[type="number"],
  select {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #3a3a3a;
    padding: 12px 14px 12px 20px;
    border-radius: 0;
    width: 100%;
    max-width: calc(100% - 28px);
    box-sizing: border-box;
    font-size: 14px;
    font-style: normal;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;

    &:focus {
      background-color: #000000;
      color: #ffffff;
      border-color: #00bff2;
      outline: none;
    }
  }

  /*
   * Flatpickr header: tema naredi select { width:100% },
   * zato mesec zasede celo vrstico in letnica pade pod overflow:hidden.
   */
  .flatpickr-calendar .flatpickr-month {
    overflow: visible !important;
  }

  .flatpickr-calendar .flatpickr-current-month {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 2px !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    left: 12.5% !important;
    right: 12.5% !important;
  }

  .flatpickr-calendar .flatpickr-monthDropdown-months,
  .flatpickr-calendar select.flatpickr-monthDropdown-months {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 0.25ch !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    color: inherit !important;
    font-size: inherit !important;
    font-style: normal !important;
    box-shadow: none !important;
    appearance: menulist !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
  }

  .flatpickr-calendar .flatpickr-monthDropdown-months option,
  .flatpickr-calendar select.flatpickr-monthDropdown-months option {
    color: #393939 !important;
    background: #fff !important;
    font-style: normal !important;
  }

  .flatpickr-calendar input.cur-year,
  .flatpickr-calendar .numInputWrapper input {
    display: inline-block !important;
    background: #2b2b2b !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    width: 7ch !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 3px 22px 3px 8px !important;
    font-size: inherit !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-shadow: none !important;
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
  }

  .flatpickr-calendar input.cur-year:focus,
  .flatpickr-calendar .numInputWrapper input:focus {
    background: #1a1a1a !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .flatpickr-calendar .numInputWrapper {
    display: inline-block !important;
    position: relative !important;
    width: auto !important;
    max-width: none !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
  }

  /* puščice za letnico – vedno vidne, večje, bela barva */
  .flatpickr-calendar .numInputWrapper span {
    opacity: 1 !important;
    width: 18px !important;
    border: none !important;
    background: transparent !important;
  }

  .flatpickr-calendar .numInputWrapper span:hover {
    background: rgba(255, 255, 255, 0.15) !important;
  }

  .flatpickr-calendar .numInputWrapper span.arrowUp::after,
  .flatpickr-calendar .numInputWrapper span.arrowDown::after {
    left: 50% !important;
    margin-left: -5px !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
  }

  .flatpickr-calendar .numInputWrapper span.arrowUp::after {
    border-bottom: 6px solid #ffffff !important;
    border-top: none !important;
  }

  .flatpickr-calendar .numInputWrapper span.arrowDown::after {
    border-top: 6px solid #ffffff !important;
    border-bottom: none !important;
  }

  input[type="date"]:invalid,
  select:invalid {
    color: #888888 !important;
    font-size: 14px;
    font-style: italic;
  }

  select option {
    color: #fff;
    background: #000000;
    font-size: 14px;
    font-style: normal;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
    cursor: pointer;
  }

  #datum_rojstva,
  #datum_praznovanja {
    padding-right: 44px;
    background-image: url("/wp-content/uploads/2026/07/calendar-1.png");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
    cursor: pointer;
  }

  input::placeholder,
  select::placeholder,
  textarea::placeholder {
    color: #888;
    font-size: 14px;
    font-style: italic;
    opacity: 1;
  }

  input::-webkit-input-placeholder,
  textarea::-webkit-input-placeholder {
    color: #888;
    font-size: 14px;
    font-style: italic;
    opacity: 1;
  }

  input::-moz-placeholder,
  textarea::-moz-placeholder {
    color: #888;
    font-size: 14px;
    font-style: italic;
    opacity: 1;
  }

  input:-ms-input-placeholder,
  textarea:-ms-input-placeholder {
    color: #888;
    font-size: 14px;
    font-style: italic;
    opacity: 1;
  }

  /* Submit Button */
  #prijavaForm button[type="submit"] {
    display: block;
    margin: 28px auto 0;
    background-color: transparent;
    color: #fff;
    padding: 12px 36px;
    border: 1px solid #fff;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;

    &:hover {
      border-color: #ffdd00;
      background: #ffdd00;
      color: #000;
    }
  }

  /* Custom Select */
  .custom-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #000000;
    color: #ffffff;
    padding: 12px 48px 12px 20px;
    border-radius: 0;
    border: 1px solid #3a3a3a;
    width: 100%;
    max-width: calc(100% - 28px);
    font-size: 14px;
    background-image: url("/wp-content/uploads/2026/07/Arrow.jpg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px 20px;
    cursor: pointer;

    &:focus {
      background-color: #000000;
      color: #ffffff;
      border-color: #00bff2;
      outline: none;
    }
  }

  /* Custom Number Input */
  .custom-number-input {
    display: flex;
    align-items: center;
    background-color: #000000;
    border: 1px solid #3a3a3a;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    max-width: calc(100% - 28px);
    box-sizing: border-box;

    input[type="number"] {
      background-color: transparent;
      border: none;
      color: #ffffff;
      text-align: center;
      flex: 1;
      font-size: 14px;
      padding: 10px;
      max-width: none;
      appearance: none;
      -moz-appearance: textfield;

      &:focus {
        background-color: #000000 !important;
        color: #ffffff !important;
        outline: none;
      }
    }

    button {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      min-height: 44px;
      padding: 8px;
      background-color: transparent !important;
      border: none;
      cursor: pointer;

      img {
        width: 20px;
        height: 20px;
        object-fit: contain;
        pointer-events: none;
        transition: transform 0.2s ease;
      }

      &:hover img {
        transform: scale(1.08);
      }
    }
  }

  /* Responsive */
  @media (max-width: 768px) {
    form .section {
      flex-direction: column;
    }

    .form-grid {
      grid-template-columns: 1fr;
    }

    form label.filled::after {
      right: -4px !important;
    }

    input[type="text"],
    input[type="date"],
    input[type="email"],
    input[type="tel"],
    .custom-number-input input[type="number"],
    select,
    .custom-select-wrapper select,
    .custom-number-input {
      max-width: calc(100% - 24px);
    }
  }

  @media (max-width: 549px) {
    .align-items .elementor-image-box-wrapper {
      display: flex;
      align-items: center;
    }

    .form-section {
      padding: 22px 18px 24px;
    }
  }
}

.food-summary {
  background: transparent;
  font-size: 13px;
  color: #ccc;
  border: 0px;
  padding: 0px 15px;
  margin-top: 15px;
}

.food-summary .fs-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.food-summary .fs-subtle {
  color: #666;
  font-size: 13px;
}

.food-summary ul {
  margin: 6px 0 0 18px;
  padding: 0;
}

.food-summary li {
  margin: 2px 0;
}

.linked a.paket-btn {
  background: #fedc00;
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

.linked a.paket-btn:hover {
  border-color: #000 !important;
}

select.jet-select__control.depth-1 {
  padding-right: 30px !important;
}

/* ========== SM FILTER – nov dizajn (LJ + MB) ========== */
.sm-filter,
.sm-filter .elementor-column,
.sm-filter .elementor-widget-wrap,
.sm-filter .elementor-element,
.sm-filter .jet-select__control,
.sm-filter .apply-filters__button {
  border-radius: 0 !important;
}

.sm-filter .elementor-container {
  align-items: stretch;
}

/* Levi stolpec – cyan/modra (brez Elementor rumenega/rumeno-zlatega gradienta) */
.sm-filter > .elementor-container > .elementor-column:first-child,
.sm-filter > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap,
.sm-filter > .elementor-container > .elementor-column:first-child > .elementor-element-populated {
  background-color: #00adef !important;
  background-image: none !important;
  opacity: 1 !important;
}

.sm-filter > .elementor-container > .elementor-column:first-child > .elementor-element-populated {
  margin-left: 0 !important;
  margin-right: 0 !important;
  --e-column-margin-left: 0px !important;
  --e-column-margin-right: 0px !important;
}

/* Desni stolpec – bel, selecti + Išči */
.sm-filter > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap,
.sm-filter > .elementor-container > .elementor-column:last-child > .elementor-element-populated {
  background-color: #fff !important;
  margin: 0 !important;
  --e-column-margin-right: 0px !important;
  --e-column-margin-left: 0px !important;
  padding: 10px 16px 10px 20px !important;
}

.sm-filter .elementor-heading-title {
  color: #000 !important;
  margin: 0;
  line-height: 1.25;
}

.sm-filter > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 16px;
}

.sm-filter .elementor-widget-jet-smart-filters-select {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sm-filter .jet-filters-group,
.sm-filter .elementor-widget-jet-smart-filters-select .jet-filters-group,
.sm-filter .elementor-widget-jet-smart-filters-select .jet-filter .jet-filters-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.sm-filter .jet-select,
.sm-filter .jet-select[data-filter-id="62220"],
.sm-filter .jet-select[data-filter-id="62761"],
.sm-filter .jet-select[data-query-var="kategorije-rd-starost"],
.sm-filter .jet-select[data-query-var="kategorije-rd-starost-mb"],
.sm-filter .jet-select[data-query-var="kategorije-rd-atrakcije-mb"],
.sm-filter .jet-filters-group > .jet-select,
.sm-filter .elementor-widget-jet-smart-filters-select .jet-smart-filters-hierarchy.jet-filter .jet-select,
.sm-filter .elementor-widget-jet-smart-filters-select .jet-filter .jet-filters-group .jet-select {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.sm-filter .jet-select__control,
.sm-filter .elementor-widget-jet-smart-filters-select .jet-select__control {
  width: 100%;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  box-sizing: border-box !important;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  padding: 0 36px 0 14px !important;
  font-size: 14px !important;
  line-height: 48px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23000' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 7px;
  cursor: pointer;
}

.sm-filter .apply-filters__button,
.sm-filter .elementor-widget-jet-smart-filters-apply-button .apply-filters__button {
  background-color: #ffde17 !important;
  color: #000 !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 36px !important;
  margin: 0 !important;
  white-space: nowrap;
  cursor: pointer;
}

.sm-filter .elementor-widget-jet-smart-filters-apply-button,
.sm-filter .elementor-widget-jet-smart-filters-apply-button .elementor-widget-container,
.sm-filter .elementor-widget-jet-smart-filters-apply-button .apply-filters,
.sm-filter .elementor-widget-jet-smart-filters-apply-button .jet-smart-filters-apply-button {
  margin: 0 !important;
  padding: 0 !important;
}

.sm-filter .elementor-widget-jet-smart-filters-apply-button {
  flex: 0 0 auto;
  width: auto !important;
}

.sm-filter h2.elementor-heading-title.elementor-size-default {
  font-size: 17px !important;
  font-weight: 600 !important;
}

@media (max-width: 767px) {
  .sm-filter > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .sm-filter .elementor-widget-jet-smart-filters-select {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  .sm-filter .jet-filters-group,
  .sm-filter .elementor-widget-jet-smart-filters-select .jet-filters-group,
  .sm-filter .elementor-widget-jet-smart-filters-select .jet-filter .jet-filters-group {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .sm-filter .jet-select,
  .sm-filter .elementor-widget-jet-smart-filters-select .jet-smart-filters-hierarchy.jet-filter .jet-select,
  .sm-filter .elementor-widget-jet-smart-filters-select .jet-filter .jet-filters-group .jet-select,
  .sm-filter .apply-filters__button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .sm-filter .jet-select__control,
  .sm-filter .elementor-widget-jet-smart-filters-select .jet-select__control {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sm-filter .elementor-heading-title {
    font-size: 1rem;
    text-align: center;
  }
}
