/* static/css/verseweave.css */
.verseweave-glass {
    background: rgb(var(--c-white) / 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgb(var(--c-white) / 0.18);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.verseweave-glow { text-shadow: 0 0 30px rgb(var(--c-amber-400) / 0.8); }

.verseweave-input {
    /* Plain-CSS replacement for the former Tailwind at-apply rule (Phase 0).
       Browsers drop that unknown at-rule, so this styling never applied
       when verseweave.css was served directly. Keep in sync with the
       utilities it replaced: w-full px-6 py-5 bg-white/10 border
       border-white/25 rounded-2xl text-white text-xl transition-all
       duration-300, plus the focus: variants below. */
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgb(var(--c-white) / 0.1);
    border: 1px solid rgb(var(--c-white) / 0.25);
    border-radius: 1rem;
    color: rgb(var(--c-white));
    font-size: 1.25rem;
    line-height: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.verseweave-input:focus {
    /* focus:outline-none focus:border-amber-400 focus:ring-4 focus:ring-amber-400/30 */
    outline: none;
    border-color: rgb(var(--c-amber-400));
    box-shadow: 0 0 0 4px rgb(var(--c-amber-400) / 0.3);
}

.verseweave-form-container {
  display: flex;
  /* Optional: Adjust spacing and alignment */
  justify-content: space-between; /* Distributes items evenly */
  align-items: center; /* Aligns items vertically in the center */
}

.verseweave-form-field {
  display: inline-block;
  margin-right: 10px; /* Add some spacing between elements */
}
/* Roadmap 35: weave thread chain (thin connecting line, like X). */
.weave-thread-item {
  display: flex;
  gap: 0.85rem;
  align-items: stretch;
  position: relative;
}
.weave-thread-item .weave-card {
  margin-bottom: 0.75rem;
}
.weave-thread-current .weave-card {
  box-shadow: 0 0 0 2px rgb(251 146 60 / 0.65), 0 10px 40px rgba(0, 0, 0, 0.4);
}
.weave-thread-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 0.75rem;
  flex-shrink: 0;
  padding-top: 0.55rem;
}
.weave-thread-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgb(251 146 60);
  box-shadow: 0 0 0 3px rgb(251 146 60 / 0.25);
  flex-shrink: 0;
}
.weave-thread-line {
  width: 2px;
  flex: 1 1 auto;
  min-height: 1.5rem;
  margin-top: 0.2rem;
  background: rgb(var(--c-line, 167 167 167) / 0.55);
}
.weave-thread-pos {
  letter-spacing: 0.02em;
}
@media (min-width: 640px) {
  .weave-thread-rail {
    width: 0.85rem;
    padding-top: 0.7rem;
  }
}
