/* OWL Legal Research — Customer Workspace */

.ws-hero {
  background: linear-gradient(135deg, #37517e 0%, #47b2e4 100%);
  color: #fff;
  padding: 110px 0 50px;
}

.ws-hero .tier-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.ws-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.ws-stat {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.ws-stat .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: #47b2e4;
}

.ws-stat .lbl {
  font-size: 0.8rem;
  color: #6c757d;
}

.onboard-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.onboard-step {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  border-left: 4px solid #dee2e6;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.onboard-step.complete {
  border-left-color: #47b2e4;
}

.onboard-step .step-num {
  font-weight: 700;
  color: #47b2e4;
  font-size: 0.85rem;
}

.tier-features {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.tier-features li {
  margin-bottom: 6px;
}

.research-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  margin-bottom: 32px;
}

.question-guide {
  background: #eef8fc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #c5e8f7;
}

.question-guide h5 {
  color: #37517e;
  margin-bottom: 12px;
}

.example-q {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  border: 1px solid #e9ecef;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.example-q:hover {
  border-color: #47b2e4;
}

.job-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.job-card.active, .job-card:hover {
  border-color: #47b2e4;
}

.doc-tabs-ws {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.doc-tabs-ws li {
  padding: 8px 16px;
  border-radius: 50px;
  background: #e9ecef;
  cursor: pointer;
  font-size: 0.85rem;
}

.doc-tabs-ws li.active {
  background: #47b2e4;
  color: #fff;
}

.doc-viewer-ws pre {
  background: #fafafa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  max-height: 500px;
  overflow: auto;
  font-size: 0.82rem;
  white-space: pre-wrap;
}

.faq-ws .accordion-button:not(.collapsed) {
  background: #eef8fc;
  color: #37517e;
}

.api-key-box {
  background: #1e2a3a;
  color: #a8d8f0;
  border-radius: 8px;
  padding: 16px;
  font-family: monospace;
  font-size: 0.85rem;
  word-break: break-all;
}

.ws-locked {
  text-align: center;
  padding: 80px 20px;
}
