@font-face {
  font-family: "Muli-Bold";
  src: url("../fonts/din/DIN2014-Bold.ttf");
}

@font-face {
  font-family: "Poppins-Regular";
  src: url("../fonts/din/DIN2014-Regular.ttf");
}

@font-face {
  font-family: "Poppins-SemiBold";
  src: url("../fonts/din/DIN2014-DemiBold.ttf");
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  width: 100vw;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Poppins-Regular";
  font-size: 15px;
  color: #003387;
  margin: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  display: initial;
  /*min-width: fit-content;*/
}

:root {
  --dimar-blue: #0b347f;
  --dimar-blue-dark: #08235f;
  --dimar-blue-strong: #053387;
  --dimar-orange: #f05a1a;
  --dimar-orange-dark: #d8480c;
  --dimar-orange-soft: #fff0e8;
  --dimar-gov-blue: #3366cc;
}

:focus {
  outline: none;
}

textarea {
  resize: none;
}

input,
textarea,
select,
button {
  font-family: "Poppins-Regular";
  font-size: 15px;
  color: #fff;
}

#wizard input,
textarea,
select,
button {
  font-family: "Poppins-Regular";
  font-size: 15px;
  color: #053387;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

textarea {
  resize: none;
}

select {
  /*-moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border: none; }
  select option[value=""][disabled] {
  display: none; */
}

.select-cita {
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

body {
  background-color: #fff;
}

.wrapper {
  width: 100%;
  height: auto;
  /*display: flex;*/
  margin-top: 6rem;
}

.wizard > .steps .current-info,
.wizard > .steps .number {
  display: none;
}

.image-holder {
  width: 41.07%;
  /*align-self: center;*/
  padding-top: 5%;
  padding-left: 40px;
}

.form-custom {
  width: 58.93%;
  padding-left: 100px;
  padding-right: 100px;
  align-self: center;
}

.form-header {
  text-align: center;
}

.form-header a {
  font-family: "Poppins-Regular";
  color: #fff;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 5px;
  background: var(--dimar-orange);
}

h3 {
  font-family: "Poppins-SemiBold";
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 46px;
  letter-spacing: 3px;
  margin-top: 19px;
}

#wizard {
  border: 1px solid var(--dimar-blue-strong);
  border-radius: 10px;
  padding: 40px 40px 40px 40px;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
}

.wizard > .steps ul {
  content: "";
  width: 60%;
  height: 12px;
  background: rgba(8, 35, 95, 0.24);
  border-radius: 6px;
  position: absolute;
  left: 50%;
  bottom: -69px;
  transform: translateX(-50%);
}

.wizard > .steps ul:before {
  content: "\f26b";
  position: absolute;
  font-size: 20px;
  font-family: Material-Design-Iconic-Font;
  color: var(--dimar-orange);
  bottom: 20px;
  left: 29.4%;
  transition: all 0.5s ease;
}

.wizard > .steps ul:after {
  content: "";
  width: 33.33%;
  height: 12px;
  background: var(--dimar-blue);
  border-radius: 6px;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.5s ease;
}

.wizard > .steps ul.step-2:before {
  left: 62.5%;
  transition: all 0.5s ease;
}

.wizard > .steps ul.step-2:after {
  width: 66.67%;
  transition: all 0.5s ease;
}

.wizard > .steps ul.step-3:before {
  left: 96%;
  transition: all 0.5s ease;
}

.wizard > .steps ul.step-3:after {
  width: 100%;
  transition: all 0.5s ease;
}

.form-row {
  display: flex;
  margin-bottom: 29px;
  align-items: center;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-row label {
  width: 34.9%;
  margin-right: 40px;
}

.form-row .form-holder {
  width: 65.1%;
}

.form-holder {
  position: relative;
  display: grid;
}

.form-holder i {
  position: absolute;
  bottom: 7px;
  right: 20px;
  font-size: 25px;
}

.form-control-error {
  border: 1.5px solid rgb(255, 5, 5) !important;
}

.form-control-cita {
  /*height: 41px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: none;
  border-radius: 5px;
  width: 100%;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.2);*/
  opacity: 1 !important;
  background: none !important;
}

.required-text {
  padding-left: 10px;
  position: absolute;
  top: 40px;
  font-size: 13px;
}

.form-control-button {
  font-size: 15px !important;
  margin-bottom: 10px !important;
  height: 51px !important;
}

.form-control {
  height: 41px;
  border: 1px solid var(--dimar-blue-strong);
  background: none;
  border-radius: 5px;
  width: 100%;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.2);
}

.form-control:focus {
  border: 1px solid var(--dimar-orange) !important;
  box-shadow: 0px 0px 0px 3px rgba(240, 90, 26, 0.15);
}

.form-control::-webkit-input-placeholder {
  color: #fff;
  text-transform: uppercase;
}

.form-control::-moz-placeholder {
  color: #fff;
  text-transform: uppercase;
}

.form-control:-ms-input-placeholder {
  color: #fff;
  text-transform: uppercase;
}

.form-control:-moz-placeholder {
  color: #fff;
  text-transform: uppercase;
}

select.form-control {
  text-transform: uppercase;
}

#part2 .form-control {
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.2);
}

