.presentation-modal {
  z-index: 1000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 27.72, 45.69, 0.9) 0%,
    rgba(0, 27.72, 45.69, 0.9) 100%
  );
  display: flex;
  justify-content: center;
}

.presentation-modal .presentation-modal__content {
  position: relative;
  margin: auto;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 40px 0 #000a10;
  padding: 70px 30px 45px 30px;
  width: 100%;
  max-width: 465px;
  background-repeat: no-repeat;
  background-size: cover;
  max-height: 100%;
  overflow-y: auto;
}

.presentation-modal .presentation-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
  color: white;
  background: transparent;
  box-shadow: none;
}

.presentation-modal .presentation-modal__title {
  color: #051c2b;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  margin-bottom: 20px;
}

.presentation-modal
  .presentation-modal__title
  .presentation-modal__title-highlight {
  color: #5691c8;
  font-weight: 700;
}

.presentation-modal .presentation-modal__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.presentation-modal .presentation-modal__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.presentation-modal .presentation-modal__image {
  display: block;
}

.presentation-modal .presentation-modal__form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.presentation-modal .presentation-modal__step-code {
  justify-content: center;
  align-items: center;
}

.presentation-modal .presentation-modal__step-login-title {
  color: #051c2b;
  font-family: "Geologica", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 35px;
}

.presentation-modal .presentation-modal__step-login-title-highlight {
  color: #5691c8;
}

.presentation-modal .presentation-modal__step-login-subtitle {
  color: #24394b;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  margin-bottom: 25px;
}

.presentation-modal .presentation-modal__form-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.presentation-modal .presentation-modal__input {
  position: relative;
  display: flex;
}

.presentation-modal .presentation-modal__input input {
  display: flex;
  height: 44px;
  width: 100%;
  padding: 16px 20px;
  align-items: center;
  gap: 12px;
  color: #787878;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 128%;
  border-radius: 10px;
  border: 1px solid #d9eaff;
  background: #fff;
}

.presentation-modal
  .presentation-modal__input:not(.presentation-modal__input--no-icon)
  input {
  padding-left: 48px;
}

.presentation-modal .presentation-modal__input label {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  left: 20px;
  top: 0;
}

.presentation-modal .presentation-modal__btn {
  position: relative;
  display: flex;
  width: 100%;
  padding: 12px 22px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #5691c8;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 128%;
  letter-spacing: 0.16px;
}

.presentation-modal .presentation-modal__btn.presentation-modal__btn--disabled {
  pointer-events: none;
  opacity: 0.5;
}

.presentation-modal .presentation-modal__btn.presentation-modal__btn--loading {
  pointer-events: none;
  opacity: 0.75;
  color: transparent !important;
}

.presentation-modal
  .presentation-modal__btn.presentation-modal__btn--loading
  > *:not(.presentation-modal__btn-loader) {
  opacity: 0 !important;
  pointer-events: none !important;
}

.presentation-modal .presentation-modal__btn .presentation-modal__btn-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transition: opacity 0.2s ease;
}

.presentation-modal
  .presentation-modal__btn
  .presentation-modal__btn-loader
  .presentation-modal__btn-loader-icon {
  width: 24px;
  height: 24px;
}

.presentation-modal
  .presentation-modal__btn:not(.presentation-modal__btn--loading)
  .presentation-modal__btn-loader {
  opacity: 0 !important;
  pointer-events: none !important;
}

