body.page-id-61891,
body.page-id-62935 {
  /* 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: 600;
    }

    /* Field layout */
    .section {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 30px;
    }

    label {
      flex: 1 1 250px;
      display: flex;
      flex-direction: column;
      font-size: 13px;
      color: #ccc;
      position: relative;
    }

    /* Inputs */
    input,
    select,
    textarea {
      background-color: #1e1e1e;
      color: #ffffff;
      padding: 10px;
      border-radius: 5px;
      transition: all 0.3s ease;
    }

    /* Filled state */
    label.filled {
      select,
      .custom-number-input {
        border: 2px solid #00bff2 !important;
      }

      input:not([type="number"]) {
        border: 2px solid #00bff2 !important;
      }

      &::after {
        content: '';
        position: absolute;
        top: 45px;
        right: 10px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background-image: url('/wp-content/uploads/2025/08/Check.png');
        background-size: contain;
        background-repeat: no-repeat;
        pointer-events: none;
      }
    }
  }

  .form-section {
    border: 2px solid #00bff2;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 6px;
    background-color: #0a0a0a;

    h2 {
      font-size: 20px;
      text-align: center;
      text-transform: none;
      color: #fff;
      font-weight: 600;
      margin-bottom: 20px;
      border: none;
      padding-bottom: 10px;
      width: 90%;
    }
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  input[type="text"],
  input[type="date"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select {
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #3b3b3b;
    padding: 10px;
    border-radius: 5px;
    width: 90%;
    transition: background-color 0.3s ease, color 0.3s ease;

    &:focus {
      background-color: #ffffff;
      color: #000000;
      border-color: #00bfff;
      outline: none;
    }
  }

  input[type="number"] {
    text-align: center;
    padding: 0 !important;

    &:focus {
      background-color: #1e1e1e !important;
      color: #fff !important;
    }
  }

  input[type="date"]:invalid,
  select:invalid {
    color: #888888 !important;
    font-style: italic;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
    cursor: pointer;
  }

  input::placeholder,
  select::placeholder,
  textarea::placeholder {
    font-style: italic;
  }

  /* Submit Button */
  #prijavaForm button[type="submit"] {
    display: block;
    margin: 20px auto 0 auto;
    background-color: #000;
    color: #fff;
    padding: 12px 28px;
    border: 2px solid #fff;
    border-radius: 50px;
    font-size: 15px;
    margin-top: 25px;
    cursor: pointer;
    transition: background-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: #1e1e1e;
    color: #ffffff;
    padding: 10px 40px 10px 15px;
    border-radius: 5px;
    border: 1px solid #3b3b3b;
    width: 90%;
    font-size: 14px;
    background-image: url("/wp-content/uploads/2025/08/Arrow.png");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px 18px;
    cursor: pointer;

    &:focus {
      background-color: #ffffff;
      color: #000000;
      border-color: #00bfff;
      outline: none;
    }
  }

  /* Custom Number Input */
  .custom-number-input {
    display: flex;
    align-items: center;
    background-color: #1e1e1e;
    border: 1px solid #3b3b3b;
    border-radius: 5px;
    overflow: hidden;
    width: 90%;

    input[type="number"] {
      background-color: transparent;
      border: none;
      color: #ffffff;
      text-align: center;
      flex: 1;
      font-size: 16px;
      padding: 10px;
      appearance: none;
      -moz-appearance: textfield;

      &:focus {
        background-color: #1e1e1e !important;
        color: #ffffff !important;
        outline: none;
      }
    }

    button {
      width: 50px;
      padding: 10px;
      background-color: #1e1e1e !important;

      img {
        width: 20px;
        height: 20px;
        object-fit: contain;
        pointer-events: none;
        transition: transform 0.2s ease;
      }

      &:hover img {
        transform: scale(1.1);
      }
    }
  }

  /* Responsive */
  @media (max-width: 768px) {
    form .section {
      flex-direction: column;
    }

    .form-grid {
      grid-template-columns: 1fr;
    }

    form label.filled::after {
      right: -5px !important;
    }
  }

  @media (max-width: 549px) {
    .align-items .elementor-image-box-wrapper {
      display: flex;
      align-items: center;
    }
  }
}

.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; 
}

div#form-error-below-submit {
    width: fit-content;
    margin-inline: auto;
    margin-top: 30px !important;
}