#submit-cita-button {
  color: #fff;
}

.option {
  color: #053387;
}

textarea.form-control {
  padding: 8px 0;
  background: url("../images/textarea-bg.png") no-repeat right bottom 3px;
}

.actions ul {
  display: flex;
  margin-top: 39px;
  justify-content: space-between;
}

.actions li a {
  padding: 0;
  border: none;
  display: inline-flex;
  height: 54px;
  width: 200px;
  letter-spacing: 1.3px;
  align-items: center;
  background: var(--dimar-orange);
  font-family: "Muli-Bold";
  cursor: pointer;
  position: relative;
  padding-left: 34px;
  text-transform: uppercase;
  color: #fff;
  border-radius: 27px;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.actions li a:before {
  content: "\f2ee";
  font-size: 18px;
  position: absolute;
  top: 17px;
  right: 34px;
  font-family: Material-Design-Iconic-Font;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.actions li a:hover {
  background: var(--dimar-orange-dark);
}

.actions li a:hover:before {
  -webkit-animation-name: hvr-icon-wobble-horizontal;
  animation-name: hvr-icon-wobble-horizontal;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.actions li[aria-disabled="true"] a {
  opacity: 0;
  transition: all 0.3s;
}

.actions li:first-child a {
  width: 175px;
  background: #fff;
  color: #666;
  font-family: "Muli-Bold";
  padding-left: 57px;
}

.actions li:first-child a:before {
  content: "\f2ea";
  left: 32px;
  font-size: 18px;
}

.actions li:first-child a:hover {
  background: #e5e5e5;
}

.actions li:last-child a {
  width: 200px;
}

@-webkit-keyframes hvr-icon-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }

  33.3% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }

  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }

  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes hvr-icon-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }

  33.3% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }

  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }

  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.checkbox-circle {
  max-width: 400px;
  display: flex;
  justify-content: space-between;
}

.checkbox-circle label {
  cursor: pointer;
  display: inline-block;
  padding-left: 23px;
  position: relative;
  margin-right: 0;
  width: auto;
}

.checkbox-circle input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-circle input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-circle .checkmark {
  position: absolute;
  top: 4px;
  left: 0;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  border: 1px solid rgba(8, 35, 95, 0.45);
}

.checkbox-circle .checkmark:after {
  content: "";
  top: 3px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border-radius: 50%;
  background: var(--dimar-orange);
  position: absolute;
  display: none;
}

/*new css*/
.header-gov {
  background-color: var(--dimar-gov-blue);
  color: white;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  gap: 16px;
  padding: 10px 24px 10px 24px;
}

