:root {
  /* Dark theme colors from style guide */
  --bg-dark: #0b1020;
  --bg-end: #0f172a;
  --bg-panel: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(255, 255, 255, 0.12);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5f5;

  --ai-start: #7c83ff;
  --ai-end: #b084ff;

  --cta-primary: #6366f1;
  --cta-secondary: rgba(255, 255, 255, 0.12);

  /* Legacy mappings for compatibility */
  --primary-color: #6366f1;
  --secondary-color: #4f46e5;
  --background-color: var(--bg-dark);
  --surface-color: var(--bg-panel);
  --text-color: var(--text-primary);
  --text-muted: var(--text-secondary);
  --border-color: var(--border-soft);
  --success-color: #10b981;
  --warning-color: #f59e0b;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, #1e1b4b, var(--bg-end));
  color: var(--text-primary);
  margin: 0;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: var(--text-primary);
}

/* Prevent caret/text selection on non-editable UI elements */
.status-step,
.sidebar-section h3,
.concept-card-header,
.campaign-header,
.step-indicator,
.step-label,
.concept-status-badge,
.campaign-status-badge {
  user-select: none;
  -webkit-user-select: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.8rem;
  min-height: 3.5rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--ai-start), var(--ai-end));
  color: #0b1020;
  box-shadow: 0 10px 30px rgba(124, 131, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(124, 131, 255, 0.5);
  color: #0b1020;
}

