body {
  font-family: Arial, sans-serif;
  margin: 20px;
}
h1 {
  margin-bottom: 10px;
}
p {
  max-width: 600px;
}
#alertBox {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #007bff;
  background-color: #e7f3ff;
  color: #0056b3;
  display: none;
}
#output {
  width: 100%;
  height: 300px;
  margin-top: 10px;
  font-family: monospace;
}
#copyClipboardBtn,
#copyToClipboardBtn {
  height: 20px;
  cursor: pointer;
  margin-right: 5px;
}
#downloadBtn {
  display: none;
}

/* === Highpoint's Webtools === */
:root {
  --wt-bg: #ffffff;
  --wt-text: #222222;
  --wt-border: #cccccc;
  --wt-muted: #6b7280;
  --wt-chip-bg: #f3f4f6;
  --wt-chip-bg-hover: #e5e7eb;
  --wt-shadow: 0 10px 25px rgba(0,0,0,.10);
}

#webtools {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  margin-top: -25px;
  font-family: inherit;
}

#webtools-toggle {
  display: inline-block;
  background: var(--wt-bg);
  color: var(--wt-text);
  border: 1px solid var(--wt-border);
  padding: 8px 18px;
  border-radius: 0 0 10px 10px;         
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--wt-shadow);
}

#webtools-toggle:hover { background: var(--wt-chip-bg); }

#webtools-panel {
  width: 100%;
  max-width: 680px;
  margin-top: 8px;
  border: 1px solid var(--wt-border);
  background: var(--wt-bg);
  box-shadow: var(--wt-shadow);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-radius: 10px 10px 10px 10px; /* rounded bottom corners */
  transition: max-height .25s ease, opacity .2s ease;
}

#webtools.open #webtools-panel {
  max-height: 330px;
  opacity: 1;
  margin-bottom: 8px;
}

/* Links in one row, wrap on small screens */
#webtools-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 12px;
}

#webtools-links a {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--wt-text);
  background: var(--wt-chip-bg);
  border: 1px solid var(--wt-border);
  border-radius: 6px;
  transition: background .15s ease, transform .12s ease;
}
#webtools-links a:hover { background: var(--wt-chip-bg-hover); transform: translateY(-1px); }
#webtools-links .title { font-weight: 700; font-size: 14px; }
#webtools-links .desc  { color: var(--wt-muted); font-size: 12px; line-height: 1.2; }

/* CSV to URDS Layout Fix */
body { display: block !important; margin: 20px; }
#webtools { width: 100% !important; display: flex !important; flex-direction: column !important; align-items: center !important; margin-bottom: 12px !important; }
.content-row { display: flex; justify-content: space-between; gap: 20px; }
.content-row .main-content { flex: 1 1 auto; margin-right: 0 !important; }
.content-row .sidebar { width: 450px; }
#webtools-panel { max-width: 980px; }