.collapsed-x-y {
  transform: scale3d(0.005, 0.005, 1) !important;
  opacity: 0;
  transition: 0.2s ease;
}
.collapsed-y {
  transform: scale3d(1, 0.005, 1);
  opacity: 1;
  transition: 0.2s ease;
}
.modal-zoom-0 {
  transform: scale(0);
  opacity: 0;
  transition: 0.5s ease;
}
.cls-btn {
  position: absolute;
  width: 30px;
  height: 30px;
  top: -10px;
  right: -10px;
  background-image: url(svg/cls-btn-bg.svg);
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--theme-color);
  z-index: 1000;
  border-radius: 5px;
  box-shadow: #333333 -2px 2px 10px;
}
.back-arrow {
  position: absolute;
  width: 50px;
  height: 30px;
  top: 10px;
  right: 40px;
  background-image: url(svg/back-arrow.svg);
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1000;
}
.cls-btn:hover,
.back-arrow:hover {
  cursor: pointer;
}
.modal-wrapper {
  position: fixed;
  max-height: 100vh;
  padding: 20px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  background-color: #333333af;
  font-family: "Roboto Condensed", serif;
  font-optical-sizing: auto;
  font-style: normal;
  z-index: 1000;
  transition: 0.2s;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
}
.modal,
.modal-message {
  position: relative;
  padding: 30px;
  width: 90vw;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  background-color: var(--theme-color);
  border-radius: 15px;
  transition: 0.2s;
  z-index: 1000;
}
.modal p {
  font-size: 1.7rem;
  color: #333333;
}
.modal-btn-block {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 20px;
  flex-grow: 1;
}
.modal-message {
  color: #4b4b4b;
  height: 370px;
}
.modal-message p {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 30px;
  color: #4b4b4b;
}
.modal-btn {
  padding: 15px 0px;
  width: 100%;
  flex-grow: 1;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333333;
  border: 0;
  border-radius: 30px;
  box-shadow: #000000ad 0px 2px 5px;
  transition: 0.2s;
}
.modal-ok-button {
  width: fit-content;
  flex-grow: 0;
  padding-left: 50px;
  padding-right: 50px;
}
.modal-btn:hover {
  cursor: pointer;
}
.modal-btn:active {
  transform: scale3d(0.97, 0.97, 0.97);
  transition: 0.2s;
}

/* FORMS */
/* FORMS */
/* FORMS */
/* FORMS */
/* FORMS */
/* FORMS */

.form-container {
  position: relative;
  max-width: 1400px;
  margin: auto;
  padding: 20px;
  border-radius: 15px;
  background-color: #ffcc00;
  transition: 0.5s ease;
}
.form-container h2,
h3 {
  margin-bottom: 10px;
}
.form-container .form-group {
  margin-bottom: 15px;
}
.form-container .form-group #event-duration {
  margin-right: 25px;
}
.form-container .form-group span {
  margin-right: 5px;
}
.form-container label {
  display: block;
  margin-bottom: 5px;
}
.form-container input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}
.form-container button {
  width: 100%;
  background-color: #0099ff;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.form-container button:hover {
  background-color: #0085dd;
}
.checkbox-list {
  list-style-type: none;
  padding: 0;
}
.checkbox-list li {
  margin-bottom: 5px;
}
label input {
  margin-left: 10px;
}
input[type="checkbox"] {
  margin-right: 10px;
}
input[type="time"] {
  width: 35%;
}
.error {
  color: red;
  font-size: 0.8rem;
}
/* LOADER */
/* LOADER */
/* LOADER */
/* LOADER */
/* LOADER */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f0f0f0cc; /* Light gray background with opacity */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.loader {
  border: 8px solid #d3d3d3; /* Light gray border color */
  border-top: 8px solid #ffd700; /* Yellow border color */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader-container p {
  margin-top: 20px;
  font-size: 18px;
  color: #333;
}
@media screen and (min-width: 1400px) {
  html:has(.modal-wrapper.flex) .hdr-contacts-conainer {
    width: calc(100% - 8px);
  }
  .modal,
  .modal-message {
    width: 500px;
    height: 300px;
  }
  .modal,
  .modal-message {
    padding: 50px;
  }
  .modal-message {
    height: 370px;
  }
  .modal-btn {
    padding: 20px 0px;
    font-size: 1.2rem;
  }
  .modal-ok-button {
    width: fit-content;
    flex-grow: 0;
    padding-left: 50px;
    padding-right: 50px;
  }

  .form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