.btn-secondary {
  background: var(--cta-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-large {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

/* Campaign Cards */
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.campaign-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.campaign-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.campaign-card h3 {
  color: var(--text-primary);
  margin-top: 0;
}

.campaign-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, rgba(124, 131, 255, 0.2), rgba(176, 132, 255, 0.2));
  color: #a5b4fc;
  border: 1px solid rgba(124, 131, 255, 0.3);
}

.campaign-input {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Layout */
.campaign-layout {
  display: flex;
  gap: 2rem;
  height: calc(100vh - 200px);
}

.campaign-sidebar {
  width: 300px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.5rem;
  overflow-y: auto;
}

.campaign-main {
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Chat Interface */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.messages-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.message {
  display: flex;
  gap: 1rem;
  max-width: 80%;
}

.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-content {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  border-radius: 1rem;
  border-top-left-radius: 0;
  color: var(--text-primary);
}

.user-message .message-content {
  background: linear-gradient(135deg, var(--ai-start), var(--ai-end));
  border: none;
  color: #0b1020;
  border-radius: 1rem;
  border-top-right-radius: 0;
}

.message-header {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.message-avatar {
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
}

/* Input Area */
.chat-input-form {
  padding: 1.5rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
}

.input-group {
  display: flex;
  gap: 1rem;
}

.chat-textarea {
  flex-grow: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  resize: none;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.chat-textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.chat-textarea:focus {
  outline: none;
  border-color: var(--ai-start);
  box-shadow: 0 0 0 2px rgba(124, 131, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.form-control {
  width: 100%;
  padding: 0 0.9rem;
  min-height: 3.5rem;
  display: flex !important;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.form-control:focus {
  outline: none;
  border-color: var(--ai-start);
  box-shadow: 0 0 0 2px rgba(124, 131, 255, 0.25);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23cbd5f5' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  color-scheme: dark;
}

select.form-control option {
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

/* Status Steps */
.status-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  color: var(--text-secondary);
}

.status-step.active {
  background: linear-gradient(90deg, rgba(124, 131, 255, 0.15), rgba(176, 132, 255, 0.15));
  color: #a5b4fc;
  font-weight: 600;
  border: 1px solid rgba(124, 131, 255, 0.3);
}

.status-step.completed {
  color: var(--success-color);
}

.step-indicator {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.active .step-indicator {
  background: linear-gradient(135deg, var(--ai-start), var(--ai-end));
  color: #0b1020;
}

.completed .step-indicator {
  background: var(--success-color);
  color: white;
}

/* Structured Data Styling */
.questions-list {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  color: var(--text-secondary);
}

.ambiguities-box {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 8px;
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.brief-summary-preview {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 0.875rem;
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  line-height: 1.6;
}

.brief-summary-preview p {
  margin: 0 0 0.5rem 0;
}

.brief-summary-preview p:last-child {
  margin-bottom: 0;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  height: 24px;
}

.typing-indicator span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--ai-start), var(--ai-end));
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
  margin: 0 2px;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

/* Streaming Message Styles */
.message.streaming .streaming-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: var(--primary-color);
  margin-left: 2px;
  animation: blink 1s infinite;
  vertical-align: text-bottom;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.streaming-content {
  display: inline;
}

/* Error Message Styles */
.error-message .message-content {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.error-message .message-avatar {
  background: #fee2e2;
}

/* Suggestion Chips */
.suggestion-chip {
  margin-top: 1rem;
}

.suggestion-chip button {
  background: linear-gradient(90deg, rgba(124, 131, 255, 0.2), rgba(176, 132, 255, 0.2));
  border: 1px solid rgba(124, 131, 255, 0.4);
  color: #a5b4fc;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.suggestion-chip button:hover {
  background: linear-gradient(90deg, var(--ai-start), var(--ai-end));
  color: #0b1020;
  border-color: transparent;
}

/* Send Button */
.btn-send {
  background: linear-gradient(90deg, var(--ai-start), var(--ai-end));
  color: #0b1020;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(124, 131, 255, 0.3);
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 131, 255, 0.45);
}

.btn-send:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: not-allowed;
  box-shadow: none;
}

/* Campaign Header */
.campaign-header {
  margin-bottom: 2rem;
}

.campaign-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.campaign-header h1 {
  margin: 0;
  flex-grow: 1;
}

.back-link {
  width: 100%;
}

.back-link a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.back-link a:hover {
  color: var(--primary-color);
}

.btn-result {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--success-color), #059669);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.btn-result:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}

.campaign-status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.campaign-status-badge.intake {
  background: #dbeafe;
  color: #1e40af;
}

.campaign-status-badge.briefing {
  background: #e0e7ff;
  color: #4338ca;
}

.campaign-status-badge.concepts {
  background: #fef3c7;
  color: #92400e;
}

.campaign-status-badge.evaluation {
  background: #fef3c7;
  color: #92400e;
}

.campaign-status-badge.selection {
  background: #fce7f3;
  color: #9d174d;
}

.campaign-status-badge.review {
  background: #d1fae5;
  color: #065f46;
}

.campaign-status-badge.refinement {
  background: #fed7aa;
  color: #9a3412;
}

.campaign-status-badge.finalization {
  background: #bbf7d0;
  color: #166534;
}

/* Sidebar Section */
.sidebar-section {
  margin-bottom: 1.5rem;
}

.sidebar-section h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #a5b4fc;
}

.brief-summary {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Concept List in Sidebar */
.concept-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.concept-item {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.concept-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.concept-status {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: capitalize;
}

.concept-item.approved {
  background: rgba(16, 185, 129, 0.15);
  border-left: 3px solid var(--success-color);
}

.concept-item.rejected {
  background: rgba(239, 68, 68, 0.15);
  border-left: 3px solid #ef4444;
}

/* Concept Cards */
.concept-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.concept-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border-soft);
  transition: all 0.2s;
}

.concept-card.approved {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
  border-left: 4px solid var(--success-color);
}

.concept-card.rejected {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  border-left: 4px solid #ef4444;
  opacity: 0.7;
}

.concept-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.concept-card-header:hover {
  background: rgba(255, 255, 255, 0.04);
  margin: -0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
}

.concept-header-left {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
}

.concept-toggle-icon {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.concept-name {
  font-size: 0.95rem;
  line-height: 1.3;
}

.concept-status-badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.concept-status-badge.approved {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.concept-status-badge.rejected {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.concept-status-badge.draft {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.concept-status-badge.evaluated {
  background: rgba(124, 131, 255, 0.2);
  color: #a5b4fc;
}

/* Concept Score Badge (from Creative Director) */
.concept-score-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.concept-score-badge.score-high {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.concept-score-badge.score-medium {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.concept-score-badge.score-low {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Concept Selection Form */
.concept-selection-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.selection-hint,
.scoring-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem 0;
  padding: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 6px;
  border-left: 3px solid var(--cta-primary);
}

.concept-checkbox {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}

.concept-select-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--cta-primary);
}

.concept-card.selectable {
  cursor: default;
}

.concept-card.selectable:hover {
  border-color: var(--cta-primary);
}

.selection-actions {
  margin-top: 0.5rem;
}

.btn-full {
  width: 100%;
}

/* Individual concept select button */
.concept-select-action {
  padding: 0.75rem;
  padding-top: 0;
  border-top: 1px dashed var(--border-color);
  margin-top: 0.5rem;
}

.btn-select-concept {
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--cta-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-select-concept:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

/* Concept selection buttons in main area */
.concept-selection-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-concept-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--cta-primary), #4f46e5);
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 140px;
  flex: 1;
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.btn-concept-select:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(99, 102, 241, 0.4);
}

.concept-select-name {
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
  text-align: center;
}

.concept-select-score {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 0.25rem;
}

.concept-select-score.score-high {
  background: rgba(255, 255, 255, 0.2);
  color: #a7f3d0;
}

.concept-select-score.score-medium {
  background: rgba(255, 255, 255, 0.2);
  color: #fef08a;
}

.concept-select-score.score-low {
  background: rgba(255, 255, 255, 0.2);
  color: #fecaca;
}

/* CD Analysis Section */
.cd-analysis {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
}

.cd-summary {
  margin: 0 0 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.cd-recommendation {
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 4px;
  font-size: 0.8rem;
}

.cd-recommendation strong {
  color: var(--cta-primary);
}

.cd-recommendation p {
  margin: 0.25rem 0 0 0;
  color: var(--text-secondary);
}

.concept-card-body {
  font-size: 0.85rem;
  color: var(--text-color);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
}

.concept-idea {
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
  color: var(--text-color);
}

.concept-detail {
  margin: 0.4rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.concept-detail strong {
  color: var(--text-color);
}

.concept-risk {
  margin: 0.5rem 0 0 0;
  font-size: 0.8rem;
}

/* Concept Evaluation Details */
.concept-evaluation {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
}

.evaluation-strengths,
.evaluation-weaknesses {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.evaluation-strengths strong {
  color: var(--success-color);
}

.evaluation-weaknesses strong {
  color: #dc2626;
}

.evaluation-strengths ul,
.evaluation-weaknesses ul {
  margin: 0.25rem 0 0 0;
  padding-left: 1rem;
}

.evaluation-strengths li,
.evaluation-weaknesses li {
  margin-bottom: 0.15rem;
  line-height: 1.4;
}

.rejection-reason {
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: #fef2f2;
  border-radius: 0.375rem;
  border-left: 3px solid #ef4444;
  font-size: 0.8rem;
}

.rejection-reason strong {
  color: #dc2626;
  display: block;
  margin-bottom: 0.25rem;
}

.rejection-reason p {
  margin: 0;
  color: #991b1b;
}

.risk-score {
  letter-spacing: 2px;
}

.risk-score.risk-1 {
  color: #10b981;
}

.risk-score.risk-2 {
  color: #84cc16;
}

.risk-score.risk-3 {
  color: #f59e0b;
}

.risk-score.risk-4 {
  color: #f97316;
}

.risk-score.risk-5 {
  color: #ef4444;
}

/* Review Stage CTA */
.review-stage-cta {
  padding: 1.5rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
}

.review-instructions {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.review-instructions h4 {
  margin: 0 0 0.5rem 0;
  color: #34d399;
}

.review-instructions p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: #6ee7b7;
}

.review-instructions ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: #6ee7b7;
}

.review-instructions li {
  margin-bottom: 0.25rem;
}

/* Selection Stage CTA */
.selection-stage-cta {
  padding: 1.5rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
}

.selection-instructions {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  padding: 1rem;
}

.selection-instructions h4 {
  margin: 0 0 0.5rem 0;
  color: #a5b4fc;
}

.selection-instructions p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: #c4b5fd;
}

.selection-instructions .hint {
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-weight: 500;
}

.suggestion-chips {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip-finalize {
  background: linear-gradient(135deg, var(--success-color), #059669);
  border: none;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.chip-finalize:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}

/* Agent Output Formatting */
.agent-output {
  padding: 0.5rem 0;
}

.approved-concepts-list {
  margin: 0.5rem 0 1rem 0;
  padding-left: 1.25rem;
}

.approved-concepts-list li {
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.rationale-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.rationale-box strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #a5b4fc;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.creative-output,
.critic-output,
.refinement-output {
  font-size: 0.95rem;
}

.creative-output small,
.critic-output small,
.refinement-output small {
  color: var(--text-muted);
}

.refinements-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.refinements-list li {
  margin-bottom: 0.25rem;
}

/* Finalized State */
.finalized-state {
  padding: 2rem;
  text-align: center;
}

.completion-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.completion-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.completion-banner h3 {
  margin: 0 0 0.5rem 0;
  color: #34d399;
}

.completion-banner p {
  margin: 0;
  color: #6ee7b7;
}

.completion-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Finalization Output in Messages */
.finalization-output {
  max-width: 100%;
}

.finalization-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.finalization-icon {
  font-size: 1.5rem;
}

.finalization-header h4 {
  margin: 0;
  color: #065f46;
}

.asset-group {
  margin-top: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
}

.asset-group-title {
  margin: 0;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.concept-icon {
  font-size: 1rem;
}

.assets-list {
  padding: 1rem;
}

.channel-assets {
  margin-bottom: 1rem;
}

.channel-assets:last-child {
  margin-bottom: 0;
}

.channel-title {
  margin: 0 0 0.75rem 0;
  font-size: 0.85rem;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.asset-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.asset-item:last-child {
  margin-bottom: 0;
}

.asset-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: linear-gradient(90deg, var(--ai-start), var(--ai-end));
  color: #0b1020;
  border-radius: 9999px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.asset-content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-color);
}

.asset-content p {
  margin: 0 0 0.5rem 0;
}

.asset-content p:last-child {
  margin-bottom: 0;
}

/* Visual prompt styling */
.asset-item.visual_prompt {
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid #f59e0b;
}

.asset-item.visual_prompt .asset-type-badge {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  color: #0b1020;
}

/* Generated image styling */
.asset-image {
  margin: 0.75rem 0;
}

.generated-image {
  max-width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.asset-prompt {
  margin-top: 0.5rem;
}

.asset-prompt details {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.asset-prompt summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-color);
}

.asset-prompt summary:hover {
  color: var(--primary-color);
}

.asset-prompt details[open] summary {
  margin-bottom: 0.5rem;
}

/* Status step finalized */
.status-step.finalized {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-step.finalized .step-indicator {
  background: var(--success-color);
  color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .campaign-layout {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 150px);
  }

  .campaign-sidebar {
    width: 100%;
    order: 2;
    max-height: none;
  }

  .campaign-main {
    order: 1;
    min-height: 50vh;
  }

  .message {
    max-width: 95%;
  }

  .input-group {
    flex-direction: column;
  }

  .btn-send {
    width: 100%;
  }

  .campaign-header-content {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* Authentication Pages */
.auth-container {
  max-width: 450px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.auth-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.auth-header p {
  color: var(--text-secondary);
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.auth-input-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.auth-input-group input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.auth-input-group input:focus {
  outline: none;
  border-color: var(--ai-start);
  box-shadow: 0 0 0 3px rgba(124, 131, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.auth-actions {
  margin-top: 0.5rem;
}

.auth-actions .btn {
  width: 100%;
  text-align: center;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.auth-footer a {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.flash-message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  text-align: center;
}

.flash-alert {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.flash-notice {
  background: rgba(124, 131, 255, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(124, 131, 255, 0.3);
}

/* App Header */
.app-header {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-soft);
  padding: 0.75rem 0;
  margin-bottom: 2rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.support-link {
  color: var(--text-secondary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.support-link:hover {
  color: var(--text-primary);
}

.support-icon {
  width: 24px;
  height: 24px;
}

.app-logo {
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
}

.app-logo .ai {
  font-weight: 800;
  background: linear-gradient(90deg, var(--ai-start), var(--ai-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(124, 131, 255, 0.35);
}

.avatar-circle {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--border-soft);
  color: #a5b4fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
}

.profile-icon {
  cursor: pointer;
  list-style: none;
}

.profile-icon:hover .avatar-circle {
  border-color: var(--ai-start);
  background: rgba(124, 131, 255, 0.15);
}

.profile-icon::-webkit-details-marker {
  display: none;
}

.profile-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 120%;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  min-width: 220px;
  padding: 0.5rem;
  z-index: 50;
  animation: slideDown 0.1s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-info {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.user-info strong {
  display: block;
  color: var(--text-primary);
}

.user-info small {
  color: var(--text-secondary);
}

.dropdown-divider {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: 0.5rem 0;
}

.dropdown-item {
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-radius: 8px;
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-item.text-danger {
  color: #f87171;
}

.dropdown-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.15);
}

/* ========== LANDING PAGE ========== */

/* Landing Nav */
.landing-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-logo {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
}

.landing-logo .ai {
  font-weight: 800;
  background: linear-gradient(90deg, var(--ai-start), var(--ai-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(124, 131, 255, 0.35);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-cta {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--ai-start), var(--ai-end));
  color: #0b1020 !important;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 131, 255, 0.4);
  color: #0b1020 !important;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-centered {
  max-width: 1100px;
  padding: 7rem 2rem 8rem;
  margin: 0 auto;
  text-align: left;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem 0;
  color: var(--text-primary);
}

.hero h1 span {
  color: #a5b4fc;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 2.5rem 0;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Hero Box */
.hero-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-box h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: #a5b4fc;
}

.hero-box ul {
  padding-left: 1.2rem;
  color: var(--text-secondary);
  margin: 0;
}

.hero-box li {
  margin-bottom: 0.6rem;
}

/* Features Section */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.features h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card h4 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Visual/Image Placeholder */
.visual {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.image-box {
  height: 420px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124, 131, 255, 0.25), rgba(176, 132, 255, 0.25));
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Landing Page Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .landing-logo {
    font-size: 1.5rem;
  }

  .landing-nav {
    padding: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Campaign List Page */
.actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.actions-bar .actions-left {
  display: flex;
  gap: 0.5rem;
}

.actions-bar .actions-right {
  display: flex;
  gap: 0.5rem;
}

.campaign-card.archived {
  opacity: 0.6;
  filter: grayscale(30%);
}

.campaign-card.archived:hover {
  opacity: 0.8;
}

.archived-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  background: rgba(100, 100, 100, 0.3);
  color: var(--text-secondary);
  border: 1px solid rgba(100, 100, 100, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-small {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
}

.campaign-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.campaign-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h2 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Campaign Form Page */
.form-container {
  max-width: 700px;
  margin: 0 auto;
}

.campaign-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-hint {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.error-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #f87171;
}

.error-box h4 {
  margin: 0 0 0.5rem 0;
}

.error-box ul {
  margin: 0;
  padding-left: 1.25rem;
}

/* Select styling for dark theme */
.form-control select,
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a5b4fc' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* Auth header logo */
.auth-header .landing-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

/* Concept card header pointer */
.concept-card-header {
  cursor: pointer;
}

/* Dev tools quick login (dev only) */
.auth-dev-tools {
  margin-top: 2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
}

.auth-dev-tools h3 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #a5b4fc;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-dev-tools .dev-login-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.auth-dev-tools .btn {
  width: 100%;
  text-align: left;
  font-size: 0.85rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-dev-tools .dev-email {
  color: var(--text-secondary);
  margin-left: 0.25rem;
}

.auth-dev-tools .dev-agency-badge {
  font-size: 0.75rem;
  background: rgba(124, 131, 255, 0.2);
  color: #a5b4fc;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* Utility classes */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.card h3 {
  color: #a5b4fc;
  font-size: 1.1rem;
  margin-top: 0;
}

.card h4 {
  color: #f8fafc;
  font-size: 1rem;
  margin-top: 0;
}

.p-6 {
  padding: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.prose {
  line-height: 1.6;
  color: #cbd5f5;
}

.list-disc {
  list-style-type: disc;
}

.pl-5 {
  padding-left: 1.25rem;
}

.text-blue-600 {
  color: #a5b4fc;
}

.text-gray-500 {
  color: #cbd5f5;
}

.text-sm {
  font-size: 0.875rem;
}

.text-right {
  text-align: right;
}

.text-green {
  color: #34d399;
}

.text-red {
  color: #f87171;
}

.font-bold {
  font-weight: bold;
}

.ml-2 {
  margin-left: 0.5rem;
}

/* Usage stats */
.usage-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  min-width: 160px;
}

.stat-card.highlight {
  background: linear-gradient(135deg, rgba(124, 131, 255, 0.15), rgba(176, 132, 255, 0.15));
  border: 1px solid rgba(124, 131, 255, 0.3);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f8fafc;
}

.stat-card.highlight .stat-value {
  background: linear-gradient(90deg, #7c83ff, #b084ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: #cbd5f5;
  margin-top: 0.25rem;
}

.stat-card.warning {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.15), rgba(251, 146, 60, 0.15));
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.stat-card.warning .stat-value {
  color: #f87171;
}

/* Config grid */
.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.config-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.config-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #a5b4fc;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.config-value {
  font-family: monospace;
  font-size: 0.8rem;
  color: #f8fafc;
}

/* Usage table */
.usage-table {
  width: 100%;
  border-collapse: collapse;
}

.usage-table th,
.usage-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.usage-table th {
  font-weight: 600;
  color: #a5b4fc;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.usage-table td {
  font-size: 0.875rem;
  color: #cbd5f5;
}

.usage-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Campaign link */
.campaign-link {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 500;
}

.campaign-link:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

/* Alert */
.alert-warning {
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.3);
  color: #fbbf24;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Inline form */
.inline-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.inline-form .form-control {
  width: auto;
}

.inline-form input[type="email"] {
  flex: 3;
  min-width: 300px;
}

.inline-form select {
  flex: 1;
  min-width: 140px;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 8px;
}

/* Table */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.table th {
  font-weight: 600;
  color: #a5b4fc;
  background: rgba(255, 255, 255, 0.04);
}

.table td {
  color: var(--text-secondary);
}

.table td a {
  color: var(--text-primary);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* Form sections */
.form-section {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-section legend {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0 0.5rem;
  color: #f8fafc;
}

.agent-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

/* Pricing table */
.pricing-table {
  overflow-x: auto;
}

.pricing-table .table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-table th {
  font-weight: 600;
  color: #a5b4fc;
  font-size: 0.875rem;
}

.pricing-table td {
  color: #cbd5f5;
}

.pricing-table td strong {
  color: #f8fafc;
}

.form-control-sm {
  width: auto;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #f8fafc;
}

.form-control-sm::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Model info details */
.model-info-details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
}

.model-info-details summary {
  cursor: pointer;
  font-weight: 500;
  color: #a5b4fc;
}

.model-info-details[open] summary {
  margin-bottom: 1rem;
}

.model-cards {
  margin-top: 1rem;
}

.provider-section {
  margin-bottom: 1.5rem;
}

.provider-section h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.model-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.model-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.model-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.model-header strong {
  color: #f8fafc;
}

.model-price {
  font-size: 0.75rem;
  color: #cbd5f5;
  font-family: monospace;
  background: rgba(124, 131, 255, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.model-desc {
  font-size: 0.8125rem;
  color: #cbd5f5;
  margin: 0.5rem 0;
  line-height: 1.5;
}

.model-traits {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.trait-label {
  font-weight: 600;
}

.strengths {
  color: #34d399;
}

.weaknesses {
  color: #f87171;
}

/* ========== NEW LAYOUT (A/B test) ========== */

.nl-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 140px);
  overflow: hidden;
}

/* Header */
.nl-header {
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.nl-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.nl-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nl-back-link {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.nl-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Stepper */
.nl-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.75rem 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow-x: auto;
}

.nl-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nl-step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid var(--border-soft);
  color: var(--text-secondary);
  background: transparent;
}

.nl-step.completed .nl-step-dot {
  background: var(--success-color);
  border-color: var(--success-color);
  color: white;
}

.nl-step.active .nl-step-dot {
  border-color: var(--cta-primary);
  background: var(--cta-primary);
  color: white;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.nl-step-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nl-step.active .nl-step-label {
  color: var(--text-primary);
  font-weight: 700;
}

.nl-step.completed .nl-step-label {
  color: var(--text-secondary);
  opacity: 0.7;
}

.nl-step-connector {
  width: 24px;
  height: 2px;
  background: var(--border-soft);
  flex-shrink: 0;
  margin: 0 4px;
}

.nl-step-connector.completed {
  background: var(--success-color);
}

/* Section titles */
.nl-section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin: 0 0 0.75rem 0;
  font-weight: 600;
}

/* Concept grid */
.nl-concept-grid-section {
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.nl-concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.nl-concept-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.nl-concept-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.nl-concept-card.active {
  border-color: var(--cta-primary);
  border-width: 2px;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.nl-concept-card.rejected {
  opacity: 0.5;
}

.nl-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.nl-card-title {
  font-size: 0.9rem;
  line-height: 1.3;
}

.nl-card-score {
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.nl-card-score.score-high {
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
}

.nl-card-score.score-medium {
  background: rgba(245, 158, 11, 0.2);
  color: #fef08a;
}

.nl-card-score.score-low {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
}

.nl-card-tldr {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.nl-card-tldr li {
  margin-bottom: 0.15rem;
}

.nl-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.nl-card-risk {
  letter-spacing: 2px;
  color: var(--warning-color);
}

.nl-card-status-badge {
  font-weight: 600;
  font-size: 0.7rem;
}

.nl-card-status-badge.approved {
  color: var(--success-color);
}

.nl-card-status-badge.rejected {
  color: #f87171;
}

.nl-card-status-badge.evaluated {
  color: var(--text-secondary);
}

/* Concept detail panel */
.nl-concept-detail {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  max-height: 30vh;
  overflow-y: auto;
}

.nl-detail-panel.hidden {
  display: none;
}

.nl-detail-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.15rem;
}

.nl-detail-tldr {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.nl-detail-tldr strong {
  color: var(--text-primary);
}

/* Expandable reasoning */
.nl-expandable {
  margin-bottom: 1rem;
}

.nl-expandable summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: #a5b4fc;
  padding: 0.5rem 0;
}

.nl-expandable summary:hover {
  color: var(--text-primary);
}

.nl-expandable-body {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.nl-expandable-body ul {
  padding-left: 1.25rem;
  margin: 0.25rem 0 0.75rem 0;
}

.nl-strengths strong {
  color: var(--success-color);
}

.nl-weaknesses strong {
  color: #f87171;
}

.nl-recommendation {
  background: rgba(99, 102, 241, 0.08);
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.5rem;
}

.nl-recommendation strong {
  color: var(--cta-primary);
}

.nl-recommendation p {
  margin: 0.25rem 0 0 0;
}

/* Decision memory */
.nl-decision-memory {
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.nl-decision-memory.approved {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

.nl-decision-memory.rejected {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

/* Inline CTA */
.nl-inline-cta {
  margin-top: 0.75rem;
}

/* Chat section */
.nl-chat-section {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.nl-chat-messages {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nl-chat-input {
  border-top: 1px solid var(--border-soft);
  padding-top: 1rem;
}

.nl-selection-hint {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.5rem;
}

/* Mobile */
@media (max-width: 768px) {
  .nl-concept-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nl-stepper {
    padding: 0.5rem;
  }

  .nl-step-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .nl-concept-grid {
    grid-template-columns: 1fr;
  }
}

/* Concept Modal */
.nl-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.nl-modal-overlay.open {
  display: flex;
}

.nl-modal-panel {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
  max-width: 640px;
  width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: nl-modal-in 0.15s ease-out;
}

@keyframes nl-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nl-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.nl-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.nl-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}

.nl-modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.nl-modal-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.nl-modal-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.nl-modal-section h4 {
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nl-modal-assessment {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 0.75rem 0;
}

.nl-modal-cta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

/* Modal navigation */
.nl-modal-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.nl-modal-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.nl-modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  border-color: var(--cta-primary);
}

/* Modal one-liner */
.nl-modal-oneliner {
  font-size: 1rem;
  color: var(--text-primary);
  font-style: italic;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

/* Modal definition list */
.nl-modal-dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.nl-modal-dl dt {
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.nl-modal-dl dd {
  margin: 0;
  color: var(--text-primary);
}

/* Select button on concept card */
.nl-card-select {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-soft);
}

.btn-card-select {
  width: 100%;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

/* ========== TRIAL STYLES ========== */

/* Trial badge on campaign cards */
.trial-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(251, 146, 60, 0.2), rgba(245, 158, 11, 0.2));
  color: #fbbf24;
  border: 1px solid rgba(251, 146, 60, 0.4);
  margin-left: 0.5rem;
}

.campaign-card-badges {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

/* Trial notice box on campaign creation form */
.trial-notice-box {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.1), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.trial-notice-box strong {
  display: block;
  color: #fbbf24;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.trial-notice-box p {
  margin: 0;
  color: #fef3c7;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Trial request banner on campaigns index */
.trial-request-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.trial-request-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.trial-request-banner-text {
  flex: 1;
}

.trial-request-banner-text strong {
  display: block;
  color: #a5b4fc;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.trial-request-banner-text p {
  margin: 0;
  color: #c4b5fd;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Trial request modal */
.trial-request-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.trial-request-modal.open {
  display: flex;
}

.trial-request-modal-panel {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90vw;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: trial-modal-in 0.15s ease-out;
}

@keyframes trial-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.trial-request-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  line-height: 1;
}

.trial-request-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.trial-request-modal h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.trial-request-modal-subtitle {
  margin: 0 0 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.trial-request-form .form-group {
  margin-bottom: 1.5rem;
}

.trial-request-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Disabled button state */
.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .trial-request-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .trial-request-banner-content .btn {
    width: 100%;
  }
}