.header {
  background-color: var(--dimar-blue-strong);
  color: white;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  gap: 16px;
  padding: 10px 24px 10px 24px;
}

.header-box {
  align-items: center;
  display: flex;
  gap: 16px;
}

.header-box span {
  font-size: 22px;
}

.header-box img {
  width: 60px;
}

.header-box .header-logo-dimar {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.header-box .header-logo-right {
  width: 140px;
}

.footer {
  display: flex;
  background-color: white;
  color: #053387;
  justify-content: center;
  width: 100%;
  padding: 20px;
  top: 1100px;
  margin-top: 10rem;
}

.footer-col {
  width: 30%;
  text-align: left;
  padding: 20px;
}

.footer-col_alt {
  width: 7%;
}

.footer-col_alt img {
  height: 400px;
}

.d-flex {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

@media (max-width: 1500px) {
  form {
    /* padding-top: 90px;
    padding-bottom: 97px; */
    align-self: flex-start;
  }

  .wrapper {
    height: auto;
  }
}

@media (max-width: 1199px) {
  .wrapper {
    height: 100vh;
    width: auto;
  }

  .image-holder {
    align-self: center;
  }

  .image-holder img {
    transform: translateY(40px);
  }

  form {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 50px;
    padding-right: 50px;
    align-self: center;
  }
}

@media (max-width: 991px) {
  .wrapper {
    justify-content: center;
  }

  .d-flex {
    flex-direction: column;
  }

  .image-holder {
    width: 70%;
  }

  form {
    width: auto;
  }
}

@media (max-width: 767px) {
  body {
    height: auto;
  }

  .wrapper {
    height: auto;
    padding: 30px 20px;
  }

  #wizard {
    border: none;
    display: flex;
    flex-direction: column;
    background: none;
  }

  form,
  #wizard {
    padding: 0;
  }

  h3 {
    margin-bottom: 30px;
  }

  .form-row {
    display: block;
  }

  .form-row label {
    margin-bottom: 29px;
    display: block;
  }

  .form-row label,
  .form-row .form-holder {
    width: 100%;
  }

  .checkbox-circle {
    display: block;
  }

  .wizard > .steps {
    order: 3;
    margin-top: 60px;
    margin-bottom: 20px;
  }

  .wizard > .steps ul {
    position: static;
    transform: translateX(0);
    width: 100%;
  }

  .actions ul {
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0;
  }

  .actions li a {
    height: 44px;
  }

  .actions li a:before {
    top: 13px;
  }

  .actions li:first-child a {
    margin-bottom: 20px;
  }

  /*new css*/
  .header-box span {
    font-size: 14px;
  }

  .wrapper {
    margin-top: 2rem;
  }

  .form-k {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    margin-top: 4rem;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col_alt {
    width: 100%;
    height: 60px;
  }

  .footer-col_alt img {
    transform: rotate(90deg) translate(-130px, -144px);
    height: 320px;
  }
}

@media (min-width: 768px) {
  #wizard {
    min-width: 600px;
  }
}

@media (max-width: 375px) {
  #titleFna {
    font-size: x-large;
  }
}

/* HTML: <div class="loader"></div> */
/* HTML: <div class="loader"></div> */
.loader {
  width: 40px;
  aspect-ratio: 1;
  position: relative;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: -8px 0 0 -8px;
  width: 16px;
  aspect-ratio: 1;
  background: #ffffff;
  animation:
    l1 - 1 2s infinite,
    l1 - 2 0.5s infinite;
}

.loader:after {
  background: var(--dimar-orange);
  animation-delay: -1s, 0s;
}

@keyframes l1-1 {
  0% {
    top: 0;
    left: 0;
  }

  25% {
    top: 100%;
    left: 0;
  }

  50% {
    top: 100%;
    left: 100%;
  }

  75% {
    top: 0;
    left: 100%;
  }

  100% {
    top: 0;
    left: 0;
  }
}

