/* Presbot business app shell */
.pb-app-nav .nav-link {
  color: #e5e7eb;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  margin-bottom: 2px;
}
.pb-app-nav .nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.pb-app-nav .nav-link.active {
  background: #fff;
  color: #18181b;
}
.pb-page-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 0.25rem;
}
.pb-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.pb-stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pb-stat-value {
  font-size: 1.75rem;
  font-weight: 600;
  color: #18181b;
}
.pb-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.pb-checklist-item.done .pb-check-label {
  color: #6b7280;
  text-decoration: line-through;
}
.pb-btn-primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
}
.pb-btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}
.pb-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.pb-config-tabs .nav-link {
  color: #374151;
  font-weight: 500;
  border-radius: 6px;
  margin-right: 0.25rem;
}
.pb-config-tabs .nav-link.active {
  background: #2563eb;
  color: #fff;
}
.pb-alert-guardrail {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #92400e;
  font-size: 0.9rem;
}
.pb-copy-field {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.75rem;
  word-break: break-all;
}
.account-settings .col-md-2 {
  background: #18181b !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
  box-shadow: none !important;
}
.account-settings .col-md-10 {
  background: #fafafa !important;
}
.account-settings .page-header {
  display: none;
}
.account-settings .section-shaped {
  min-height: 0 !important;
}
.account-settings #canvas {
  display: none !important;
}

/* Onboarding create (post-signup, no chatbot yet) */
.pb-onboarding-body {
  background: #f4f5f7;
  min-height: 100vh;
  margin: 0;
  color: #18181b;
  -webkit-font-smoothing: antialiased;
}
.pb-onboarding-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.pb-onboarding-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.pb-onboarding-brand img {
  display: block;
  height: 32px;
  width: auto;
}
.pb-onboarding-account {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pb-onboarding-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3rem;
}
.pb-onboarding-card {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.pb-onboarding-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #18181b;
}
.pb-onboarding-subcopy {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}
.pb-onboarding-form .form-group {
  margin-bottom: 1.25rem;
}
.pb-onboarding-form label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.35rem;
}
.pb-onboarding-form .form-control {
  border-radius: 8px;
  border-color: #d1d5db;
  padding: 0.625rem 0.875rem;
}
.pb-onboarding-form .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.pb-onboarding-submit {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
}
@media (max-width: 575.98px) {
  .pb-onboarding-card {
    padding: 1.5rem 1.25rem;
    border-radius: 10px;
  }
  .pb-onboarding-title {
    font-size: 1.5rem;
  }
  .pb-onboarding-main {
    padding: 1.5rem 1rem 2rem;
  }
}

/* Modern authenticated app shell */
.pb-app-body {
  background: #f4f5f7;
  min-height: 100vh;
  margin: 0;
  color: #18181b;
  -webkit-font-smoothing: antialiased;
}
.pb-app-layout {
  display: flex;
  min-height: 100vh;
}
.pb-app-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #18181b;
  display: flex;
  flex-direction: column;
}
.pb-app-sidebar-brand {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pb-app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pb-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.pb-app-topbar-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #18181b;
}
.pb-app-content {
  flex: 1;
  padding: 1.5rem;
  max-width: 1200px;
  width: 100%;
}
@media (max-width: 767.98px) {
  .pb-app-layout {
    flex-direction: column;
  }
  .pb-app-sidebar {
    width: 100%;
  }
  .pb-app-nav .nav-link {
    display: inline-block;
    margin-right: 0.25rem;
  }
  .pb-app-content {
    padding: 1rem;
  }
}
.pb-onboarding-submit {
  text-transform: none !important;
}
