:root {
  --color-primary: #1f2937;
  --color-secondary: #6b7280;

  --linear-bg: linear-gradient(180deg, #ffcb9c 0%, #d5b496 100%);
}

body {
  margin: 0;
}
h1 {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
}
h2 {
  font-weight: 500;
}
.alert.alert-error {
  text-align: center;
  font-size: 20px;
  margin-bottom: 40px;
}
.navigation-wrapper {
  width: 100%;
  background-color: #fff;
}
.container.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  width: 40px;
}

.container.content-container {
  padding-top: 40px;
  padding-bottom: 64px;
}
.container {
  padding: 0 5vw;
  margin: 0 auto;
  max-width: 1440px;
}

.primary-button {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  background-color: #d5b496;
  border: 1.5px solid #d5b496;
  border-radius: 7px;
  align-items: center;
  padding: 12px 40px;
  text-decoration: none;
  text-transform: none;
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
}

.primary-button:hover {
  color: #d5b496;
  background-color: transparent;
}

form {
  background-color: #fff;
  border-radius: 10px;
  max-width: 100%;
  margin-bottom: 0;
  padding: 24px 24px 20px 24px;
  box-shadow: 0 2px 20px #0000001f;
  margin: 0 auto;
}

form div {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 5px;
}

input,
select {
  color: #1e1e1e;
  background-color: #f9f9f9;
  border-radius: 5px;
  height: 36px;
  margin-bottom: 32px;
  padding-left: 20px;
  padding-right: 20px;
  transition: all 0.3s;
  border: 1px solid #ccc;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1.42857;
}
textarea {
  color: #1e1e1e;
  background-color: #f9f9f9;
  border-radius: 5px;
  min-height: 100px;
  margin-bottom: 32px;
  padding-left: 20px;
  padding-right: 20px;
  transition: all 0.3s;
  border: 1px solid #ccc;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1.42857;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("../img/arrow.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

input:focus-visible {
  border: 1px solid #000;
}
:focus-visible {
  outline: 1px solid transparent;
}
.radio-button {
  height: auto;
  margin-top: 0px;
}
input[type="radio"] {
  accent-color: #232323;
}

.sms-label {
  margin-left: 20px;
}

form .primary-button {
  margin-bottom: 32px;
  width: 100%;
  text-transform: none;
  height: 56px;
}
select {
  width: 100%;
  height: 50px;
}

.password-wrapper {
  text-align: center;
}
.password-wrapper a {
  color: #969696;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s;
  margin-bottom: 12px;
}

.link-sign {
  color: #d5b496;
  font-size: 18px;
  transition: all 0.3s;
  margin-bottom: 12px;
}
.align-center {
  text-align: center;
}
.text-wrapper {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 32px;
}
.text-wrapper p {
  margin: 0;
}
#id_password2_helptext {
  margin-bottom: 24px;
}

#calendar {
  margin: 24px auto 40px;
  width: 100% !important;
  touch-action: manipulation;
}
#calendar .fc-scroller {
  overflow-y: auto !important; /* Omogućava vertikalno skrolovanje */
  max-height: 600px; /* Postavlja maksimalnu visinu skrola */
}

.fc-timegrid-slot {
  display: flex;
  flex-direction: column-reverse;
  flex-grow: 1; /* Fleksibilna visina */
  align-items: stretch;
  text-align: left;
}

.fc-direction-ltr .fc-timegrid-slot-label-frame {
  text-align: left;
}

