/* GUID Generator — two-panel redesign */

.ugg-scope {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 1400px; margin: 0 auto;
  padding: 70px 4vw 20px;
}

/* ── Hero ── */
.ugg-hero { text-align: center; }
.ugg-hero h1 {
  font-size: 1.3rem !important; font-weight: 800 !important;
  color: var(--brand, #8b5cf6) !important; margin: 0 0 2px !important;
}
#uggScope .ugg-hero p {
  font-size: .8rem !important; color: var(--txt-2, #64748b) !important; margin: 0 !important;
}

/* ── Notice bar ── */
.ugg-notice {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(139,92,246,.07); border: 1px solid rgba(139,92,246,.22);
  border-radius: 12px; padding: 12px 16px;
  font-size: .82rem; line-height: 1.55; color: var(--txt, #0f172a);
}
.ugg-notice i { color: var(--brand, #8b5cf6); margin-top: 2px; flex-shrink: 0; }
.ugg-notice code { background: var(--page-bg, #f1f5f9); padding: 1px 5px; border-radius: 4px; font-size: .8rem; }

/* ── Two-panel wrapper ── */
.ugg-two-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: stretch;
}

/* ── Left panel (sticky) ── */
.ugg-left {
  position: sticky;
  top: 70px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 16px 16px;
  display: flex; flex-direction: column; gap: 10px;
}

.ugg-field { display: flex; flex-direction: column; gap: 5px; }
.ugg-field label {
  font-size: .78rem; font-weight: 700;
  color: var(--txt-2, #64748b); text-transform: uppercase; letter-spacing: .04em;
}
.ugg-input {
  width: 100%; padding: 7px 10px; border-radius: 8px;
  border: 1.5px solid var(--border, #e2e8f0);
  background: var(--page-bg, #f8fafc); color: var(--txt, #0f172a);
  font-size: .9rem; font-family: inherit;
  transition: border-color .15s;
  box-sizing: border-box;
}
.ugg-input:focus { outline: none; border-color: var(--brand, #8b5cf6); }

/* ── Section labels ── */
.ugg-section-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--txt-2, #94a3b8);
  padding-bottom: 2px; border-bottom: 1px solid var(--border, #e2e8f0);
  margin-top: 2px;
}

/* ── Checkboxes ── */
.ugg-checks { display: flex; flex-direction: column; gap: 5px; }
.ugg-chk {
  display: flex; align-items: center; gap: 9px;
  font-size: .88rem; font-weight: 500; color: var(--txt, #0f172a);
  cursor: pointer; user-select: none;
}
.ugg-chk input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.ugg-box {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
  border: 2px solid var(--border, #cbd5e1);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .14s, background .14s;
}
.ugg-chk input[type="checkbox"]:checked + .ugg-box {
  border-color: var(--brand, #8b5cf6); background: var(--brand, #8b5cf6);
}
.ugg-chk input[type="checkbox"]:checked + .ugg-box::after {
  content: '\2713'; color: #fff; font-size: .62rem; font-weight: 900; line-height: 1;
}
.ugg-hint { color: var(--txt-2, #94a3b8); font-size: .75rem; cursor: help; }
.ugg-autocopy-chk { margin-top: 2px; }

/* ── Buttons ── */
.ugg-btns { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 6px; }
.ugg-btn-primary, .ugg-btn-secondary {
  width: 100%; padding: 11px 16px; border-radius: 11px; border: none;
  font-size: .9rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .14s, box-shadow .14s, opacity .14s;
}
.ugg-btn-primary {
  background: linear-gradient(135deg, var(--brand, #8b5cf6), var(--brand-dark, #7c3aed));
  color: #fff;
  box-shadow: 0 8px 20px rgba(139,92,246,.3);
}
.ugg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(139,92,246,.4); }
.ugg-btn-secondary {
  background: var(--page-bg, #f1f5f9);
  color: var(--txt, #0f172a);
  border: 1.5px solid var(--border, #e2e8f0);
}
.ugg-btn-secondary:hover { background: var(--border, #e2e8f0); }

/* ── Right panel ── */
.ugg-right {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 8px;
}

.ugg-result-head {
  display: flex; align-items: center; justify-content: space-between;
}
.ugg-result-label {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--txt-2, #64748b);
}
.ugg-result-actions { display: flex; gap: 8px; }
.ugg-icon-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px; border: 1.5px solid var(--border, #e2e8f0);
  background: var(--page-bg, #f8fafc); color: var(--txt, #0f172a);
  font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: background .13s, border-color .13s;
}
.ugg-icon-btn:hover { background: var(--border, #e2e8f0); }
.ugg-icon-btn--danger:hover { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }

.ugg-output {
  flex: 1; width: 100%; resize: none;
  border: 1.5px solid var(--border, #e2e8f0); border-radius: 8px;
  background: var(--page-bg, #f8fafc); color: var(--txt, #0f172a);
  font-family: 'SFMono-Regular', Consolas, monospace; font-size: .85rem; line-height: 1.6;
  padding: 10px 12px; box-sizing: border-box;
  transition: border-color .14s;
  min-height: 220px;
}
.ugg-output:focus { outline: none; border-color: var(--brand, #8b5cf6); }

.ugg-stat {
  font-size: .78rem; color: var(--txt-2, #64748b); text-align: center;
  min-height: 1.2em;
}

.ugg-result-btns {
  display: flex; align-items: center; gap: 10px; margin-top: 2px;
}
.ugg-result-btns .ugg-btn-primary { flex: 1; }
.ugg-result-btns .ugg-icon-btn { flex-shrink: 0; }

/* ── Fortune ── */
.ugg-fortune { margin-top: 2px; }
.ugg-fortune-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--txt-2, #94a3b8);
  margin-bottom: 5px;
}
.ugg-fortune-box {
  background: #0f1115; border: 2px solid #6df23c; border-radius: 8px;
  padding: 8px 12px; color: #6df23c;
  font-family: 'SFMono-Regular', Consolas, monospace; font-size: .76rem; line-height: 1.4;
  box-shadow: 0 0 10px rgba(109,242,60,.12);
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .ugg-two-panel { grid-template-columns: 1fr; }
  .ugg-right { min-height: 320px; }
  .ugg-output { min-height: 240px; }
}
