#meetingBookingPopup.popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #07193ae6;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#meetingBookingPopup.popup.show {
  display: block;
  opacity: 1;
}

#meetingBookingPopup .popup-content {
  background-color: #f8f9fb;
  margin: 0 auto;
  padding: 10px 20px 25px;
  border: 1px solid #888;
  max-width: 480px;
  width: calc(100% - 32px);
  position: absolute;
  border-radius: 16px;
  left: 50%;
  top: 10%;
  transform: translate(-50%, 0);
  overflow-y: auto;
  box-sizing: border-box;
}

#meetingBookingPopup.popup.is-submitting {
  overflow: hidden;
}

#meetingBookingPopup .popup-content.is-submitting {
  overflow: hidden;
}

#meetingBookingPopup .popup-content.is-submitting .close {
  pointer-events: none;
  opacity: 0.35;
}

#meetingBookingPopup .close {
  color: #627093;
  float: right;
  font-size: 28px;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  line-height: 1;
}

#meetingBookingPopup .close:hover,
#meetingBookingPopup .close:focus {
  color: #000;
}

#meetingBookingPopup .popup-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  color: #29375a;
  padding: 20px 0;
  text-transform: uppercase;
  margin: 0;
}

#meetingBookingPopup .popup-form {
  display: flex;
  flex-direction: column;
}

#meetingBookingPopup .popup-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #627093;
}

#meetingBookingPopup .popup-input {
  border: 1px solid #62709326;
  width: 100%;
  max-width: 416px;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  padding-left: 10px;
  margin: 3px 0 10px;
  box-sizing: border-box;
}

#meetingBookingPopup .popup-input::placeholder {
  color: #62709380;
  font-size: 14px;
}

#meetingBookingPopup .popup-textarea {
  border: 1px solid #62709326;
  width: 100%;
  max-width: 416px;
  height: 100px;
  border-radius: 12px;
  text-align: left;
  padding: 10px;
  margin: 3px 0 20px;
  box-sizing: border-box;
  resize: vertical;
}

#meetingBookingPopup .popup-textarea::placeholder {
  color: #62709380;
  font-size: 14px;
}

#meetingBookingPopup .popup-submitBtn {
  background-color: #adff00;
  color: #29375a;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 416px;
  height: 52px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  box-sizing: border-box;
}

#meetingBookingPopup .popup-managerBtn {
  background-color: #fff;
  color: #2a58ce;
  cursor: pointer;
  width: 100%;
  max-width: 416px;
  height: 52px;
  border-radius: 8px;
  justify-content: center;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  border: 1px solid #2a58ce;
  font-size: 16px;
  font-weight: 500;
  box-sizing: border-box;
}

#meetingBookingPopup .status-message {
  font-size: 13px;
  margin-top: 8px;
}

/* Calendar block */
#meetingBookingPopup .meeting-booking__calendar {
  margin-bottom: 8px;
  max-width: 416px;
}

#meetingBookingPopup .meeting-booking__cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

#meetingBookingPopup .meeting-booking__cal-title {
  font-size: 15px;
  font-weight: 600;
  color: #29375a;
}

#meetingBookingPopup .meeting-booking__cal-nav {
  width: 32px;
  height: 32px;
  border: 1px solid #62709326;
  border-radius: 8px;
  background: #fff;
  color: #29375a;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

#meetingBookingPopup .meeting-booking__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 4px;
}

#meetingBookingPopup .meeting-booking__weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #627093;
}

#meetingBookingPopup .meeting-booking__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

#meetingBookingPopup .meeting-booking__day {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  color: #29375a;
}

#meetingBookingPopup .meeting-booking__day.is-empty {
  visibility: hidden;
}

#meetingBookingPopup .meeting-booking__day.is-available {
  background: #fff;
  border-color: #62709326;
  cursor: pointer;
}

#meetingBookingPopup .meeting-booking__day.is-available:hover {
  border-color: #2a58ce;
}

#meetingBookingPopup .meeting-booking__day.is-selected {
  background: #2a58ce;
  border-color: #2a58ce;
  color: #fff;
}

#meetingBookingPopup .meeting-booking__day.is-disabled {
  color: #62709380;
}

#meetingBookingPopup .meeting-booking__selected {
  font-size: 13px;
  color: #29375a;
  font-weight: 600;
  margin: 8px 0 0;
}

#meetingBookingPopup .meeting-booking__slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0 12px;
}

#meetingBookingPopup .meeting-booking__slot {
  border: 1px solid #62709326;
  background: #fff;
  border-radius: 8px;
  padding: 8px 4px;
  font-size: 13px;
  color: #29375a;
  cursor: pointer;
}

#meetingBookingPopup .meeting-booking__slot.is-selected {
  background: #2a58ce;
  border-color: #2a58ce;
  color: #fff;
}