.fc .fc-button-primary {
  transition: all 0.3s;
}
.fc-v-event {
  background-color: #d3d3d3 !important;
  border-color: #d3d3d3 !important;
}
.fc-daygrid-event-dot {
  border-color: #8fbf7a !important;
}
.wrapper-pass {
  min-height: 100vh;
  background-image: linear-gradient(to bottom, #f9f8f6, #f2ede3);
  padding-top: 64px;
}

.padding-top {
  padding-top: 0px;
}

.wrapper-pass input {
  height: 36px;
}
.wrapper-pass input[type="radio"] {
  height: auto;
}
.p-label {
  margin-bottom: 32px;
  display: block;
}
.wrapper-pass-content {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.alert.alert-info {
  text-align: center;
  margin-bottom: 40px;
}

footer {
  background-color: #23201d;
}
.container.footer-container {
  color: #ffffff;
  text-align: center;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.container.footer-container p {
  margin: 0px;
  order: 2;
}
.container.container.footer-container a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
}
.container.container.footer-container a span {
  opacity: 0.65;
}
.container.container.footer-container a i {
  opacity: 0.8;
  text-decoration: underline;
  transition: all 0.3s;
}

.container.container.footer-container a i:hover {
  opacity: 1;
}

.social-icons-wrapper {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  order: 1;
}

.fc .fc-timegrid-slot {
  border-color: #080101;
  border-width: 2px;
}

.fc .fc-timegrid-slot-lane {
  border-top-color: #040e04;
  border-top-width: 2px;
}

.fc .fc-timegrid-slot-minor {
  border-color: #02020a;
  border-width: 1px;
}

/* Kontejner koji sadrži logo, dropdown i dugme za prijavu */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Poravnava logo levo, jezički deo i dugme login desno */
  padding: 16px 20px; /* Ostavlja prostor sa leve i desne strane */
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.language-switcher {
  display: none;
  align-items: center;
  justify-content: flex-end;
  margin-right: 5px;
}

.language-select {
  height: 9px;
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 8px;
  width: auto;
  margin-right: 5px;
}

.btn-language {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 1px 4px;
  font-size: 5px;
  color: #333;
  border-radius: 2px;
  cursor: pointer;
}

.btn-language:hover {
  background-color: #ddd;
}

/* Stilizacija dugmeta za login */
.login-button {
  background-color: #d5a57d;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
}

.button-container,
.button-container-skin-pan {
  margin-top: 58px;
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-bottom: 58px;
  flex-direction: column;
  align-items: center;
}

.status-container {
  flex-direction: column;
  display: flex;
  justify-content: space-between;
  gap: 10px; /* Razmak između blokova */
  margin-bottom: 20px; /* Razmak između kalendara i ovog dela */
}

.status-box {
  flex: 1; /* Svaki blok zauzima jednaku širinu */
  padding: 15px;
  text-align: center;
  border-radius: 5px;
  font-weight: bold;
  color: #333;
}

.unavailable {
  background-color: #d3d3d3;
}

.available {
  background-color: #d1e8c2;
}

.reserved {
  background-color: #d1e8c2;
}

.fc .fc-toolbar {
  row-gap: 16px;
  flex-wrap: wrap;
}

.button-wrap {
  text-align: center;
}

.input-width {
  width: 91%;
}

.fc .fc-timegrid-slot {
  border-top: 2px solid black; /* Podebljava gornju liniju */
}
.fc .fc-timegrid-slot-lane {
  font-variant: JIS83;
  border-top-color: #130303;
  border-top-width: 0;
}

html {
  scroll-behavior: smooth;
}
.container.content-container.mobile-container {
  padding-top: 40px;
}

.content-wrapper.mobile-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#locations {
  margin-bottom: 16px;
}

#procedures {
  margin-bottom: 16px;
}

.select2-container--default .select2-selection--multiple {
  /* height: 50px; */
  border: 1px solid #ccc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.select2-container--default.select2-container--disabled
  .select2-selection--multiple {
  background-color: white !important;
  text-align: center;
  padding: 8px 12px;
  margin-bottom: 16px;
  border-color: #ccc;
}

.select2-container .select2-search--inline .select2-search__field {
  margin-left: 0 !important;
}

/* .select2.select2-container.select2-container--default
  .select2-search.select2-search--inline {
  padding-left: 12px;
  padding-top: 4px;
} */

.select2-container--default .select2-selection--multiple {
  padding-top: 8px !important;
  padding-left: 12px !important;
  margin-bottom: 16px;
}
.select2-selection__clear {
  display: none;
}

.select2-container--open:has(.select2-results) {
  transform: translateY(-16px);
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: #e4e4e4;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: default;
  float: left;
  margin-right: 5px;
  margin-top: 5px;
  padding: 0 5px;
}

.select2-container--default .selection::after {
  content: "";
  background-image: url("../img/arrow.svg");
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.select2-container--default .select2-selection--multiple {
  position: relative;
  padding: 0;
}

.select2-container--default textarea {
  transition: none;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  margin: 0;
}

#procedure-select-wrapper > span > span.selection > span {
  display: flex;
  flex-wrap: wrap;
}

.select2-search textarea {
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  min-height: 32.4px !important;
  line-height: 32.4px;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  margin: 0 !important;
  margin-right: 8px !important;
}

.select2-search textarea::placeholder {
  line-height: 32.4px;
  color: #1e1e1e;
}

.select2-selection__rendered {
  display: flex !important;
  flex-wrap: wrap;
  row-gap: 8px;
}

.select2-container--default .select2-results__option {
  background-color: white;
  color: black;
}

.select2-container--default .select2-selection--multiple:focus,
.select2-container--default
  .select2-selection--multiple:not(.select2-selection--disabled) {
  cursor: pointer;
  padding-bottom: 8px !important;
}

#procedure-select-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  align-items: start;
}