@keyframes l1-2 {
  80%,
  100% {
    transform: rotate(0.5turn);
  }
}

[datatitle]:hover:after {
  opacity: 1;
  transition: all 0.1s ease 0.5s;
  visibility: visible;
}

[datatitle]:after {
  content: attr(datatitle);
  position: absolute;
  bottom: -1.6em;
  left: 100%;
  padding: 4px 4px 4px 8px;
  color: #222;
  white-space: nowrap;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0px 0px 4px #222;
  -webkit-box-shadow: 0px 0px 4px #222;
  box-shadow: 0px 0px 4px #222;
  background-image: -moz-linear-gradient(top, #f8f8f8, #cccccc);
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #f8f8f8),
    color-stop(1, #cccccc)
  );
  background-image: -webkit-linear-gradient(top, #f8f8f8, #cccccc);
  background-image: -moz-linear-gradient(top, #f8f8f8, #cccccc);
  background-image: -ms-linear-gradient(top, #f8f8f8, #cccccc);
  background-image: -o-linear-gradient(top, #f8f8f8, #cccccc);
  opacity: 0;
  z-index: 99999;
  visibility: hidden;
}

[datatitle] {
  position: relative;
}

.swal-wide {
  width: 90% !important;
}

.swal2-html-container {
  text-align: justify !important;
}

.pt-3 {
  padding-top: 3rem;
}

.scrollable-element {
  scrollbar-color: red yellow !important;
}

div:where(.swal2-icon).swal2-question {
  border-color: rgba(240, 90, 26, 0.35);
  color: var(--dimar-orange);
}

.swal2-icon.swal2-question {
  border-color: var(--dimar-blue);
  color: var(--dimar-blue);
}

[disabled] {
  opacity: 0.3;
}

button {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-left {
  text-align: left;
}

.currentDay {
  background-color: var(--dimar-blue);
  color: white;
}

.currentDay:hover {
  background-color: var(--dimar-blue);
  color: white;
}

.enabledDays {
  background-color: var(--dimar-orange);
  color: white;
}

.enabledDays:hover {
  background-color: var(--dimar-orange-dark);
  color: white;
}

.disabled-days {
  background-color: #c0c0c0;
  color: white;
}

.disabled-cursor:hover {
  cursor: not-allowed;
}

.disabled-days:hover {
  background-color: #c0c0c0;
  color: white;
  cursor: not-allowed;
}

.air-datepicker {
  --adp-cell-background-color-selected: var(--dimar-orange);
  --adp-cell-background-color-selected-hover: var(--dimar-orange-dark);
  --adp-z-index: 0;
}

.form-holder .air-datepicker-nav--title i {
  position: static;
  font-size: inherit;
  margin-left: 0.3em;
}

.hours-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 300px;
  margin: 0 auto;
}

.hour-div {
  flex: 1 0 calc(33.33% - 10px);
  /* Changed to 25% for 4 items per row */
  text-align: center;
  padding: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background-color: var(--dimar-orange);
  color: #fff;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  border-radius: 20px;
}

.hour-div:active {
  transform: scale(0.95);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #e0e0e0;
}

.hour-div.selected {
  background-color: var(--dimar-blue);
  color: white;
  font-weight: bold;
}

#modal2 {
  background: rgba(3, 16, 49, 0.72);
  backdrop-filter: blur(8px);
}

#modal2 .modal-dialog--appointment {
  width: min(1040px, calc(100vw - 32px));
  max-width: min(1040px, calc(100vw - 32px));
  max-height: min(92vh, 920px);
  border-radius: 28px;
  background: radial-gradient(
      circle at top right,
      rgba(240, 90, 26, 0.22),
      transparent 28%
    ),
    linear-gradient(155deg, var(--dimar-blue-dark) 0%, var(--dimar-blue) 52%, #0a2a67 100%);
  box-shadow: 0 30px 80px rgba(1, 11, 34, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

#modal2 .modal-header--appointment,
#modal2 .modal-footer {
  background: transparent;
}

#modal2 .modal-header--appointment {
  padding: 28px 32px 12px;
  align-items: flex-start;
  gap: 20px;
}

#modal2 .modal-content--appointment {
  padding: 0 32px 32px;
}

#modal2 .close-modal {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

#modal2 .close-modal:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

.appointment-modal {
  color: #fff;
}

.appointment-modal__header-copy {
  display: grid;
  gap: 8px;
}

.appointment-modal__modal-title,
.appointment-modal__heading {
  font-family: "Poppins-SemiBold";
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.1;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}

.appointment-modal__eyebrow {
  margin: 0;
  font-family: "Muli-Bold";
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(214, 234, 255, 0.82);
}

.appointment-modal__subtitle,
.appointment-modal__support,
.appointment-modal__date-help {
  margin: 0;
  color: rgba(230, 241, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.6;
}

.appointment-modal__step {
  display: grid;
  gap: 24px;
}

.appointment-modal__hero,
.appointment-modal__summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.appointment-modal__hero-badge,
.appointment-modal__status {
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(240, 90, 26, 0.16);
  border: 1px solid rgba(240, 90, 26, 0.48);
  color: #ffd8c7;
  font-family: "Muli-Bold";
  font-size: 0.82rem;
  white-space: nowrap;
}

.appointment-modal__panel {
  padding: 28px;
  border-radius: 24px;
  background: rgba(3, 18, 56, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.appointment-modal__panel--compact,
.appointment-modal__panel--action {
  padding: 24px;
}

.appointment-modal__lookup-form {
  max-width: none;
}

.appointment-modal__lookup-form
  .appointment-modal__field
  + .appointment-modal__field {
  margin-top: 14px;
}

.appointment-modal__lookup-form .appointment-modal__primary-button {
  margin-top: 18px;
}

.appointment-modal__info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.appointment-modal__field {
  margin-bottom: 0;
  align-items: flex-start;
  gap: 14px;
}

.appointment-modal__field label,
.appointment-modal__action-row > label {
  width: 170px;
  margin-right: 0;
  color: rgba(226, 239, 255, 0.9);
  font-family: "Muli-Bold";
  font-size: 0.94rem;
  line-height: 1.4;
}

.appointment-modal__field .form-holder,
.appointment-modal__action-row .appointment-modal__toggle-group {
  width: auto;
  flex: 1;
}

.appointment-modal .form-control,
.appointment-modal #part2 .form-control {
  min-height: 52px;
  height: auto;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.appointment-modal .form-control::placeholder {
  color: rgba(230, 241, 255, 0.64);
  text-transform: none;
}

.appointment-modal .form-control:focus {
  border-color: rgba(240, 90, 26, 0.86) !important;
  box-shadow: 0 0 0 4px rgba(240, 90, 26, 0.16);
}

.appointment-modal .option {
  color: #053387;
}

.appointment-modal .form-control-cita {
  color: #fff !important;
}

.appointment-modal__primary-button {
  justify-content: center;
  font-family: "Muli-Bold";
  font-size: 1rem !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--dimar-orange), var(--dimar-orange-dark)) !important;
  border: none !important;
  box-shadow: 0 14px 26px rgba(240, 90, 26, 0.26);
}

.appointment-modal__primary-button:hover {
  transform: translateY(-1px);
}

.appointment-modal__primary-button--confirm {
  margin-top: 24px;
}

.appointment-modal__action-row {
  align-items: stretch;
  margin-bottom: 24px;
  gap: 14px;
}

.appointment-modal__toggle-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.appointment-modal__toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.appointment-modal__toggle-card {
  display: grid;
  width: 100%;
  max-width: none;
  margin-right: 0;
  flex: 1 1 auto;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.appointment-modal__toggle-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

.appointment-modal__action-row .appointment-modal__toggle-card {
  width: 100%;
  max-width: none;
  margin-right: 0;
}

.appointment-modal__toggle-title {
  font-family: "Poppins-SemiBold";
  font-size: 1rem;
}

.appointment-modal__toggle-copy {
  color: rgba(226, 239, 255, 0.76);
  font-size: 0.9rem;
}

.appointment-modal__toggle-input:checked + .appointment-modal__toggle-card {
  background: rgba(240, 90, 26, 0.16);
  border-color: rgba(240, 90, 26, 0.7);
  box-shadow: 0 10px 24px rgba(11, 54, 116, 0.25);
}

.appointment-modal__toggle-input:checked
  + .appointment-modal__toggle-card--danger {
  background: rgba(255, 94, 94, 0.12);
  border-color: rgba(255, 157, 157, 0.58);
}

#form3 .appointment-modal__field + .appointment-modal__field {
  margin-top: 18px;
}

.appointment-modal__field--stacked {
  align-items: flex-start;
}

.appointment-modal__field--stacked .form-holder {
  display: grid;
  gap: 14px;
}

.appointment-modal__date-card,
.appointment-modal__time-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.appointment-modal__legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.appointment-modal__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(226, 239, 255, 0.88);
  font-size: 0.9rem;
}

.appointment-modal__legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
}

.appointment-modal__legend-dot--current {
  background: var(--dimar-blue);
}

.appointment-modal__legend-dot--selected {
  background: var(--dimar-orange);
}

.appointment-modal__legend-dot--available {
  background: #1f8f6b;
}

.appointment-modal__legend-dot--disabled {
  background: #d1d1d18c;
}

.appointment-modal__selected-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-family: "Poppins-SemiBold";
}

.appointment-modal #containerHours2 {
  color: #fff;
}

