.vulcano-scheduler {
  --vulcano-bg: #08141f;
  --vulcano-panel: rgba(8, 20, 31, 0.92);
  --vulcano-soft: #11334f;
  --vulcano-line: rgba(120, 196, 255, 0.2);
  --vulcano-text: #eaf6ff;
  --vulcano-muted: #8fb9d6;
  --vulcano-accent: #3fd0ff;
  --vulcano-accent-strong: #00a6e0;
  --vulcano-danger: #ff7d7d;
  color: var(--vulcano-text);
  font-family: "Exo 2", sans-serif;
}

.vulcano-scheduler [hidden] {
  display: none !important;
}

.vulcano-scheduler__launcher,
.vulcano-scheduler__request,
.vulcano-scheduler__submit,
.vulcano-scheduler__slot,
.vulcano-scheduler__join {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.vulcano-scheduler__launcher,
.vulcano-scheduler__request,
.vulcano-scheduler__submit,
.vulcano-scheduler__join {
  background: linear-gradient(135deg, var(--vulcano-accent), var(--vulcano-accent-strong));
  color: #04111a;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  gap: 10px;
  padding: 14px 26px;
}

.vulcano-scheduler__launcher:hover,
.vulcano-scheduler__launcher:focus,
.vulcano-scheduler__launcher:active,
.vulcano-scheduler__request:hover,
.vulcano-scheduler__request:focus,
.vulcano-scheduler__request:active,
.vulcano-scheduler__submit:hover,
.vulcano-scheduler__submit:focus,
.vulcano-scheduler__submit:active,
.vulcano-scheduler__join:hover,
.vulcano-scheduler__join:focus,
.vulcano-scheduler__join:active,
.vulcano-scheduler__slot:hover,
.vulcano-scheduler__slot:focus,
.vulcano-scheduler__slot:active,
.vulcano-scheduler__nav:hover,
.vulcano-scheduler__nav:focus,
.vulcano-scheduler__nav:active,
.vulcano-scheduler__back:hover,
.vulcano-scheduler__back:focus,
.vulcano-scheduler__back:active {
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}

.vulcano-scheduler__launcher i {
  color: #009ee0;
  font-size: 18px;
}

.vulcano-scheduler--button .vulcano-scheduler__shell {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 13, 0.72);
  z-index: 9999;
  padding: 24px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vulcano-scheduler__panel {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  background:
    radial-gradient(circle at top right, rgba(63, 208, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(18, 44, 67, 0.94), var(--vulcano-panel));
  border: 1px solid var(--vulcano-line);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  padding: 28px;
  position: relative;
}

.vulcano-scheduler__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--vulcano-line) !important;
  border-radius: 50%;
  background: rgba(6, 19, 29, 0.96) !important;
  color: var(--vulcano-text) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  padding: 0;
  cursor: pointer;
}

.vulcano-scheduler .vulcano-scheduler__close:hover,
.vulcano-scheduler .vulcano-scheduler__close:focus,
.vulcano-scheduler .vulcano-scheduler__close:active {
  background: rgba(10, 34, 51, 0.98) !important;
  color: #ecfbff !important;
  border-color: rgba(0, 229, 255, 0.5) !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.vulcano-scheduler__title {
  color: var(--vulcano-text);
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.vulcano-scheduler__intro {
  color: var(--vulcano-muted);
  font-size: 16px;
  margin: 0 0 18px;
}

.vulcano-scheduler__status {
  min-height: 24px;
  color: var(--vulcano-muted);
  margin-bottom: 14px;
  font-size: 14px;
}

.vulcano-scheduler__status.is-error {
  color: var(--vulcano-danger);
}

.vulcano-scheduler__form-grid {
  display: grid;
  gap: 16px;
}

.vulcano-scheduler__stage {
  min-height: 320px;
}

.vulcano-scheduler__form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vulcano-scheduler__browse,
.vulcano-scheduler__form {
  min-height: 100%;
}

.vulcano-scheduler__field,
.vulcano-scheduler__slots-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vulcano-scheduler__field span,
.vulcano-scheduler__field-label,
.vulcano-scheduler__selected-slot {
  font-size: 14px;
  color: var(--vulcano-muted);
}

.vulcano-scheduler__field input {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--vulcano-line);
  background: rgba(5, 14, 21, 0.7);
  color: var(--vulcano-text);
  padding: 0 14px;
}

.vulcano-scheduler__navigator {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.vulcano-scheduler__nav {
  width: 52px;
  height: 52px;
  border: 1px solid var(--vulcano-line) !important;
  border-radius: 50%;
  background: rgba(6, 19, 29, 0.96) !important;
  color: var(--vulcano-text) !important;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.vulcano-scheduler__day {
  background: rgba(7, 25, 39, 0.9);
  border: 1px solid var(--vulcano-line);
  border-radius: 18px;
  color: var(--vulcano-text);
  font-size: 20px;
  font-weight: 700;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-transform: capitalize;
}

.vulcano-scheduler__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 46px;
  justify-content: center;
  align-content: center;
}

.vulcano-scheduler__slots-wrap {
  min-height: 200px;
}

.vulcano-scheduler__loading {
  position: relative;
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  border: 1px dashed rgba(120, 196, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 229, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(6, 19, 29, 0.82), rgba(8, 20, 31, 0.92));
}

.vulcano-scheduler__loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.45) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(0,229,255,0.3) 0 1px, transparent 1.5px);
  background-size: 90px 90px, 140px 140px;
  background-position: 0 0, 30px 20px;
  opacity: 0.25;
  pointer-events: none;
}