.reservation-confirme {
  opacity: 0.3;
  pointer-events: none;
}

.select2-selection__choice {
  max-width: 250px !important;
}

.reservation-confirme.reservation-confirme--active {
  opacity: 1;
  pointer-events: all;
}

.reservation-confirme:focus {
  background-color: #b08f7a;
  box-shadow: 0 0 10px #99694b;
}

.button-container .primary-button {
  max-width: 321px;
  background-color: #f9f9f9;
  color: #000;
  border: 1px solid #ccc;
  padding: 17px 40px;
  border-radius: 5px;
  height: 54px;
  padding: 0;
  display: flex;
  justify-content: center;
  padding: 0;
  width: 100%;
}

.button-container-skin-pan.button-container .primary-button {
  max-width: 321px;
  background-color: #d5b496;
  color: #fff;
  border: 1px solid #d5b496;
  padding: 17px 40px;
  border-radius: 5px;
  height: 54px;
  padding: 0;
  display: flex;
  justify-content: center;
  padding: 0;
  width: 100%;
}

.arrow {
  position: absolute;
  top: auto;
  right: 0px;
  margin-right: -16px;
}

.step.active {
  display: flex;
  flex-direction: column;
}

.options-button-wrapper {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.step-relative {
  padding-bottom: 56px;
}

.available-date-div {
  font-size: 4vw;
  background-color: #918888;
  color: #fff;
  border: 1px solid #918888;
  border-radius: 5px;
  padding: 8px 0px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.3s;
}

.available-date-div-time {
  font-size: 4vw;
  background-color: #e8e8e8;
  color: #000;
  border: 1px solid #918888;
  border-radius: 5px;
  padding: 5px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-align: center;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.selected-date-card {
  background-color: rgba(255, 188, 188, 0.764);
}

.times-item {
  border: 1px solid #bfdead;
  padding: 5px;
  margin: 5px;
  cursor: pointer;
  background-color: #dee8d8;
  font-size: 16px;
}

.arrow.arrow-time {
  top: auto;
  bottom: 96px;
  right: -16px;
}

.skin-pan-date-wrapper {
  width: 100%;
  position: relative;
}

.skin-pan-date-wrapper .options-button-wrapper {
  width: 100%;
}

.skin-pan-date-wrapper .options-button-wrapper .option {
  width: 50%;
}

.skin-pan-date-wrapper #dates-container {
  gap: 8px;
}
.arrow.arrow-time-skin {
  height: 203px;
  bottom: 0;
  top: auto;
  right: -12px;
}
.arrow.arrow-time-skin.location-arrow {
  bottom: 55px;
}

#times-container-wrapper.times-skin-pan #times-container {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
}

.skin-pan-date-wrapper .options-button-wrapper .option {
  width: 100%;
}