.appointment-modal #containerHours2 > div > p {
  margin-bottom: 10px;
  color: rgba(232, 242, 255, 0.85);
  font-family: "Muli-Bold";
}

.appointment-modal .hours-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.appointment-modal .hour-div {
  min-width: unset;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(240, 90, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: "Muli-Bold";
  box-shadow: 0 8px 18px rgba(8, 28, 72, 0.18);
}

.appointment-modal .hour-div.selected {
  background: var(--dimar-blue);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 991px) {
  #modal2 .modal-header--appointment,
  #modal2 .modal-content--appointment {
    padding-left: 22px;
    padding-right: 22px;
  }

  .appointment-modal__info-grid,
  .appointment-modal__toggle-group {
    grid-template-columns: 1fr;
  }

  .appointment-modal__field,
  .appointment-modal__action-row,
  .appointment-modal__hero,
  .appointment-modal__summary {
    flex-direction: column;
  }

  .appointment-modal__field label,
  .appointment-modal__action-row > label {
    width: auto;
  }
}

@media (max-width: 640px) {
  #modal2 {
    padding: 10px;
  }

  #modal2 .modal-dialog--appointment {
    width: calc(100vw - 20px);
    border-radius: 24px;
  }

  #modal2 .modal-header--appointment {
    padding: 20px 18px 10px;
  }

  #modal2 .modal-content--appointment {
    padding: 0 18px 18px;
  }

  .appointment-modal__panel,
  .appointment-modal__hero,
  .appointment-modal__summary {
    padding: 18px;
    border-radius: 18px;
  }

  .appointment-modal__legend {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hours-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .hour-div {
    flex-basis: calc(33.33% - 10px);
    /* 3 items per row on smaller screens */
  }
}

@media (max-width: 600px) {
  .hour-div {
    flex-basis: calc(50% - 10px);
    /* 2 items per row on even smaller screens */
  }
}

@media (max-width: 400px) {
  .hour-div {
    flex-basis: 100%;
    /* 1 item per row on very small screens */
  }
}