#meetingBookingPopup .meeting-booking__error {
  color: #d93025;
  font-size: 13px;
  margin: 6px 0;
}

#meetingBookingPopup .meeting-booking__loading {
  text-align: center;
  color: #627093;
  font-size: 13px;
  padding: 10px 0;
}

#meetingBookingPopup .meeting-booking__submit-loader {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background: #07193a;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

#meetingBookingPopup .meeting-booking__submit-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#meetingBookingPopup .mb-rocket-loader__scene {
  position: relative;
  width: min(320px, 88vw);
  height: min(420px, 52vh);
  flex-shrink: 0;
}

#meetingBookingPopup .mb-rocket-loader__ship {
  position: absolute;
  top: 20%;
  width: 80px;
  left: calc(50% - 40px);
}

#meetingBookingPopup .mb-rocket-loader__ship-body {
  position: relative;
  width: 80px;
  animation: mbRlBounce 0.5s infinite;
}

#meetingBookingPopup .mb-rocket-loader__ship-body::before {
  content: "";
  position: absolute;
  left: calc(50% - 24px);
  width: 48px;
  height: 13px;
  background-color: #ffffff;
  bottom: -13px;
  border-bottom-right-radius: 60%;
  border-bottom-left-radius: 60%;
}

#meetingBookingPopup .mb-rocket-loader__hull {
  position: relative;
  width: 80px;
  background-color: #e4e4e4;
  height: 180px;
  border-top-right-radius: 100%;
  border-top-left-radius: 100%;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-top: 5px solid #adff00;
}

#meetingBookingPopup .mb-rocket-loader__window {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 100%;
  background-color: #2a58ce;
  left: calc(50% - 18px);
  top: 52px;
  border: 3px solid #627093;
  box-shadow: 0 0 0 2px rgba(173, 255, 0, 0.25);
}

#meetingBookingPopup .mb-rocket-loader__fin {
  position: absolute;
  z-index: -1;
  height: 55px;
  width: 50px;
  background-color: #2a58ce;
}

#meetingBookingPopup .mb-rocket-loader__fin--left {
  left: -30px;
  top: calc(100% - 55px);
  border-top-left-radius: 80%;
  border-bottom-left-radius: 20%;
}

#meetingBookingPopup .mb-rocket-loader__fin--right {
  right: -30px;
  top: calc(100% - 55px);
  border-top-right-radius: 80%;
  border-bottom-right-radius: 20%;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-flame {
  position: absolute;
  top: 90%;
  width: 28px;
  background: linear-gradient(
    to bottom,
    transparent 10%,
    #adff00 55%,
    rgba(173, 255, 0, 0.35) 100%
  );
  height: 150px;
  left: calc(50% - 14px);
  animation: mbRlExhaust 0.2s infinite;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes,
#meetingBookingPopup .mb-rocket-loader__stars {
  margin: 0;
  padding: 0;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li {
  width: 60px;
  height: 60px;
  background-color: rgba(173, 255, 0, 0.18);
  list-style: none;
  position: absolute;
  border-radius: 100%;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li:first-child {
  width: 200px;
  height: 200px;
  bottom: -300px;
  animation: mbRlFumes 5s infinite;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li:nth-child(2) {
  width: 150px;
  height: 150px;
  left: -120px;
  top: 260px;
  animation: mbRlFumes 3.2s infinite;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li:nth-child(3) {
  width: 120px;
  height: 120px;
  left: -40px;
  top: 330px;
  animation: mbRlFumes 3s 1s infinite;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li:nth-child(4) {
  width: 100px;
  height: 100px;
  left: -170px;
  top: 380px;
  animation: mbRlFumes 4s 2s infinite;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li:nth-child(5) {
  width: 130px;
  height: 130px;
  left: -120px;
  top: 350px;
  animation: mbRlFumes 5s infinite;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li:nth-child(6) {
  width: 200px;
  height: 200px;
  left: -60px;
  top: 280px;
  animation: mbRlFumes2 10s infinite;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li:nth-child(7) {
  width: 100px;
  height: 100px;
  left: -100px;
  top: 320px;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li:nth-child(8) {
  width: 110px;
  height: 110px;
  left: 70px;
  top: 340px;
}

#meetingBookingPopup .mb-rocket-loader__exhaust-fumes li:nth-child(9) {
  width: 90px;
  height: 90px;
  left: 200px;
  top: 380px;
  animation: mbRlFumes 20s infinite;
}

#meetingBookingPopup .mb-rocket-loader__stars li {
  list-style: none;
  position: absolute;
}

#meetingBookingPopup .mb-rocket-loader__stars li::before,
#meetingBookingPopup .mb-rocket-loader__stars li::after {
  content: "";
  position: absolute;
  background-color: #adff00;
}

#meetingBookingPopup .mb-rocket-loader__stars li::before {
  width: 10px;
  height: 2px;
  border-radius: 50%;
}

#meetingBookingPopup .mb-rocket-loader__stars li::after {
  height: 8px;
  width: 2px;
  left: 4px;
  top: -3px;
}

#meetingBookingPopup .mb-rocket-loader__stars li:first-child {
  top: -30px;
  left: -210px;
  animation: mbRlTwinkle 0.4s infinite;
}

#meetingBookingPopup .mb-rocket-loader__stars li:nth-child(2) {
  top: 0;
  left: 60px;
  animation: mbRlTwinkle 0.5s infinite;
}

#meetingBookingPopup .mb-rocket-loader__stars li:nth-child(2)::before {
  height: 1px;
  width: 5px;
}

#meetingBookingPopup .mb-rocket-loader__stars li:nth-child(2)::after {
  width: 1px;
  height: 5px;
  top: -2px;
  left: 2px;
}