@media (min-width: 480px) {
  .available-date-div {
    font-size: 16px;
    padding: 8px 11px;
  }

  .available-date-div-time {
    font-size: 14px;
    padding: 8px 11px;
    height: auto;
  }
}
@media (min-width: 768px) {
  #times-container-wrapper.times-skin-pan #times-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .arrow.arrow-time-skin {
    right: -41px;
  }
  .skin-pan-date-wrapper {
    width: 420px;
  }

  .arrow.arrow-time {
    top: 308px;
    right: -44px;
    bottom: auto;
  }

  .options-button-wrapper {
    flex-direction: row;
  }

  .arrow {
    position: absolute;
    top: auto;
    right: -44px;
  }

  #calendar {
    width: 600px !important;
  }

  .button-container,
  .button-container-skin-pan {
    gap: 16px;
  }

  .button-container .primary-button {
    width: 100%;
  }

  .button-container .primary-button:hover {
    background-color: #d5b496;
    color: #fff;
  }

  .mobile-wrapper {
    min-height: auto;
  }
  .button-container,
  .button-container-skin-pan {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    width: fit-content;
    margin-inline: auto;
    width: 503px;
  }

  .select2-selection__choice {
    max-width: 350px !important;
  }

  .status-container {
    flex-direction: row;
  }
  #locations {
    margin-bottom: 32px;
  }

  #procedures {
    margin-bottom: 32px;
  }

  .reservation-confirme:focus {
    transform: scale(1.1);
  }
}
@media (min-width: 992px) {
  .button-container-skin-pan.button-container .primary-button:hover {
    color: #d5b496;
    background-color: #fff;
  }

  .available-date-div-time:hover {
    background-color: #cfcccc;
  }

  .available-date-div:hover {
    background-color: #666262;
  }

  #times-container-wrapper.times-skin-pan #times-container {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }

  .logo {
    width: 80px;
  }
  form {
    max-width: 400px;
    padding: 52px 52px 20px 52px;
  }
  .container.content-container {
    padding-top: 64px;
    padding-bottom: 80px;
  }
  .container {
    padding: 0 3em;
  }

  .wrapper-pass {
    padding-top: 80px;
  }

  .container.footer-container {
    flex-direction: row;
    row-gap: 0px;
    align-items: center;
  }
  .password-wrapper a:hover,
  .link-sign:hover {
    color: #5c5b5b;
  }
  .social-icons-wrapper {
    margin-bottom: 0px;
    margin-left: 30px;
    transition: all 0.3s;
    order: 2;
  }
  .social-link:hover {
    transform: scale(1.1);
  }

  .input-width {
    width: 96%;
  }
}
@media (min-width: 1280px) {
  #calendar {
    width: 1000px !important;
  }
  .status-container {
    margin: 0 auto;
    max-width: 1000px;
  }
}

/*multistp form*/

.step-relative {
  position: relative;
}

#times-container-wrapper {
  height: 323px;
  overflow: hidden;
}

#times-container-wrapper.times-skin-pan {
  height: 203px;
  overflow: hidden;
}
#times-container {
  height: 100%;
  overflow-y: scroll;
  position: relative;
}

/* ============================================
   PROCEDURE TABS
   ============================================ */
#procedure-types-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  flex-wrap: wrap;
}

.procedure-tab {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: "Plus Jakarta Sans", sans-serif;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.procedure-tab.active {
  color: #d5b496;
  border-bottom-color: #d5b496;
}
/* ============================================
   PROCEDURE CARDS GRID
   ============================================ */
#procedure-checkbox-wrapper {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 34.5px;
  row-gap: 22.5px;
}

.procedure-card {
  background-color: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 14px;
  padding: 14.5px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0px 8.17px 24.52px 0px #1e1e1e4d;
}

.procedure-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.procedure-card.selected {
  background: linear-gradient(
    180deg,
    rgba(213, 180, 150, 0.6) 0%,
    rgba(255, 203, 156, 0.6) 100%
  );
  box-shadow: 0px 10px 30px 0px #d5b496;
}

.procedure-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.procedure-card.selected .procedure-card-icon {
  background-color: #ffffff;
}

.procedure-card.selected .procedure-card-arrow {
  filter: brightness(0) invert(1);
}

.procedure-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.procedure-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: "Manrope", sans-serif;
  margin-bottom: 4px;
}

.procedure-card-duration {
  font-size: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--color-secondary);
  font-weight: 500;
}

.procedure-card-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ============================================
   SELECTED CHIPS
   ============================================ */
#selected-procedures-wrapper-step3 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 35px;
  border-radius: 50px;
  box-shadow: 0px 10px 30px 0px #1e1e1e4d;
  border: 2px solid #ffffff;
  background-color: #ffffff80;
}

