/* ===================== Layout ===================== */
.page-try .demo-grid {
  display: grid !important;
  grid-template-columns: 1.1fr .9fr !important;
  gap: 20px;
  align-items: start;
}

.page-try .demo-grid > * {
  min-width: 0;
}


/* ===================== Cards ===================== */
.page-try .card {
  border: 1px solid rgba(255, 255, 255, .2);
  line-height: 1.6; /* consistent typography spacing */
}

.page-try .card p {
  margin: .55rem 0;
}

.page-try ul {
  margin: .6rem 0 1rem;
  padding-left: 1.1rem;
}

.page-try li {
  margin: .35rem 0;
}

.page-try .sep {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin: 1.2rem 0;
}


/* ===================== Code Blocks ===================== */
.page-try pre.code {
  background: #0b1222;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem;
  line-height: 1.55;
  overflow: auto;
  white-space: pre;
}


/* ===================== Attachment Zone ===================== */
.page-try .card .drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  text-align: center;
  min-height: 260px;

  /* visible dashed border + large corners */
  border: 2px dashed #7dd3fc !important;
  border-radius: 20px !important;

  /* subtle glow background */
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(125, 211, 252, .18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(0, 0, 0, .06)) !important;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  padding: 20px;
  transition: border-color .2s ease,
              background .2s ease,
              box-shadow .2s ease,
              transform .12s ease;
}

.page-try .card .drop:hover {
  border-color: #22d3ee !important;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(34, 211, 238, .26), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .08)) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .25),
              inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}

.page-try .card .drop.is-dragover,
.page-try .card .drop.drag,
.page-try .card .drop:focus-visible {
  outline: none;
  border-color: #22d3ee !important;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(34, 211, 238, .32), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .10)) !important;
  box-shadow: 0 8px 26px rgba(34, 211, 238, .20);
}

/* attachment zone details */
.page-try .card .dzicon {
  font-size: 34px;
  line-height: 1;
  opacity: .95;
}

.page-try .card .drop p {
  margin: 0;
}

.page-try .card .link-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}


/* ===================== CTA (Main Buttons) ===================== */
.page-try .cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center horizontally */
  gap: 1rem;               /* spacing between buttons */
  margin: 1.1rem 0 1rem;   /* spacing above dropzone and before counter */
}

.page-try .cta .btn {
  min-width: 180px;
  text-align: center;
}


/* ===================== Status Block ===================== */
.page-try .status-block {
  margin: 1rem 0 1.2rem;
  font-size: .95rem;
  color: var(--muted, #a9b4c9);
  text-align: center;
  line-height: 1.6;
}


/* ===================== View Toggle ===================== */
.page-try .view-toggle {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-top: .8rem;
}
