/* Full-width "admin dashboard" UI (front-end tools page), scoped by enqueue. */
.lodt-shell {
  font-size: 14px; /* text-sm */
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: #f8fafc; /* slate-50 */
  min-height: 100vh;
}

.lodt-mono {
  font-family: ui-monospace, "JetBrains Mono", "Roboto Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.lodt-shell * {
  box-sizing: border-box;
}

.lodt-shell {
  display: flex;
  min-height: 100vh;
}

.lodt-sidebar {
  width: 288px; /* w-72 */
  background: #0f172a; /* slate-900 */
  color: #cbd5e1; /* slate-300 */
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
}

.lodt-main {
  flex: 1;
  margin-left: 288px;
  padding: 40px; /* p-10 */
  background: #f8fafc;
}

@media (max-width: 960px) {
  .lodt-sidebar {
    position: static;
    width: 100%;
    height: auto;
  }
  .lodt-main {
    margin-left: 0;
    padding: 16px;
  }
  .lodt-shell {
    flex-direction: column;
  }
}

.lodt-nav {
  padding: 111px 16px 24px 16px; /* pt-24 + ~15px extra */
  display: flex;
  flex-direction: column;
  gap: 8px; /* space-y-2 */
}

.lodt-nav__item {
  display: block;
  padding: 12px 16px;
  border-radius: 8px; /* rounded-lg */
  font-size: 14px;
  color: #cbd5e1;
  text-decoration: none;
}

.lodt-nav__item:hover {
  background: #1e293b; /* slate-800 */
  color: #fff;
}

.lodt-nav__item.is-active {
  background: #4f46e5; /* indigo-600 */
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(30, 41, 59, 0.2);
}

.lodt-main {
  color: #0f172a;
}

.lodt-main__header {
  margin-bottom: 32px;
}

.lodt-page-title {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.lodt-page-subtitle {
  margin-top: 8px;
  color: #64748b;
}

/* Two-pane system inside main */
.lodt-dashboard {
  display: grid;
  grid-template-columns: 1fr 2fr; /* 1/3 to 2/3 */
  gap: 0;
  background: #fff;
  border: 1px solid #e2e8f0; /* border-slate-200 */
  border-radius: 12px;
  overflow: hidden;
}

.lodt-pane {
  padding: 16px;
  min-width: 0;
}

.lodt-pane--config {
  border-right: 1px solid #e2e8f0;
  padding: 24px;
  border-right: 1px solid #e2e8f0;
}

.lodt-pane--results {
  padding: 24px;
}

@media (max-width: 960px) {
  .lodt-dashboard {
    grid-template-columns: 1fr;
  }
  .lodt-pane--config {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }
}

.lodt-section-title {
  font-weight: 700;
  margin: 0 0 12px 0;
  font-size: 13px;
  color: #334155; /* slate-700 */
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lodt-btn {
  appearance: none;
  border: 1px solid #cbd5e1; /* slate-300 */
  border-radius: 8px; /* rounded-lg */
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.lodt-btn-primary {
  background: #4f46e5; /* indigo-600 */
  border-color: #4f46e5;
  color: #fff;
}

.lodt-btn-primary:hover {
  background: #4338ca; /* indigo-700 */
  border-color: #4338ca;
}

.lodt-btn-secondary {
  background: #fff;
  color: #0f172a;
}

.lodt-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.03);
}

.lodt-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.lodt-tool-form input[type="text"],
.lodt-tool-form select,
.lodt-tool-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px; /* rounded-lg */
  border: 1px solid #cbd5e1; /* slate-300 */
  background: #fff;
  color: #0f172a;
}

.lodt-tool-form p {
  margin: 0 0 12px 0;
}

.lodt-tool-form label strong {
  font-weight: 600;
}

.lodt-results-table {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.lodt-table {
  width: 100%;
  border-collapse: collapse;
}

.lodt-table th,
.lodt-table td {
  text-align: left;
  padding: 16px 24px; /* py-4 px-6 */
  border-bottom: 1px solid #e2e8f0; /* slate-200 */
  vertical-align: top;
}

.lodt-table thead th {
  background: rgba(15, 23, 42, 0.03);
  font-weight: 700;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lodt-table tbody tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.02);
}

.lodt-table tbody tr:hover td {
  background: rgba(15, 23, 42, 0.03);
}

.lodt-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
}

/* Legacy output box retained for non-table tools if needed */