.chip span {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.selected-chip {
  background: linear-gradient(180deg, #d5b496 0%, #ffcb9c 100%);
  box-shadow: 0px 10px 30px 0px #d5b496;
  border: 2px solid #ffffff80;
}

.selected-chip span {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.chip-remove {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  filter: brightness(0) invert(1);
  color: #5a4635;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s;
  margin: 0;
  background: none;
  padding: 6px;
  position: relative;
  top: 1px;
}

.chip-remove svg {
  height: 13px;
  width: 13px;
}

.chip-remove:hover {
  background-color: rgba(0, 0, 0, 0.25);
}

/* ============================================
   SELECTED PROCEDURE CARD (Step 4)
   ============================================ */
.selected-procedure-card {
  display: inline-block;
  background-color: #f0dcc8;
  border: 1px solid #d5b496;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: #5a4635;
  margin-right: 6px;
  margin-bottom: 6px;
}

.step {
  display: none;
}

.error-list {
  list-style-type: disc; /* Obeleži greške kao listu */
  margin: 10px 0;
  padding: 0;
}

.error {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  transition: opacity 2s ease-out; /* Tranzicija za izbleđivanje */
}

.article-input.select2 {
  width: 50%;
  max-width: 300px; /* Prilagodite širinu ovde */
}

#times-container-wrapper.times-skin-pan,
.arrow.arrow-time-skin {
  display: none;
}

#times-container-wrapper.times-location,
.arrow.arrow-time {
  display: none;
}
/* ============================================
   LOCATION CARDS
   ============================================ */
#location-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.location-card {
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.location-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.location-card-image {
  width: 100%;
  height: 166px;
  overflow: hidden;
  background-color: #faf5f0;
  border-radius: 14px;
}

.location-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-card-image.location-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-card-body {
  padding: 20px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  flex: 1;
}

.location-card-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary);
  font-family: "Manrope", sans-serif;
  margin: 0 0 5px 0;
}

.location-card-address {
  font-size: 12px;
  font-weight: bold;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--color-secondary);
  margin: 0;
}

.location-card-btn {
  border: 2px solid var(--accent-orange, #d5b496);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #000;
  margin: 0 auto;
  width: 100%;
  padding: 11.5px 30px;
  border-radius: 50px;
  cursor: pointer;
  background: none;
  transition: 0.3s;
  box-shadow: 0px 5px 10px 0px #1e1e1e1a;
  text-transform: uppercase;
  text-decoration: none;
}

.location-card-btn-spacing {
  margin-top: 12px;
  display: inline-block;
  width: fit-content;
}

.location-card-btn:hover {
  border: 2.13px solid var(--accent-orange, #d5b496);
  background: linear-gradient(180deg, #d5b496 0%, #ffcb9c 100%);
  box-shadow: 0px 5.32px 10.64px 0px #1e1e1e1a;
  color: #fff;
}

/* Step 2 - selected procedures wrapper */
#selected-procedures-wrapper-step2 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 0;
}

.step2-title {
  text-align: center;
  margin-bottom: 20px;
}

/* ============================================
   STEP 4 - INFO CARD (procedura + lokacija)
   ============================================ */
.selected-card-details {
  background: #fff;
  border-radius: 24px;
  padding: 16px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 10px 20px 0px #1e1e1e26;
  gap: 20px;
}

.info-card-step4 {
  display: flex;
  gap: 20px;
}

.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card-proc {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: "Manrope", sans-serif;
  margin-bottom: 0;
}

.info-card-loc {
  font-size: 13px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--color-secondary);
  font-weight: 500;
}

.info-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================
   STEP 4 - DATE HEADING
   ============================================ */
.date-heading-step4 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin: 30px 0 8px;
  padding-left: 60px;
}

/* ============================================
   STEP 4 - DATE CAROUSEL
   ============================================ */
.date-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0 12px;
}

.date-arrow {
  box-shadow: 0px 4px 20px 0px #00000040;
  height: 27px;
  width: 27px;
  min-width: 27px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.date-arrow svg {
  min-width: 15px;
  min-height: 15px;
}

.date-arrow:hover:not(:disabled) {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.date-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.date-carousel-items,
#dates-container.date-carousel-items {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  height: 120px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
  /* Right padding so the last item peeks half-visible */
  padding-right: 48px;
}
.date-carousel-items::-webkit-scrollbar {
  display: none;                  /* Chrome/Safari */
}

.date-item {
  width: 86px;
  min-width: 86px;
  flex-shrink: 0;
  box-shadow: 0px 3px 7px 0px #1e1e1e4d;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.date-item-day {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-secondary);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.date-item-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: "Manrope", sans-serif;
  line-height: 85%;
  letter-spacing: -0.5px;
}

.date-item.active {
  border: 2px solid #ffffff;
  background: linear-gradient(180deg, #d5b496 0%, #ffcb9c 100%);
  transform: scale(1.15);
  z-index: 1;
}

.date-item.active .date-item-num,
.date-item.active .date-item-day {
  color: #fff;
}

/* ============================================
   STEP 4 - TIME HEADING & GRID
   ============================================ */
.time-heading-step4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
  font-family: "Manrope", sans-serif;
}

.time-grid-step4,
#times-container.time-grid-step4 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  height: auto;
  overflow-y: visible;
  position: static;
  justify-content: center;
}