.vulcano-scheduler__loading-trail {
  position: absolute;
  left: 12%;
  right: 18%;
  top: 52%;
  height: 18px;
  transform: translateY(-50%);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 229, 255, 0.05) 0 10px,
      rgba(0, 229, 255, 0.4) 10px 22px,
      rgba(0, 166, 224, 0.08) 22px 34px
    );
  filter: blur(0.3px);
  opacity: 0.85;
  border-radius: 999px;
  animation: vulcano-scheduler-trail 1.2s linear infinite;
}

.vulcano-scheduler__loading-trail::before,
.vulcano-scheduler__loading-trail::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -2%;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(63, 208, 255, 0.02), rgba(0, 229, 255, 0.45), rgba(0, 229, 255, 0));
}

.vulcano-scheduler__loading-trail::after {
  top: calc(50% + 12px);
  width: 82%;
  opacity: 0.55;
}

.vulcano-scheduler__loading-rocket {
  position: absolute;
  left: 14%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  color: #00d4ff;
  font-size: 34px;
  text-shadow:
    0 0 12px rgba(0, 212, 255, 0.55),
    0 0 22px rgba(0, 229, 255, 0.25);
  animation: vulcano-scheduler-rocket 1.9s ease-in-out infinite;
}

.vulcano-scheduler__loading-rocket::before,
.vulcano-scheduler__loading-rocket::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255, 181, 76, 0), rgba(255, 181, 76, 0.95), rgba(255, 110, 64, 0.15));
  filter: blur(0.5px);
  animation: vulcano-scheduler-burn 0.4s ease-in-out infinite alternate;
}

.vulcano-scheduler__loading-rocket::after {
  left: -28px;
  width: 16px;
  top: calc(50% + 8px);
  opacity: 0.8;
}

