.bk-service-desk-form .field-wrapper {
    margin-top: 20px;
}

.bk-service-desk-form .field-wrapper.split-twice {
    display: flex;
    gap: 20px;
}

.bk-service-desk-form .error-required {
    color: var(--status-error) !important;
}

.bk-service-desk-form .error-required select {
    border: 1px solid var(--status-error) !important;
}

.bk-service-desk-form .field-wrapper .bk-field.error-required .bk-field-label-wrapper {
    color: var(--status-error) !important;
}

.bk-service-desk-form .field-wrapper .bk-field.error-required .bk-field-input-wrapper .bk-field-input {
    border: 1px solid var(--status-error) !important;
}

.bk-service-desk-form .field-wrapper.split-twice > * {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 0;
}

.bk-service-desk-form .field-wrapper .select-field {
  display: flex;
  flex-direction: column;
}

.bk-service-desk-form .field-wrapper label {
    font-family: Rotonda;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
}

.bk-service-desk-form .field-wrapper select {
    width: 100%;
    position: relative;
    margin-top: 8px;
    padding: 8px 16px;
    border: 1px solid var(--brown-brown700);
    border-radius: 12px;
    color: var(--brown-brown900);
    font-family: Rotonda;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    appearance: none;
    -webkit-appearance: none; /* For older Safari/Chrome versions */
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0wIDBIMTBMNSA2TDAgMFoiIGZpbGw9IiM1MDIzMTQiLz4KPC9zdmc+Cg==");
    background-repeat: no-repeat;
    background-position: right 19px center;
    background-size: 10px;
    cursor: pointer;
}

.bk-service-desk-form .field-wrapper .error-text {
    margin-top: 4px;
    color: var(--status-error, #FF3B30);
    font-family: Rotonda;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
}

.bk-service-desk-form-attachments {
    margin-top: 40px;
}

.bk-service-desk-form-attachments .bk-service-desk-form-attachments-title {
    color: var(--brown-brown900);
    font-family: Flame;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 133.333% */
}

.bk-service-desk-form-attachments .bk-service-desk-form-attachments-description {
    color: var(--brown-brown900);
    font-family: Rotonda;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
}

.bk-service-desk-form-attachments .bk-service-desk-form-attachments-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    width: 100%;
    height: 120px;
    border-radius: 12px;
    border: 1px dashed var(--brown-brown700);
    background: var(--brown-brown400);
    color: var(--brown-brown900);
    /* Header Five */
    font-family: Flame;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 128.571% */
}

.bk-service-desk-form-attachments .bk-service-desk-form-attachments-input {
    display: none;
}

.bk-service-desk-form-footer {
    margin-top: 48px;
}

.bk-service-desk-form-footer .bk-btns-group {
    justify-content: flex-end;
}

.bk-service-desk-form-footer .bk-btns-group .bk-btn {
    width: max-content;
    padding: 14px 24px;
}

.bk-service-desk-form #workplace-id-field:not(.login, .restaurant-number) {
  display: none;
}
.bk-service-desk-form #workplace-id-field:not(.login) .login-field {
  display: none;
}
.bk-service-desk-form #workplace-id-field:not(.restaurant-number) .restaurant-number-field {
  display: none;
}

#upload-selected-files-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: row;
}
#upload-selected-files-list .selected-file {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 40px;
  border-radius: 12px;
  background: var(--white, #FFF);
  padding-left: 16px;
  padding-right: 10px;
  min-width: 0;
}
#upload-selected-files-list .selected-file .selected-file-name {
  font-family: Rotonda;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  overflow: hidden;
  color: var(--brown-brown900, #502314);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 1 100%;
}
#upload-selected-files-list .selected-file .selected-file-icon {
  cursor: pointer;
  color: var(--brown-brown900, #502314);
  width: 20px;
  height: 20px;
}

#service-desk-form-result-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
}
#service-desk-form-result-modal .result-modal-backdrop {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown-brown400, #F5EBDC);
}
#service-desk-form-result-modal .result-modal-backdrop .result-modal-container {
  max-width: 480px;
  width: 100%;
  background: var(--brown-brown300, #FCF6EC);
  border-radius: 32px;
  overflow: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
}
#service-desk-form-result-modal .result-modal-backdrop .result-modal-container .result-modal-image {
  padding: 64px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  box-sizing: content-box;
  width: 100%;
}
#service-desk-form-result-modal .result-modal-backdrop .result-modal-container .result-modal-image > img {
  height: 80px;
  width: 80px
}
#service-desk-form-result-modal .result-modal-backdrop .result-modal-container .result-modal-image .result-modal-spinner {
  margin: 8px;
  width: 64px;
  height: 64px;
  border: 4px solid var(--additional-1, #F58538);
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: rotation 1s linear infinite;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#service-desk-form-result-modal .result-modal-backdrop .result-modal-container .result-modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#service-desk-form-result-modal .result-modal-backdrop .result-modal-container .result-modal-content .result-modal-content-title {
  font-family: Flame;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  color: var(--brown-brown900, #502314);
  text-align: center;
}
#service-desk-form-result-modal .result-modal-backdrop .result-modal-container .result-modal-content .result-modal-content-description {
  font-family: Rotonda;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  color: var(--brown-brown900, #502314);
  text-align: center;
}
#service-desk-form-result-modal .result-modal-backdrop .result-modal-container .result-modal-actions-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  min-height: 48px;
}
#service-desk-form-result-modal:not(.modal-shown) {
  display: none;
}

@media (width <= 545px) {
  .bk-service-desk-form .field-wrapper.split-twice {
    flex-direction: column;
  }

  #upload-selected-files-list {
    grid-template-columns: 1fr;
  }

  #service-desk-form-result-modal .result-modal-backdrop .result-modal-container {
    border-radius: 0;
    height: 100%;
    padding: 24px 16px;
  }

  #service-desk-form-result-modal .result-modal-backdrop .result-modal-container .result-modal-image {
    flex: 0 1 100%;
  }

  #service-desk-form-result-modal .result-modal-backdrop .result-modal-container .result-modal-actions-container {
    flex: 0 1 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }
}