.time-slot {
  border-radius: 50px;
  border: 2px solid #fff;
  padding: 7px 14px;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff80;
}

.time-slot:hover {
  background: linear-gradient(180deg, #d5b496 0%, #ffcb9c 100%);
  color: #fff;
}

.time-slot.active {
  background: linear-gradient(180deg, #d5b496 0%, #ffcb9c 100%);
  color: #fff;
}

.no-dates-msg {
  text-align: center;
  color: #888;
  padding: 20px 0;
}

.time-selection {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   STEP 5 - PRIJAVA / REGISTRACIJA
   ============================================ */
.step5-toggle-wrapper {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
  display: flex;
  background: #fff;
  border-radius: 50px;
  padding: 7px;
}

.step5-toggle-btn {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #000000;
  background: none;
  border: 0;
  flex: 1;
  border-radius: 50px;
  cursor: pointer;
  min-height: 40px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.step5-toggle-btn.active {
  background: linear-gradient(180deg, #d5b496 0%, #ffcb9c 100%);
  font-weight: 700;
  color: #fff;
}

.step5-tab-content {
  display: none;
}

.step5-tab-content.active {
  display: block;
}

.step5-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.step5-field {
  display: flex;
  flex-direction: column;
}

.step-5-wrapper {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.step5-tab-content {
  background: #fff;
  padding: 26px;
  border-radius: 24px;
  box-shadow: 0px 10px 30px 0px #1e1e1e4d;
}

.step5-field label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 12px;
  vertical-align: middle;
  color: #6b7280;
  padding-left: 24px;
  border-radius: 78px;
}

.step5-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
}

.step5-message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.step5-message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ============================================
   COMPLETE PROFILE / VERIFY PROFILE PAGE
   ============================================ */
.complete-profile-wrapper {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 0 40px;
  text-align: center;
}

.complete-profile-icon {
  margin-bottom: 12px;
}

.complete-profile-wrapper .text-title {
  margin-bottom: 6px;
}

.complete-profile-subtitle {
  margin-bottom: 28px !important;
}

.complete-profile-form {
  background: #fff;
  padding: 28px 26px;
  border-radius: 24px;
  box-shadow: 0px 10px 30px 0px #1e1e1e4d;
  text-align: left;
}

.complete-profile-form .step5-field {
  margin-bottom: 6px;
}

.cp-input {
  border-radius: 78px;
  border: 2px solid #e5e7eb;
  background-color: #f9fafb;
  padding: 14px 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  color: #1f2937;
  transition: border-color 0.3s;
}

textarea.cp-input {
  border-radius: 16px;
  min-height: 80px;
  resize: vertical;
}

.cp-input:focus {
  border-color: #d5b496;
  outline: 2px solid #7dd6ff;
}

.cp-input::placeholder {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #9ca3af;
}

.cp-input:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
}

.complete-profile-form .step5-submit-btn {
  margin-top: 16px;
  width: 100%;
}

.complete-profile-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 20px 0 16px;
}

.complete-profile-section-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.complete-profile-messages {
  margin-bottom: 16px;
}

/* ============================================
   RESERVATION PENDING PAGE
   ============================================ */
.pending-icon {
  margin-bottom: 8px;
}

.pending-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0 0 12px;
}

.pending-message {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 24px;
}

.pending-details {
  background-color: #faf5f0;
  border: 1px solid #e8ddd4;
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.pending-details p {
  margin: 6px 0;
  font-size: 14px;
  color: #444;
}

.pending-details strong {
  color: #2c2c2c;
}

/* ============================================
   NEW RESERVATION
   ============================================ */

.header-container {
  padding: 25px 0 22px 0;
  background: #f3f4f6;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.header-container .logo {
  height: 82px;
  width: fit-content;
}

.container.content-container {
  background-color: #f3f4f6;
  padding-top: 0;
  max-width: 100%;
}

.font-primary {
  font-family: "Manrope", sans-serif;
}
.font-secondary {
  font-family: "Plus Jakarta Sans", sans-serif;
}

#progress-bar {
  --step-width: clamp(120px, 35vw, 237.5px);
  --overlap: calc(var(--step-width) * 0.58);

  position: relative;
  width: calc(var(--step-width) + 3 * (var(--step-width) - var(--overlap)));
  max-width: 100%;
  height: 59px;
  margin: 0 auto 21px;
}

/* Step */
.progress-step {
  position: absolute;
  top: 0;
  width: var(--step-width);
  height: 100%;
  border-radius: 60px;
  border: 10px solid #fff;
  box-sizing: border-box;
  background-color: #e0e0e0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Positioning */
.progress-step:nth-child(1) {
  left: 0;
  z-index: 4;
}
.progress-step:nth-child(2) {
  left: calc(var(--step-width) - var(--overlap));
  z-index: 3;
}
.progress-step:nth-child(3) {
  left: calc(2 * (var(--step-width) - var(--overlap)));
  z-index: 2;
}
.progress-step:nth-child(4) {
  left: calc(3 * (var(--step-width) - var(--overlap)));
  z-index: 1;
}

.progress-step:not(:first-child) svg {
  margin-left: calc(var(--overlap) - 14px);
}

.progress-step.completed {
  background-color: #9ddbb2;
}
.progress-step.active {
  background-color: #d5b496;
}

.text-title {
  font-family: "Manrope", sans-serif;
  font-weight: bold;
  font-size: 26px;
  margin: 0 0 5px;
  color: var(--color-primary);
}

.step1-subtitle {
  font-weight: 500;
  font-size: 15px;
  margin: 0;
  color: var(--color-secondary);
}

#reservation-steps {
  max-width: 850px;
  border: 2px solid #ffffff;
  box-shadow: 0px 10px 30px 0px #1e1e1e4d;
  border-radius: 24px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #f3f4f6;
}

.step-spacing {
  padding: 20px;
}

.options-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  flex-direction: column;
}