.vulcano-scheduler__loading-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  color: var(--vulcano-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

.vulcano-scheduler__slot {
  background: rgba(7, 25, 39, 0.9) !important;
  color: var(--vulcano-text) !important;
  border: 1px solid var(--vulcano-line) !important;
  border-radius: 18px;
  font-weight: 700;
  padding: 14px 18px;
  min-width: 124px;
}

.vulcano-scheduler__slot:hover,
.vulcano-scheduler__nav:hover,
.vulcano-scheduler__launcher:hover,
.vulcano-scheduler__request:hover,
.vulcano-scheduler__submit:hover,
.vulcano-scheduler__join:hover,
.vulcano-scheduler__back:hover {
  transform: translateY(-1px);
}

.vulcano-scheduler .vulcano-scheduler__launcher,
.vulcano-scheduler .vulcano-scheduler__request,
.vulcano-scheduler .vulcano-scheduler__submit,
.vulcano-scheduler .vulcano-scheduler__join {
  background: linear-gradient(135deg, var(--vulcano-accent), var(--vulcano-accent-strong)) !important;
  color: #04111a !important;
  border: 0 !important;
}

.vulcano-scheduler .vulcano-scheduler__launcher:hover,
.vulcano-scheduler .vulcano-scheduler__launcher:focus,
.vulcano-scheduler .vulcano-scheduler__launcher:active,
.vulcano-scheduler .vulcano-scheduler__request:hover,
.vulcano-scheduler .vulcano-scheduler__request:focus,
.vulcano-scheduler .vulcano-scheduler__request:active,
.vulcano-scheduler .vulcano-scheduler__submit:hover,
.vulcano-scheduler .vulcano-scheduler__submit:focus,
.vulcano-scheduler .vulcano-scheduler__submit:active,
.vulcano-scheduler .vulcano-scheduler__join:hover,
.vulcano-scheduler .vulcano-scheduler__join:focus,
.vulcano-scheduler .vulcano-scheduler__join:active {
  background: linear-gradient(135deg, #55ddff, #00b7ef) !important;
  color: #04111a !important;
  border: 0 !important;
}

.vulcano-scheduler .vulcano-scheduler__nav:hover,
.vulcano-scheduler .vulcano-scheduler__nav:focus,
.vulcano-scheduler .vulcano-scheduler__nav:active,
.vulcano-scheduler .vulcano-scheduler__back:hover,
.vulcano-scheduler .vulcano-scheduler__back:focus,
.vulcano-scheduler .vulcano-scheduler__back:active {
  background: rgba(10, 34, 51, 0.98) !important;
  color: #ecfbff !important;
  border-color: rgba(0, 229, 255, 0.5) !important;
}

.vulcano-scheduler__slot:hover,
.vulcano-scheduler__slot.is-selected {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(0, 166, 224, 0.36)) !important;
  border-color: rgba(0, 229, 255, 0.68) !important;
  color: #ecfbff !important;
}

.vulcano-scheduler__selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.vulcano-scheduler__request[disabled],
.vulcano-scheduler__submit[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.vulcano-scheduler__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vulcano-scheduler__form-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vulcano-scheduler__back {
  align-self: flex-start;
  background: rgba(6, 19, 29, 0.96) !important;
  border: 1px solid var(--vulcano-line) !important;
  border-radius: 999px;
  color: var(--vulcano-muted) !important;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 16px;
}

.vulcano-scheduler__empty {
  align-items: center;
  background: rgba(6, 19, 29, 0.58);
  border: 1px dashed rgba(120, 196, 255, 0.18);
  border-radius: 16px;
  color: var(--vulcano-muted);
  display: flex;
  justify-content: center;
  min-height: 120px;
  padding: 12px 16px;
  text-align: center;
}

.vulcano-scheduler__success {
  background: rgba(34, 123, 103, 0.2);
  border: 1px solid rgba(93, 232, 195, 0.3);
  border-radius: 14px;
  color: #c8fff1;
  padding: 14px 16px;
}

.vulcano-scheduler__result {
  min-height: 320px;
}

.vulcano-scheduler__success-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  border: 1px solid rgba(93, 232, 195, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at top center, rgba(93, 232, 195, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(10, 30, 38, 0.96), rgba(6, 19, 29, 0.98));
  padding: 28px 24px;
}

.vulcano-scheduler__success-icon {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(93, 232, 195, 0.18), rgba(39, 186, 153, 0.3));
  border: 1px solid rgba(93, 232, 195, 0.38);
  color: #c8fff1;
  font-size: 34px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(93, 232, 195, 0.14);
}

.vulcano-scheduler__success-title {
  margin: 0;
  color: var(--vulcano-text);
  font-size: 30px;
  line-height: 1.1;
}

.vulcano-scheduler__success-message,
.vulcano-scheduler__success-extra {
  color: var(--vulcano-muted);
  max-width: 560px;
}

.vulcano-scheduler__success-message p,
.vulcano-scheduler__success-extra p {
  margin: 0;
}

.vulcano-scheduler__restart {
  background: rgba(6, 19, 29, 0.96) !important;
  border: 1px solid rgba(120, 196, 255, 0.28) !important;
  border-radius: 999px;
  color: #ecfbff !important;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 22px;
}

.vulcano-scheduler .vulcano-scheduler__restart:hover,
.vulcano-scheduler .vulcano-scheduler__restart:focus,
.vulcano-scheduler .vulcano-scheduler__restart:active {
  background: rgba(10, 34, 51, 0.98) !important;
  color: #ecfbff !important;
  border-color: rgba(0, 229, 255, 0.5) !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

@keyframes vulcano-scheduler-rocket {
  0% {
    left: 16%;
    transform: translate(-50%, -50%) rotate(-8deg);
  }
  50% {
    left: 80%;
    transform: translate(-50%, -50%) rotate(4deg);
  }
  100% {
    left: 16%;
    transform: translate(-50%, -50%) rotate(-8deg);
  }
}

@keyframes vulcano-scheduler-trail {
  0% {
    opacity: 0.45;
    background-position: 0 0;
  }
  100% {
    opacity: 0.95;
    background-position: 38px 0;
  }
}

@keyframes vulcano-scheduler-burn {
  0% {
    transform: translateY(-50%) scaleX(0.85);
    opacity: 0.65;
  }
  100% {
    transform: translateY(-50%) scaleX(1.2);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .vulcano-scheduler--button .vulcano-scheduler__shell {
    align-items: flex-start;
  }

  .vulcano-scheduler__panel {
    padding: 22px 18px;
  }

  .vulcano-scheduler__form-grid {
    grid-template-columns: 1fr;
  }

  .vulcano-scheduler__navigator {
    grid-template-columns: 44px 1fr 44px;
  }

  .vulcano-scheduler__nav {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .vulcano-scheduler__day {
    font-size: 16px;
    min-height: 50px;
    padding: 0 12px;
  }

  .vulcano-scheduler__loading {
    min-height: 132px;
  }

  .vulcano-scheduler__loading-rocket {
    font-size: 28px;
  }

  .vulcano-scheduler__title {
    font-size: 28px;
  }
}
