:root {
  --bg: #0f172a; /* slate-900 */
  --card: #111827cc; /* semi dark */
  --muted: #94a3b8; /* slate-400 */
  --text: #e5e7eb; /* gray-200 */
  --accent: #22d3ee; /* cyan-400 */
  --accent-2: #06b6d4; /* cyan-500 */
  --radius: 18px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
* {
  box-sizing: border-box;
}
.sec-main-wrap {
    padding: 50px 20px;
}
.js-min-wrap .title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.35rem;
  color: #1f2937;
}
.js-min-wrap .title .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0f256e;
  box-shadow: 0 0 18px var(--accent-2);
}
.js-min-wrap .sub {
  margin: 0 0 18px;
  color: var(--muted);
}
.js-min-wrap .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
}
.js-min-wrap .grid .card {
  background: linear-gradient(180deg, #0b1220, #0b1220cc);
  border: 1px solid #1f2937;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  display: flex;
  flex-direction: column;
  width: calc(50% - 7.5px);
  gap: 10px;
}
.js-min-wrap .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--muted);
}
.js-min-wrap textarea,
.js-min-wrap pre {
  width: 100%;
  min-height: 360px;
  max-height: 70svh;
  resize: vertical;
  border: 1px solid #1f2937;
  outline: none;
  background: #0b1220;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  line-height: 1.45;
  box-shadow: inset 0 0 0 1px #0f172a;
  white-space: pre;
  overflow: auto;
}
.js-min-wrap pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.js-min-wrap .controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  flex-direction: column;
}
.js-min-wrap button {
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ddeb9d, var(--accent-2));
  color: #082f49;
  font-weight: 700;
  transition: transform 0.06s ease, filter 0.15s ease;
}
.js-min-wrap button:active {
  transform: translateY(1px);
}
.js-min-wrap .btn-secondary {
  background: #111827;
  color: var(--text);
  border: 1px solid #1f2937;
  font-weight: 600;
}
.js-min-wrap .pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #1f2937;
  color: #a3b2c7;
}
.js-min-wrap .footer {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.js-min-wrap .hint {
  font-size: 0.8rem;
  color: var(--muted);
}
.js-min-wrap .toast {
  position: fixed;
  inset: auto 20px 20px auto;
  background: linear-gradient(135deg, var(--accent-2), #ddeb9d);
  color: #06151d;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  display: none;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
  text-align: center;
  width: 250px;
}
.js-min-wrap .toast.show {
  display: block;
  animation: pop 0.9s ease;
}
@keyframes pop {
  0% { transform: translateY(8px); opacity: 0; }
  20% { transform: none; opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}
@media screen and (max-width:991.98px){
  .js-min-wrap .grid .card { width: 100%; }
}


/* width */
.js-min-wrap ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
.js-min-wrap ::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.js-min-wrap ::-webkit-scrollbar-thumb {
  background: #ddeb9d;
}

/* Handle on hover */
.js-min-wrap ::-webkit-scrollbar-thumb:hover {
  background: #ddeb9d;
}


@media screen and (max-width:991.98px){
  .js-min-wrap .grid .card {
    width: 100%;
  }
}