.option {
  position: relative;
  box-shadow: 0px 10px 30px 0px #1e1e1e4d;
  border-radius: 24px;
  background: #ffffff;
  padding: 44px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  text-align: center;
  flex: 1;
  border: 2px solid #fff;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Gradient layer */
.option::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--linear-bg);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* Content iznad gradienta */
.option > * {
  position: relative;
  z-index: 1;
}

/* Hover / active */
.option:hover::before,
.option.active::before {
  opacity: 1;
}

.option:hover,
.option.active {
  cursor: pointer;
}

.flow-card-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  margin: 0 0 12px 0;
  color: var(--color-primary);
}

.flow-card-desc {
  font-weight: 500;
  font-size: 12px;
  margin: 0;
  color: var(--color-secondary);
}

.flow-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f3f4f6;
  margin: 0 auto;
}

.option.active .flow-card-desc,
.option.active .flow-card-title,
.option:hover .flow-card-title,
.option:hover .flow-card-desc {
  color: #fff;
}

.option.active .flow-card-icon,
.option:hover .flow-card-icon {
  background: none;
  filter: brightness(0) invert(1);
}

.option.active,
.option:hover {
  background: var(--linear-bg);
  cursor: pointer;
}

.step-3 {
  gap: 25px;
}

.step3-title {
  text-align: center;
  margin-bottom: 0;
}

.button {
  border-radius: 50px;
  padding: 10.5px 30px;
  font-family: "Plus Jakarta Sans", sans-serif;
  border: 2px solid #fff;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  display: inline-block;
  color: #000;
  font-size: 13px;
  width: fit-content;
}

.button.next-btn {
  background-color: #6ccb8d;
  color: #fff;
}

