
:root{
  --bg:#ffffff; --fg:#111827; --muted:#6b7280; --accent:#6f2dbd; --panel:#f9fafb; --border:#e5e7eb;
}
[data-theme="dark"]{
  --bg:#0b0f1a; --fg:#e5e7eb; --muted:#9ca3af; --accent:#8a4bff; --panel:#0f1524; --border:#1f2937;
}
body{ background:var(--bg); color:var(--fg); }
.btn{ background:var(--accent); color:#fff; }
input, select, .border{ border-color:var(--border); }
/* style.css — Modern Dynatrace theme */
@import url('https://dt-cdn.net/fonts/BerninaSans/BerninaSans-Web-Regular-20190314.woff2');
@import url('https://dt-cdn.net/fonts/BerninaSans/BerninaSans-Web-Bold-20190314.woff2');

body {
  font-family: 'Bernina Sans', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  background-color: #F3F4F6;
  color: #111827;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"] {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.375rem;
  background-color: white;
  color: #111827;
  transition: border-color 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="datetime-local"]:focus {
  outline: none;
  border-color: #1496FF;
  box-shadow: 0 0 0 3px rgba(20, 150, 255, 0.1);
}

.btn-primary {
  background-color: #1496FF;
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.btn-primary:hover {
  background-color: #0073E6;
}

.btn-primary:disabled {
  background-color: #9CA3AF;
  cursor: not-allowed;
}

.btn-secondary {
  background-color: rgba(20, 150, 255, 0.1);
  color: #1496FF;
  border: none;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.btn-secondary:hover {
  background-color: rgba(20, 150, 255, 0.2);
}

.btn-secondary:disabled {
  background-color: #E5E7EB;
  color: #9CA3AF;
  cursor: not-allowed;
}

.btn-secondary.active {
  background-color: #1496FF;
  color: white;
}

#statusLog {
  background-color: #F9FAFB;
  border: 1px solid #E5E7EB;
  padding: 1rem;
  border-radius: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-y: auto;
  max-height: 300px;
  color: #111827;
}

.connection-error {
  background-color: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.connection-success {
  background-color: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

#file-status.text-dynatrace-primary {
  font-size: 1.125rem;
  font-weight: 700;
}

.section-collapsed .section-content {
  display: none;
}

.section-collapsed h2 {
  margin-bottom: 0;
}

.toggle-section {
  padding: 0.5rem;
  transition: transform 0.2s;
}

.section-collapsed .toggle-section span {
  transform: rotate(-90deg);
  display: inline-block;
}

#sidebar {
  transition: width 0.3s ease;
}

.sidebar-collapsed {
  width: 0 !important;
  overflow: hidden;
}

.worker-item {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0.375rem;
  background-color: #F3F4F6;
}

.worker-item.active {
  background-color: rgba(20, 150, 255, 0.1);
}

.worker-menu {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  background-color: white;
  border: 1px solid #E5E7EB;
  border-radius: 0.375rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
}

.worker-menu.active {
  display: block;
}

.worker-menu-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.worker-menu-item:hover {
  background-color: #F3F4F6;
}