.presentation-modal .presentation-modal__accept {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.presentation-modal .presentation-modal__accept-input {
  width: 16px;
  height: 16px;
  flex: none;
}

.presentation-modal .presentation-modal__accept-label {
  color: #00284e;
  font-family: "Geologica", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 128.523%;
  text-align: left;
  text-wrap: pretty;
}

.presentation-modal .presentation-modal__accept-label a {
  color: #00284e;
  text-decoration: underline;
  font-weight: 600;
}

.presentation-modal .presentation-modal__timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(86, 145, 200, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(86, 145, 200, 0.2);
}

.presentation-modal .presentation-modal__timer-text {
  color: #051c2b;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 128%;
  text-align: center;
}

.presentation-modal .presentation-modal__timer-count {
  color: #5691c8;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 128%;
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
}

.presentation-modal .presentation-modal__timer-expired {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.presentation-modal .presentation-modal__timer-expired-text {
  color: #dc3545;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 128%;
  text-align: center;
}

.presentation-modal .presentation-modal__resend-button {
  display: flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #dc3545;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 128%;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.presentation-modal .presentation-modal__resend-button:hover:not(:disabled) {
  background: #c82333;
}

.presentation-modal .presentation-modal__resend-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.presentation-modal .presentation-modal__step-success,
.presentation-modal .presentation-modal__step-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.presentation-modal .presentation-modal__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.presentation-modal .presentation-modal__status-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 67px;
  height: 67px;
}

.presentation-modal .presentation-modal__status-text {
  color: #24394b;
  text-align: center;
  font-family: "Geologica", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  margin: 0;
}

.presentation-modal .presentation-modal__status-description {
  color: #1e293b;
  text-align: center;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin: 0;
}

.presentation-modal .presentation-modal__status-description-email {
  color: #5691c8;
  text-align: center;
  font-family: "Geologica", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  margin: 0;
  margin-top: 6px;
}

.presentation-modal .presentation-modal__status-notice {
  color: #5691c8;
  text-align: center;
  font-family: "Geologica", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  margin: 0;
  margin-top: 20px;
  max-width: 235px;
}

@media (width <= 864px) {
  .presentation-modal {
    background: white;
  }

  .presentation-modal .presentation-modal__content {
    margin: 0;
    padding: 150px 20px 20px 20px;
    background: transparent;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
  }

  .presentation-modal .presentation-modal__close {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .presentation-modal .presentation-modal__close path {
    fill: white;
  }

  .presentation-modal .presentation-modal__title {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 146%;
    margin-bottom: 48px;
  }

  .presentation-modal
    .presentation-modal__title
    .presentation-modal__title-highlight {
    color: #fff;
    font-weight: 700;
  }

  .presentation-modal .presentation-modal__main {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }

  .presentation-modal .presentation-modal__form {
    width: 100%;
    max-width: 368px;
    gap: 14px;
  }

  .presentation-modal .presentation-modal__image {
    display: none;
  }

  .presentation-modal .presentation-modal__submit {
    padding: 14px 18px;
    gap: 10px;
    border-radius: 10px;
    color: #fff;
    font-weight: 400;
    line-height: 128%;
  }

  .presentation-modal .presentation-modal__timer {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .presentation-modal .presentation-modal__timer-text {
    color: #fff;
  }

  .presentation-modal .presentation-modal__timer-count {
    color: #fff;
  }

  .presentation-modal .presentation-modal__timer-expired {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
  }

  .presentation-modal .presentation-modal__timer-expired-text {
    color: #ff6b7a;
  }
}

/* Calendar Styles */
.presentation-modal .presentation-modal__calendar {
  margin-bottom: 30px;
  position: relative;
}

.presentation-modal .presentation-modal__calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.presentation-modal .presentation-modal__calendar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #d9eaff;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 6px;
  color: black;
}

.presentation-modal .presentation-modal__calendar-nav:hover {
  border-color: #5691c8;
  background: #f8fbff;
}

.presentation-modal .presentation-modal__calendar-range {
  color: #051c2b;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.presentation-modal .presentation-modal__calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.presentation-modal .presentation-modal__calendar-weekday {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  color: #787878;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.presentation-modal .presentation-modal__calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.presentation-modal .presentation-modal__calendar-day {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #787878;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.presentation-modal
  .presentation-modal__calendar-day:is(:hover, :focus):not(:disabled):not(
    .presentation-modal__calendar-day--selected
  ) {
  background: #e6f2ff;
  border-color: #5691c8;
}

.presentation-modal .presentation-modal__calendar-day--available {
  color: #051c2b;
  background: #f0f7ff;
  border-color: #d9eaff;
}

.presentation-modal .presentation-modal__calendar-day--available:hover {
  background: #e6f2ff;
  border-color: #5691c8;
}

.presentation-modal .presentation-modal__calendar-day--selected {
  color: #fff;
  background: #5691c8;
  border-color: #5691c8;
}

.presentation-modal .presentation-modal__calendar-day:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.presentation-modal .presentation-modal__calendar-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  background-color: #ffffff8f;
}

.presentation-modal .presentation-modal__calendar-loading-icon {
  width: 36px;
  height: 36px;
}

/* Time Slots Styles */
.presentation-modal .presentation-modal__time-slots {
  margin-top: 10px;
}

.presentation-modal .presentation-modal__time-slots-title {
  color: #051c2b;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  margin-bottom: 16px;
}

.presentation-modal .presentation-modal__time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
}

.presentation-modal .presentation-modal__time-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border: 1px solid #d9eaff;
  border-radius: 8px;
  background: #f0f7ff;
  color: #051c2b;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.presentation-modal
  .presentation-modal__time-slot:is(:hover, :focus):not(
    .presentation-modal__time-slot--selected
  ) {
  background: #e6f2ff;
  border-color: #5691c8;
}

.presentation-modal .presentation-modal__time-slot--selected {
  color: #fff;
  background: #5691c8;
  border-color: #5691c8;
}

.presentation-modal .presentation-modal__time-slots-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.presentation-modal .presentation-modal__time-slots-empty p {
  color: #787878;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
  text-align: center;
}

/* Mobile Calendar Styles */
@media (width <= 864px) {
  .presentation-modal .presentation-modal__calendar {
    margin-bottom: 24px;
  }

  .presentation-modal .presentation-modal__calendar-header {
    margin-bottom: 16px;
  }

  .presentation-modal .presentation-modal__calendar-nav {
    width: 28px;
    height: 28px;
  }

  .presentation-modal .presentation-modal__calendar-range {
    font-size: 14px;
    font-weight: 600;
  }

  .presentation-modal .presentation-modal__calendar-weekdays {
    gap: 6px;
    margin-bottom: 10px;
  }

  .presentation-modal .presentation-modal__calendar-weekday {
    height: 28px;
    font-size: 12px;
  }

  .presentation-modal .presentation-modal__calendar-days {
    gap: 6px;
  }

  .presentation-modal .presentation-modal__calendar-day {
    height: 36px;
    font-size: 14px;
  }

  .presentation-modal .presentation-modal__time-slots-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .presentation-modal .presentation-modal__time-slots-grid {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 6px;
  }

  .presentation-modal .presentation-modal__time-slot {
    height: 36px;
    font-size: 12px;
  }
}

/* Code Step Styles */
.presentation-modal .presentation-modal__step-code {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.presentation-modal .presentation-modal__step-code-title {
  color: #1e293b;
  font-family: "Geologica", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 16px;
}

.presentation-modal .presentation-modal__code-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.presentation-modal .presentation-modal__code-info-text {
  color: #1e293b;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin: 0;
  text-align: center;
}

.presentation-modal .presentation-modal__code-phone {
  color: #5691c8;
  text-align: center;
  font-family: "Geologica", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  margin: 0;
}

.presentation-modal .presentation-modal__code-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.presentation-modal .presentation-modal__code-input-section {
  margin-bottom: 30px;
}

.presentation-modal .presentation-modal__code-input-label {
  color: #334155;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 12px;
}

.presentation-modal .presentation-modal__code-input {
  display: flex;
  justify-content: center;
}

.presentation-modal .presentation-modal__code-input input {
  width: 200px;
  height: 48px;
  border: 2px solid #d9eaff;
  border-radius: 8px;
  background: #fff;
  color: #051c2b;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
  transition: all 0.2s ease;
  padding: 0 16px;
}

.presentation-modal .presentation-modal__code-input input:focus {
  outline: none;
  border-color: #5691c8;
  box-shadow: 0 0 0 3px rgba(86, 145, 200, 0.1);
}

.presentation-modal
  .presentation-modal__code-input
  input:not(:placeholder-shown) {
  border-color: #5691c8;
}

.presentation-modal .presentation-modal__code-timer {
  margin-bottom: 16px;
}

.presentation-modal .presentation-modal__code-timer-text {
  color: #787878;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
}

.presentation-modal .presentation-modal__code-timer-count {
  color: #5691c8;
  font-weight: 600;
  font-family: "Courier New", monospace;
}

.presentation-modal .presentation-modal__code-resend {
  margin-bottom: 32px;
}

.presentation-modal .presentation-modal__code-resend-link {
  color: #5691c8;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.presentation-modal .presentation-modal__code-resend-link:hover:not(:disabled) {
  color: #4a7ba7;
}

.presentation-modal .presentation-modal__code-resend-link:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.presentation-modal .presentation-modal__code-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.presentation-modal .presentation-modal__code-back {
  display: flex;
  padding: 10px 20px;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: #0f172a;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
}

.presentation-modal .presentation-modal__code-confirm {
  display: flex;
  padding: 10px 20px;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: #5691c8;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  color: #fff;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
}

.presentation-modal .presentation-modal__code-confirm--disabled,
.presentation-modal .presentation-modal__code-back--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.presentation-modal .presentation-modal__code-accept {
  color: #334155;
  text-align: center;
  font-family: "Geologica", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.presentation-modal .presentation-modal__code-accept a {
  color: #334155;
  text-decoration: underline;
}

.presentation-modal .presentation-modal__code-accept strong {
  font-weight: 600;
}

/* Mobile Code Step Styles */
@media (width <= 864px) {
  .presentation-modal .presentation-modal__step-code {
    max-width: 100%;
  }

  .presentation-modal .presentation-modal__step-code-title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 20px;
  }

  .presentation-modal .presentation-modal__code-info {
    margin-bottom: 24px;
  }

  .presentation-modal .presentation-modal__code-info-text {
    font-size: 14px;
    line-height: 20px;
  }

  .presentation-modal .presentation-modal__code-phone {
    font-size: 18px;
    line-height: 24px;
  }

  .presentation-modal .presentation-modal__code-icon {
    margin-bottom: 24px;
  }

  .presentation-modal .presentation-modal__code-icon svg {
    width: 48px;
    height: 48px;
  }

  .presentation-modal .presentation-modal__code-input-section {
    margin-bottom: 20px;
  }

  .presentation-modal .presentation-modal__code-input-label {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 12px;
  }

  .presentation-modal .presentation-modal__code-input input {
    width: 160px;
    height: 40px;
    font-size: 18px;
    line-height: 24px;
  }

  .presentation-modal .presentation-modal__code-buttons {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  .presentation-modal .presentation-modal__code-back,
  .presentation-modal .presentation-modal__code-confirm {
    padding: 14px 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .presentation-modal .presentation-modal__code-accept {
    font-size: 11px;
    line-height: 16px;
  }
}