.button.back-btn:hover {
  border: 2.13px solid var(--accent-orange, #d5b496);
  background: linear-gradient(180deg, #d5b496 0%, #ffcb9c 100%);
  box-shadow: 0px 5.32px 10.64px 0px #1e1e1e1a;
  color: #fff;
}

.button.next-btn:hover {
  border: 2.13px solid var(--accent-orange, #d5b496);
  background: linear-gradient(180deg, #d5b496 0%, #ffcb9c 100%);
  box-shadow: 0px 5.32px 10.64px 0px #1e1e1e1a;
  color: #fff;
}

#global-form-buttons {
  max-width: 850px;
  margin: 20px auto 0;
}

#global-form-buttons .form-buttons-wrapper {
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
}

#global-form-buttons .form-buttons-wrapper .next-btn {
  margin-left: auto;
}

.reservation-input {
  border: 2px solid var(--accent-orange, #d5b496);
  background: #d5b4961a;
  padding: 17px 26px;
  color: #6b7280;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  height: fit-content;
}

.input-icon {
  position: relative;
}

.input-icon svg {
  position: absolute;
  left: 24px;
  top: 16px;
  height: 20px;
  width: 20px;
}

input.reservation-input {
  border-radius: 78px;
  box-sizing: border-box;
  height: 50px;
  padding-left: 56px;
  width: 100%;
}

.reservation-input::placeholder {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #d5b496;
}

.reservation-input:focus::placeholder {
  color: #6b7280;
}

.reservation-input:focus,
.reservation-input:active {
  border: 2px solid #6b7280;
  outline: 2px solid #7dd6ff;
  color: #6b7280;
}

.input-icon:has(.reservation-input:focus) svg path,
.input-icon:has(.reservation-input:active) svg path {
  fill: #6b7280;
}

.reservation-steps-confirm {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  padding: 20px 0 50px;
}

.reservation-steps-confirm img {
  width: 360px;
  margin: 0 auto;
  max-width: 100%;
}

.reservation-email-summary {
  max-width: 430px;
  margin: 30px auto;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.reservation-steps-confirm a {
  margin: 0 auto;
  text-decoration: none;
}

.selected-card-details-time {
  display: flex;
  gap: 20px;
}

.selected-card-details-time img {
  height: 52px;
  width: auto;
}

.selected-card-details-time-value {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.selected-card-details-time-value .date-heading-step4 {
  padding-left: 0;
  margin: 0;
}

.selected-card-details-time {
  display: flex;
}

h4.date-heading-step4 {
  color: #6b7280;
  font-size: 13px;
}

.step5-body {
  padding: 45px;
}

.main-content {
  min-height: 100vh;
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
}

@media (min-width: 767px) {
  .chip-wrapper {
    margin-top: 40px;
  }

  #global-form-buttons .form-buttons-wrapper {
    padding: 0 100px;
  }
  .text-title {
    font-size: 40px;
  }

  .header-container {
    padding: 65px 0 52px 0;
  }

  .step-spacing {
    padding: 68px 90px;
  }

  .options-wrapper {
    padding: 0 18px;
    flex-direction: row;
    gap: 40px;
    margin-top: 30px;
  }

  #progress-bar {
    margin-bottom: 61px;
  }

  #procedure-checkbox-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  #procedure-types-wrapper {
    gap: 41px;
  }

  #location-cards-wrapper {
    gap: 60px;
    grid-template-columns: 1fr 1fr;
  }

  .time-selection {
    padding: 0;
  }

  .step-5-wrapper {
    width: 400px;
  }

  .time-slot {
    padding: 10px 17px;
  }
}

.btn-icon {
  display: none;
  align-items: center;
  justify-content: center;
}

@media(max-width: 767px) {
  .step5-body, .step5-tab-content {
    padding: 12px;
  }

  #reservation-steps #global-form-buttons {
    margin: 0;
    max-width: 100%; 
    position: sticky;
    padding: 4px 6px;
    bottom: 0;
  }

  #reservation-steps #global-form-buttons .form-buttons-wrapper {
    padding: 0;
  }

  .form-buttons-wrapper button {
    font-size: 13px;
    padding: 8px 11px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .step-spacing {
    padding: 12px;
  }

  .chip {
    padding: 7px 16px;
    gap: 3px;
  }

  .date-carousel {
    gap: 4px;
    padding: 0 4px;
  }

  .date-carousel-items,
  #dates-container.date-carousel-items {
    gap: 8px;
    padding-right: 36px;
  }

  .date-item {
    width: 70px;
    min-width: 70px;
  }

  .date-item-num {
    font-size: 22px;
  }

  .date-item-day {
    font-size: 10px;
  }

  .selected-card-details {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
