html, body {
  height: 100%;
}

body {
  background-color: #f5f6fa;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Giriş ekranı ---------- */

.auth-body {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.auth-card {
  width: 100%;
  max-width: 400px;
  border: none;
  border-radius: 1rem;
  margin: 1rem;
}

.auth-logo {
  font-size: 2.5rem;
  color: #0d6efd;
}

/* ---------- Genel ---------- */

.project-toolbar {
  position: sticky;
  top: 56px;
  z-index: 1020;
}

.req-item.active {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.req-item.active span {
  color: #fff !important;
}

.method-select {
  font-weight: 700;
}

.kv-table input.form-control {
  border: 1px solid #e5e7eb;
}

.kv-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
}

.tab-pane-custom.d-none {
  display: none !important;
}

.response-body {
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-word;
  background-color: #f8f9fa;
  margin: 0;
}

#builderTabs .nav-link,
#responseTabs .nav-link {
  cursor: pointer;
  color: #495057;
}

#builderTabs .nav-link.active,
#responseTabs .nav-link.active {
  font-weight: 600;
}

.project-card {
  transition: transform .15s ease, box-shadow .15s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.1) !important;
}

/* ---------- Mobil uyum ---------- */

@media (max-width: 991.98px) {
  .project-toolbar {
    top: 0;
    position: relative;
  }
  #sidebarOffcanvas {
    width: 280px;
  }
  #historyOffcanvas {
    width: 90vw !important;
    max-width: 380px;
  }
}

@media (max-width: 575.98px) {
  #reqMethod {
    max-width: 90px !important;
  }
  .btn-group-sm .btn {
    font-size: 0.72rem;
    padding: 0.25rem 0.4rem;
  }
  #btnSend .btn-label {
    display: none;
  }
}
