/* ===== GLOBAL ===== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Inter", system-ui;
  background: #f8fafc;
}

/* ===== HEADER ===== */
header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand span {
  font-size: 14px;
  font-weight: 400;
  margin-left: 10px;
  opacity: 0.6;
}

/* ===== TOKEN BOX ===== */
.token-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.token-box input {
  width: 320px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

.token-box input::placeholder {
  color: rgba(255,255,255,0.6);
}

.token-box input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.4);
}

.token-box button {
  padding: 9px 16px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.token-box button:first-of-type {
  background: #6366f1;
  color: #fff;
}

.token-box button:first-of-type:hover {
  background: #4f46e5;
}

.token-box button:last-of-type {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.token-box button:last-of-type:hover {
  background: rgba(255,255,255,0.25);
}

/* ===== STOPLIGHT THEME ===== */
elements-api {
  --sl-color-primary: #6366f1;
  --sl-color-primary-light: #818cf8;

  --sl-sidebar-background: #0f172a;
  --sl-sidebar-text: #cbd5e1;
  --sl-sidebar-active-text: #ffffff;

  --sl-color-text-heading: #0f172a;
  --sl-color-text-body: #475569;

  --sl-border-radius: 14px;
  --sl-font-family: "Inter";
}

/* Sidebar shadow */
.sl-sidebar {
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.08);
}

/* Request panel premium look */
.sl-panel {
  border-radius: 16px !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15) !important;
}

/* =========================================
   REMOVE RIGHT SIDE AUTH BOX (Try It Panel)
   ========================================= */

div[data-test="try-it-auth"] {
  display: none !important;
}

/* Remove left side Security: Bearer Auth panel */
div[data-test="http-operation-security-row"] {
  display: none !important;
}

/* Extra safety for any auth input rows */
div[data-test="auth-try-it-row"] {
  display: none !important;
}