#meetingBookingPopup .mb-rocket-loader__stars li:nth-child(3) {
  left: 120px;
  top: 220px;
  animation: mbRlTwinkle 1s infinite;
}

#meetingBookingPopup .mb-rocket-loader__stars li:nth-child(4) {
  left: -100px;
  top: 200px;
  animation: mbRlTwinkle 0.5s ease infinite;
}

#meetingBookingPopup .mb-rocket-loader__stars li:nth-child(5) {
  left: 170px;
  top: 100px;
  animation: mbRlTwinkle 0.4s ease infinite;
}

#meetingBookingPopup .mb-rocket-loader__stars li:nth-child(6) {
  top: 87px;
  left: -79px;
  animation: mbRlTwinkle 0.2s infinite;
}

#meetingBookingPopup .mb-rocket-loader__stars li:nth-child(6)::before {
  height: 1px;
  width: 5px;
}

#meetingBookingPopup .mb-rocket-loader__stars li:nth-child(6)::after {
  width: 1px;
  height: 5px;
  top: -2px;
  left: 2px;
}

#meetingBookingPopup .meeting-booking__submit-loader-text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f5;
  text-align: center;
}

#meetingBookingPopup .meeting-booking__submit-loader-hint {
  margin: 0;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.72);
  text-align: center;
}

#meetingBookingPopup .popup-submitBtn.is-loading {
  opacity: 0.72;
  cursor: wait;
}

@keyframes mbRlFumes {
  50% {
    transform: scale(1.5);
    background-color: transparent;
  }

  51% {
    transform: scale(0.8);
  }

  100% {
    background-color: rgba(173, 255, 0, 0.18);
    transform: scale(1);
  }
}

@keyframes mbRlBounce {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -4px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mbRlExhaust {
  0% {
    background: linear-gradient(
      to bottom,
      transparent 10%,
      #adff00 55%,
      rgba(173, 255, 0, 0.35) 100%
    );
  }

  50% {
    background: linear-gradient(
      to bottom,
      transparent 8%,
      #c8ff4d 50%,
      rgba(173, 255, 0, 0.28) 100%
    );
  }

  75% {
    background: linear-gradient(
      to bottom,
      transparent 12%,
      #adff00 58%,
      rgba(173, 255, 0, 0.4) 100%
    );
  }
}

@keyframes mbRlFumes2 {
  50% {
    transform: scale(1.1);
  }
}

@keyframes mbRlTwinkle {
  80% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

@media screen and (max-width: 500px) {
  #meetingBookingPopup .popup-content,
  #meetingBookingPopup .popup-input,
  #meetingBookingPopup .popup-textarea,
  #meetingBookingPopup .popup-submitBtn,
  #meetingBookingPopup .popup-managerBtn,
  #meetingBookingPopup .meeting-booking__calendar {
    max-width: 100%;
    width: 100%;
  }

  #meetingBookingPopup .popup-title {
    font-size: 24px;
  }

  #meetingBookingPopup .meeting-booking__slots {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Success — isolated */
#meetingBookingSuccess.event-success-popup.hidden {
  display: none !important;
}

#meetingBookingSuccess.event-success-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7, 25, 58, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

#meetingBookingSuccess .success-popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: calc(100% - 32px);
  text-align: center;
  box-sizing: border-box;
}

#meetingBookingSuccess .success-popup-title {
  color: #29375a;
  font-weight: 700;
  font-size: 26px;
  line-height: 30px;
}

#meetingBookingSuccess .success-popup-content-text {
  color: #627093;
  font-size: 16px;
  margin: 25px auto;
}

#meetingBookingSuccess .events__button {
  min-width: 90%;
  height: 52px;
  display: flex;
  border-radius: 8px;
  background: #adff00;
  color: #29375a;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  cursor: pointer;
  border: none;
  font-size: 16px;
  font-weight: 500;
}
