/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Base styles following design principles - limited color palette */
:root {
  --primary-color: #2563eb;
  --base-text: #374151;
  --light-gray: #f9fafb;
  --medium-gray: #6b7280;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--base-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

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

/* Header Styles - Following Design Guidelines */
.site-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--base-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--base-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-link-primary {
  background: var(--primary-color);
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Flash Messages */
.flash-notice, .flash-alert {
  padding: 16px 24px;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.flash-notice {
  background: #d1fae5;
  color: #065f46;
  border-bottom: 1px solid #a7f3d0;
}

.flash-alert {
  background: #fee2e2;
  color: #991b1b;
  border-bottom: 1px solid #fecaca;
}

/* Main content adjustment for sticky header */
.main-content {
  min-height: calc(100vh - 80px);
  padding: 32px 24px;
}

@media (max-width: 768px) {
  .main-content {
    padding: 24px 16px;
  }
}

/* Hero Section - CodeFast inspired */
.hero-section {
  padding: 120px 0 80px;
  text-align: center;
  background: white;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--base-text);
}

.hero-title .highlight {
  color: var(--primary-color);
  position: relative;
}

.hero-subtitle {
  font-size: 1.375rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

/* Primary CTA - single focus point */
.cta-primary {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.2s ease;
}

.cta-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.cta-subtext {
  margin-top: 12px;
  color: var(--medium-gray);
  font-size: 0.875rem;
}

/* Problem Section */
.problem-section {
  padding: 80px 0;
  background: var(--light-gray);
  text-align: center;
}

.problem-text {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* Solution Section */
.solution-section {
  padding: 80px 0;
  text-align: center;
  background: white;
}

.solution-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--base-text);
}

.solution-text {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* How It Works - Clean layout */
.how-it-works {
  padding: 80px 0;
  background: var(--light-gray);
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--base-text);
}

.steps {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  gap: 60px;
}

.step {
  flex: 1;
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--base-text);
  line-height: 1.4;
}

.step p {
  color: var(--medium-gray);
  font-size: 1rem;
}

/* Benefits Grid */
.benefits-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.benefits-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--base-text);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit {
  text-align: left;
}

.benefit h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--base-text);
  line-height: 1.4;
}

.benefit p {
  color: var(--medium-gray);
  font-size: 1rem;
}

/* Social Proof */
.social-proof-section {
  padding: 80px 0;
  background: var(--light-gray);
  text-align: center;
}

.testimonial {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--base-text);
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.4;
}

.testimonial cite {
  display: block;
  margin-top: 24px;
  font-size: 1rem;
  color: var(--medium-gray);
  font-style: normal;
  font-weight: 400;
}

/* Guarantee Section */
.guarantee-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.guarantee-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 48px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
}

.guarantee-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--base-text);
}

.guarantee-card p {
  font-size: 1.125rem;
  color: var(--medium-gray);
  margin-bottom: 32px;
}

/* Authentication Forms - Following Design Guidelines */
.auth-container {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: var(--light-gray);
}

.auth-card {
  background: white;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--base-text);
}

.auth-subtitle {
  font-size: 1rem;
  color: var(--medium-gray);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Form Styles */
.auth-form {
  text-align: left;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--base-text);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--medium-gray);
  margin-top: 4px;
  font-style: italic;
}

/* Checkbox Styling */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-checkbox {
  width: 16px;
  height: 16px;
  margin: 0;
}

.form-checkbox-label {
  font-size: 0.9rem;
  color: var(--base-text);
  margin: 0;
}

/* Button Styles */
.form-actions {
  margin-top: 32px;
  text-align: center;
}

/* Base button styles */
.btn {
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Form buttons (full width) */
.btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Form secondary button (full width) */
.btn-secondary {
  background: white;
  color: var(--base-text);
  border: 2px solid #e5e7eb;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
  margin-top: 8px;
}

/* Admin navigation button variants (inherit from .btn base) */
/* Note: .btn-sm variants will override these paddings */
.btn.btn-primary:not(.btn-sm) {
  background: var(--primary-color);
  color: white;
  width: auto;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn.btn-primary {
  background: var(--primary-color);
  color: white;
  width: auto;
}

.btn.btn-secondary:not(.btn-sm) {
  background: white;
  color: var(--base-text);
  border: 1px solid #e5e7eb;
  width: auto;
  padding: 8px 16px;
  font-size: 0.875rem;
  margin-top: 0;
}

.btn.btn-secondary {
  background: white;
  color: var(--base-text);
  border: 1px solid #e5e7eb;
  width: auto;
  margin-top: 0;
}

.btn.btn-success:not(.btn-sm) {
  background: #16a34a;
  color: white;
  width: auto;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn.btn-success {
  background: #16a34a;
  color: white;
  width: auto;
}

.btn.btn-warning:not(.btn-sm) {
  background: #d97706;
  color: white;
  width: auto;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn.btn-warning {
  background: #d97706;
  color: white;
  width: auto;
}

.btn.btn-outline:not(.btn-sm) {
  background: white;
  color: var(--base-text);
  border: 1px solid #e5e5e5;
  width: auto;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn.btn-outline {
  background: white;
  color: var(--base-text);
  border: 1px solid #e5e5e5;
  width: auto;
}

.btn.btn-info:not(.btn-sm) {
  background: #0ea5e9;
  color: white;
  width: auto;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn.btn-info {
  background: #0ea5e9;
  color: white;
  width: auto;
}

/* Hover states for admin navigation buttons */
.btn.btn-primary:hover {
  background: #1d4ed8;
}

.btn.btn-secondary:hover {
  background: var(--light-gray);
  border-color: var(--primary-color);
}

.btn.btn-success:hover {
  background: #15803d;
}

.btn.btn-warning:hover {
  background: #b45309;
}

.btn.btn-info:hover {
  background: #0284c7;
}

.btn.btn-outline:hover {
  background: var(--light-gray);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  background: var(--light-gray);
}

/* Auth Links */
.auth-links {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.auth-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  margin: 4px 0;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Error Messages */
.error-messages {
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.error-title {
  font-size: 1rem;
  font-weight: 600;
  color: #991b1b;
  margin-bottom: 8px;
}

.error-list {
  margin: 0;
  padding-left: 16px;
  color: #991b1b;
}

.error-list li {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .steps {
    flex-direction: column;
    gap: 50px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonial {
    font-size: 1.25rem;
  }

  .guarantee-card {
    padding: 32px 24px;
  }

  .container {
    padding: 0 16px;
  }

  /* Header Mobile Styles */
  .site-header {
    padding: 12px 0;
  }

  .logo-text {
    font-size: 1.125rem;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .header-nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .nav-link-primary {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  /* Auth Forms Mobile Styles */
  .auth-container {
    padding: 40px 0;
    min-height: calc(100vh - 120px);
  }

  .auth-card {
    padding: 32px 24px;
    margin: 0 16px;
  }

  .auth-title {
    font-size: 1.75rem;
  }
}

/* Blog Styles */
.blog-index {
  padding: 2rem 0;
}

.blog-post-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: white;
}

.blog-post-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-title a {
  text-decoration: none;
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
}

.post-title a:hover {
  color: var(--primary-color);
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.post-excerpt {
  color: var(--medium-gray);
  margin-top: 0.5rem;
}

.blog-post article {
  max-width: 672px;
  margin: 0 auto;
}

.post-content {
  line-height: 1.6;
  margin-top: 2rem;
}

.post-content h1, .post-content h2, .post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
}

.post-content code {
  background: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-left: 0;
  font-style: italic;
  color: var(--medium-gray);
}

.draft-indicator {
  background: #ffc107;
  color: #856404;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
}

.post-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}


.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

/* Size-specific button overrides */
.btn-sm.btn-primary,
.btn-sm.btn-secondary,
.btn-sm.btn-success,
.btn-sm.btn-danger,
.btn-sm.btn-warning,
.btn-sm.btn-info,
.btn-sm.btn-outline {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.btn-outline {
  background: white;
  color: var(--base-text);
  border: 1px solid #e5e5e5;
}

.btn-outline:hover {
  background: var(--light-gray);
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 500;
}

.btn-danger:hover {
  background: #c82333;
}

.btn-success {
  background: #16a34a;
  color: white;
}

.btn-success:hover {
  background: #15803d;
}

.btn-warning {
  background: #d97706;
  color: white;
}

.btn-warning:hover {
  background: #b45309;
}

.btn-info {
  background: #0ea5e9;
  color: white;
}

.btn-info:hover {
  background: #0284c7;
}

/* Admin Styles */
.admin-blog-index, .admin-blog-unpublished {
  padding: 2rem 0;
}

.admin-nav {
  margin-bottom: 2rem;
  padding-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.blog-nav {
  margin-bottom: .5rem;
  padding-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

.admin-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: var(--base-text);
}

.admin-table td a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.admin-table td a:hover {
  text-decoration: underline;
}

.status-published {
  background: #16a34a;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
}

.status-draft {
  background: #6b7280;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
}

.actions {
  display: flex;
  gap: 0.5rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
}

.empty-state p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

/* Form styles for blog posts */
.blog-form, .admin-blog-form {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.markdown-editor {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
}

.form-help {
  display: block;
  font-size: 0.8rem;
  color: var(--medium-gray);
  margin-top: 0.25rem;
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-error h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.alert-error ul {
  margin: 0;
  padding-left: 1rem;
}

.alert-error li {
  margin-bottom: 0.25rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--base-text);
  margin-bottom: 2rem;
}

.admin-actions {
  margin-bottom: 2rem;
}

/* Early Access Form Styles */
.early-access {
  padding: 4rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.early-access-content {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.early-access-content .page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.early-access-content .subtitle {
  font-size: 1.125rem;
  color: var(--medium-gray);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.early-access-form {
  margin-bottom: 2rem;
}

.early-access-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

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

.early-access-form .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.early-access-form .form-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.early-access-form .btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  width: 100%;
}

.early-access-form .form-actions {
  text-align: center;
}

.success-message {
  background: #dcfce7;
  color: #166534;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  border: 1px solid #bbf7d0;
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Project Brief Form Styles */
.project-brief-form-container {
  padding: 3rem 0;
  min-height: 80vh;
  background: var(--light-gray);
}

.project-brief-content {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 3rem;
}

.project-brief-content .page-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: center;
}

.project-brief-content .subtitle {
  font-size: 1.125rem;
  color: var(--medium-gray);
  margin-bottom: 2.5rem;
  text-align: center;
  line-height: 1.6;
}

.project-brief-form {
  margin-bottom: 1rem;
}

.project-brief-form .form-group {
  margin-bottom: 2rem;
}

.project-brief-form .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--base-text);
  font-size: 1rem;
}

.project-brief-form .form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  font-family: inherit;
  resize: vertical;
}

.project-brief-form .form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.project-brief-form .form-help {
  display: block;
  font-size: 0.875rem;
  color: var(--medium-gray);
  margin-top: 0.375rem;
  line-height: 1.4;
}

.project-brief-form .btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  width: 100%;
  margin-top: 1rem;
}

.project-brief-form .form-actions {
  text-align: center;
}

/* Responsive adjustments for project brief form */
@media (max-width: 768px) {
  .project-brief-form-container {
    padding: 2rem 0;
  }

  .project-brief-content {
    margin: 0 1rem;
    padding: 2rem 1.5rem;
  }

  .project-brief-content .page-title {
    font-size: 1.875rem;
  }

  .project-brief-content .subtitle {
    font-size: 1rem;
  }
}

/* Admin Project Brief Styles */
.project-brief-details {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.brief-header {
  background: var(--light-gray);
  padding: 2rem;
  border-bottom: 1px solid #e5e5e5;
}

.brief-header .page-title {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.brief-meta {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.brief-content {
  padding: 2rem;
}

.brief-section {
  margin-bottom: 2rem;
}

.brief-section:last-child {
  margin-bottom: 0;
}

.brief-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--base-text);
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.25rem;
}

.content-box {
  background: #fafafa;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid var(--primary-color);
  line-height: 1.6;
  color: var(--base-text);
}

.brief-footer {
  background: var(--light-gray);
  padding: 1.5rem 2rem;
  border-top: 1px solid #e5e5e5;
}

.admin-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.5;
}

.badge {
  background: var(--primary-color);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: capitalize;
}

/* Responsive admin brief styles */
@media (max-width: 768px) {
  .project-brief-details {
    margin: 1rem;
  }

  .brief-header,
  .brief-content,
  .brief-footer {
    padding: 1.5rem;
  }

  .brief-header .page-title {
    font-size: 1.5rem;
  }
}

/* Footer Styles */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  color: var(--medium-gray);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  flex: 1;
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin: 0.25rem 0 0 0;
  line-height: 1.4;
}

.footer-copyright {
  margin-top: 1rem;
}

.footer-copyright p {
  font-size: 0.75rem;
  color: var(--medium-gray);
  margin: 0;
}

.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--base-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Responsive footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-center {
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

/* Admin Jobs */
.cursor-pointer {
    cursor: pointer;
}

.jobs-dashboard {
    .card {
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
        border: 1px solid rgba(0, 0, 0, 0.125);
    }

    .table-responsive {
        border-radius: 0.375rem;
    }

    details {
        summary {
            list-style: none;

            &::-webkit-details-marker {
                display: none;
            }

            &:hover {
                text-decoration: underline;
            }
        }
    }

    pre {
        font-size: 0.75rem;
        max-height: 200px;
        overflow-y: auto;
    }
}

.job-details {
    .card {
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
        border: 1px solid rgba(0, 0, 0, 0.125);
    }

    pre {
        font-size: 0.875rem;
        line-height: 1.4;
        max-height: 400px;
        overflow-y: auto;
    }

    .timeline-marker {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    dl.row {
        dt {
            font-weight: 600;
            color: #495057;
        }

        dd {
            margin-bottom: 0.5rem;
        }
    }
}

.alert {
    border: none;
    border-left: 4px solid;

    &.alert-danger {
        border-left-color: #dc3545;
    }

    &.alert-success {
        border-left-color: #28a745;
    }

    &.alert-warning {
        border-left-color: #ffc107;
    }

    &.alert-info {
        border-left-color: #17a2b8;
    }
}

/* Dropdown Navigation Styles */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  min-width: 180px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 16px;
  color: var(--base-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.dropdown-item:hover {
  background: var(--light-gray);
  color: var(--primary-color);
}

.dropdown-item .fas {
  margin-right: 8px;
}

.dropdown-item .badge {
  margin-left: 4px;
}

/* Founder Dashboard Styles */
.founder-dashboard,
.founder-interviews-index,
.founder-interview-show {
  padding: 2rem 0;
  min-height: 80vh;
}

.project-briefs-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-brief-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-brief-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-brief-card .card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-brief-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--base-text);
  margin-bottom: 1rem;
}

.brief-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.brief-meta p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.interview-stats {
  margin: 1rem 0;
}

.interview-stats p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.status-counts {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.status-counts li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--medium-gray);
}

.brief-actions {
  margin-top: 1rem;
}

/* Interview Card Styles */
.interview-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.interview-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.interview-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--base-text);
  margin: 0;
}

.interview-details p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.interview-details strong {
  color: var(--base-text);
  font-weight: 600;
}

.interview-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 0.5rem;
}

/* Status Badge Styles */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-warning {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-danger {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-info {
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-primary {
  background-color: #ddd6fe;
  color: #5b21b6;
}

.badge-success {
  background-color: #d1fae5;
  color: #065f46;
}

/* Status Filters */
.status-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-link {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--base-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-link:hover {
  background: var(--light-gray);
  color: var(--primary-color);
}

.filter-link.active {
  background: var(--primary-color);
  color: white;
}

/* Interview Show Page */
.interview-content {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.participant-section,
.match-section,
.schedule-section,
.completion-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.participant-section:last-child,
.match-section:last-child,
.schedule-section:last-child,
.completion-section:last-child {
  border-bottom: none;
}

.participant-section h2,
.match-section h2,
.schedule-section h2,
.completion-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--base-text);
  margin-bottom: 1rem;
}

.rationale {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid var(--primary-color);
  line-height: 1.6;
}

/* Meeting Link Styles */
.meeting-link {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.meeting-link:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Schedule Form */
.schedule-form {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
}

.schedule-form .form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.schedule-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Radio Group Styles */
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-group input[type="radio"] {
  margin-right: 0.25rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.back-link {
  margin-bottom: 1.5rem;
}

/* Responsive Founder Dashboard */
@media (max-width: 768px) {
  .founder-dashboard,
  .founder-interviews-index,
  .founder-interview-show {
    padding: 1rem 0;
  }

  .interview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .status-filters {
    flex-direction: column;
    gap: 0.5rem;
  }

  .brief-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .status-counts {
    flex-direction: column;
    gap: 0.5rem;
  }

  .interview-actions {
    flex-direction: column;
  }

  .action-buttons {
    gap: 0.75rem;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Toast Notification Styles */
#toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.toast {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: toast-slide-in 0.3s ease-out;
  border-left: 4px solid var(--primary-color);
}

.toast-success {
  border-left-color: #10b981;
}

.toast-error {
  border-left-color: #ef4444;
}

.toast-info {
  border-left-color: var(--primary-color);
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-success .toast-icon {
  color: #10b981;
}

.toast-error .toast-icon {
  color: #ef4444;
}

.toast-info .toast-icon {
  color: var(--primary-color);
}

.toast-message {
  flex: 1;
  color: var(--base-text);
  font-size: 14px;
  line-height: 1.5;
}

.toast-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}

.toast-link:hover {
  text-decoration: underline;
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  color: var(--medium-gray);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.toast-close:hover {
  color: var(--base-text);
}

.toast-close svg {
  width: 20px;
  height: 20px;
}

.toast-exit {
  animation: toast-slide-out 0.3s ease-in forwards;
}

@keyframes toast-slide-in {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toast-slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  #toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .toast {
    padding: 12px;
  }

  .toast-message {
    font-size: 13px;
  }
}

/* Project Brief Show Page */
.project-brief-show {
  padding: 48px 0;
}

.project-brief-show .container {
  max-width: 1200px;
}

.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--base-text);
  margin-bottom: 16px;
}

.back-nav {
  margin-bottom: 24px;
}

/* Project Info Card */
.project-info {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 48px;
  margin-bottom: 48px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.project-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--base-text);
  line-height: 1.2;
}

.project-info section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.project-info section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.project-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--base-text);
}

.project-info p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: var(--medium-gray);
}

.project-info strong {
  color: var(--base-text);
  font-weight: 600;
}

/* Marketing Briefs Section */
.marketing-briefs,
.interviews {
  margin-bottom: 48px;
}

.marketing-briefs h2,
.interviews h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--base-text);
}

/* Brief Card */
.brief-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.brief-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brief-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--base-text);
}

.brief-card p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.brief-card strong {
  color: var(--base-text);
  font-weight: 600;
}

.brief-card .badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
}

.brief-card .badge.draft {
  background: #fef3c7;
  color: #92400e;
}

.brief-card .badge.approved {
  background: #d1fae5;
  color: #065f46;
}

.brief-card .badge.active {
  background: #dbeafe;
  color: #1e40af;
}

.brief-card .badge.completed {
  background: #e5e7eb;
  color: #374151;
}

/* Interview List */
.interview-list {
  display: grid;
  gap: 16px;
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--light-gray);
  border-radius: 8px;
  color: var(--medium-gray);
}

/* Founder Project Brief Show Page */
.founder-project-brief-show {
  padding: 48px 0;
}

.project-brief-details {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 48px;
  margin-bottom: 48px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.project-brief-details section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.project-brief-details section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.project-brief-details h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--base-text);
}

.project-brief-details h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--base-text);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.meta-item {
  padding: 16px;
  background: var(--light-gray);
  border-radius: 8px;
}

.meta-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--base-text);
  font-weight: 600;
}

/* Participants Section */
.participants-section {
  margin-top: 48px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--base-text);
}

.interview-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-badge {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
}

.badge-primary {
  background: #e0e7ff;
  color: #3730a3;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.status-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-link {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--medium-gray);
  background: white;
  border: 1px solid #e5e7eb;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-link:hover {
  background: var(--light-gray);
  color: var(--base-text);
}

.filter-link.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

/* Marketing Brief Generation Status */
.generating-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
  gap: 16px;
}

.generating-status .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--light-gray);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.generating-status p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--base-text);
}

.generating-status .sub-text {
  font-size: 0.875rem;
  color: var(--medium-gray);
  font-weight: 400;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Recruitment Status and Slots Styles */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--light-gray);
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
}

.card-header:hover {
  text-decoration: none;
}

.card-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--base-text);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.badge-warning {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-success {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-info {
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-secondary {
  background-color: #e5e7eb;
  color: var(--base-text);
}

.badge-primary {
  background-color: #ddd6fe;
  color: #5b21b6;
}

.card-body {
  padding: 20px;
}

.recruitment-slots {
  margin: 0 0 16px 0;
  padding: 16px;
  background-color: var(--light-gray);
  border-radius: 8px;
}

.recruitment-slots p {
  margin: 0 0 4px 0;
}

.slots-available {
  font-size: 18px;
  font-weight: 600;
  color: #065f46;
}

.slots-available.slots-depleted {
  color: #dc2626;
}

.slots-detail {
  font-size: 14px;
  font-weight: 400;
  color: var(--medium-gray);
  margin-left: 8px;
}

.slots-warning {
  margin-top: 12px;
  padding: 12px;
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 4px;
}

.warning-text {
  margin: 0 0 4px 0;
  font-weight: 600;
  color: #92400e;
  font-size: 14px;
}

.warning-action {
  margin: 0;
  font-size: 13px;
  color: var(--base-text);
}

.project-brief-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
  background: white;
}

.project-brief-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-actions {
  padding: 12px 20px;
  border-top: 1px solid #e5e7eb;
  background-color: var(--light-gray);
}

.btn-small {
  padding: 6px 12px;
  font-size: 14px;
}

/* Prospect Status Count Badges */
.prospect-status-counts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.status-count-link {
  text-decoration: none;
}

.status-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.status-count-link:hover .status-count-badge {
  opacity: 0.8;
}

.count-number {
  font-weight: 700;
}

.status-count-badge.status-uncontacted {
  background-color: #e8f4f8;
  color: #1c6ea4;
}

.status-count-badge.status-contacted {
  background-color: #fff3cd;
  color: #856404;
}

.status-count-badge.status-discussion {
  background-color: #d4edda;
  color: #155724;
}

.status-count-badge.status-watch {
  background-color: #f8d7da;
  color: #721c24;
}

.status-count-badge.status-closed {
  background-color: #e2e3e5;
  color: #383d41;
}

/* Marketing Brief Show Page */
.marketing-brief-show {
  padding: 32px 0;
}

.marketing-brief-show .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e5e7eb;
}

.marketing-brief-show .header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--base-text);
}

.marketing-brief-show .header .status-badge {
  flex-shrink: 0;
}

.marketing-brief-show .prospect-summary {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.marketing-brief-show .prospect-summary h3 {
  margin: 0 0 16px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--base-text);
}

.marketing-brief-show .actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.marketing-brief-show .actions .actions-left {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.marketing-brief-show .actions .actions-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .marketing-brief-show .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .marketing-brief-show .actions {
    flex-direction: column;
  }

  .marketing-brief-show .actions .btn {
    width: 100%;
  }

  .marketing-brief-show .actions .actions-right {
    width: 100%;
  }

  .marketing-brief-show .actions .actions-right .link-input-group {
    width: 100%;
  }
}

/* Prospects Index Page */
.prospects-index {
  padding: 32px 0;
}

.prospects-index .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.prospects-index .title-section {
  flex: 1;
}

.prospects-index .title-section h1 {
  margin: 0 0 0.25rem 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--base-text);
}

.prospects-index .title-section .subheader {
  margin: 0;
  color: var(--medium-gray);
  font-size: 1.125rem;
}

.prospects-index .header .actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.prospects-index .search-and-filter {
  margin-bottom: 1.5rem;
}

.prospects-index .search-bar {
  margin-bottom: 24px;
}

.prospects-index .search-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.prospects-index .search-form .form-control {
  flex: 1;
  min-width: 250px;
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.prospects-index .search-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Desktop: All filters on same line */
.prospects-index .tier-filters,
.prospects-index .status-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.prospects-index .tier-filters strong,
.prospects-index .status-filters strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--base-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Prospect card selection and button styles */
.prospect-card.selected {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #fafbff;
}

.prospect-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.prospect-actions .btn {
  min-width: 80px;
  flex: 1;
  white-space: nowrap;
  text-align: center;
}

.detail-actions-bottom {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

/* Keyboard shortcuts help */
.keyboard-shortcuts-help {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.875rem;
  max-width: 300px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.keyboard-shortcuts-help.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.keyboard-shortcuts-help h4 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--base-text);
}

.keyboard-shortcuts-help dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
}

.keyboard-shortcuts-help dt {
  font-weight: 600;
  color: var(--base-text);
  font-family: monospace;
  background: var(--light-gray);
  padding: 2px 6px;
  border-radius: 4px;
}

.keyboard-shortcuts-help dd {
  margin: 0;
  color: var(--medium-gray);
}

/* Keyboard shortcuts hint */
.keyboard-shortcuts-hint {
  text-align: right;
  font-size: 0.75rem;
  color: var(--medium-gray);
  margin-bottom: 16px;
  font-style: italic;
}

.keyboard-shortcuts-hint kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--base-text);
  background: var(--light-gray);
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin: 0 2px;
  font-style: normal;
}

@media (max-width: 768px) {
  .prospects-index .header {
    flex-direction: column;
    align-items: stretch;
  }

  .prospects-index .header .actions {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
  }

  .prospects-index .header .actions .btn {
    flex-shrink: 0;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .prospects-index .tier-filters,
  .prospects-index .status-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .prospects-index .filter-link {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }

  .prospects-index .search-form {
    flex-direction: column;
  }

  .prospects-index .search-form .form-control {
    width: 100%;
  }

  .prospects-index .search-form .btn {
    width: 100%;
  }

  .keyboard-shortcuts-help {
    display: none;
  }
}

/* Prospects Card Components */
.prospects-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prospect-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  transition: box-shadow 0.2s;
}

.prospect-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.prospect-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.prospect-info {
  display: flex;
  gap: 2rem;
  flex: 1;
  align-items: center;
}

.prospect-column {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.column-label {
  font-size: 0.75rem;
  color: var(--medium-gray);
  text-transform: uppercase;
  font-weight: 600;
}

.post-column {
  min-width: 80px;
}

.username-column {
  min-width: 150px;
  flex: 1;
}

.tier-column {
  min-width: 80px;
}

.status-column {
  min-width: 120px;
}

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

.prospect-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.details-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-section strong {
  color: var(--base-text);
  font-size: 0.875rem;
}

.detail-section p {
  margin: 0;
  color: var(--medium-gray);
  line-height: 1.5;
  white-space: pre-wrap;
}

.no-content {
  font-style: italic;
  color: #9ca3af;
}

.tier-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.tier-badge.hot {
  background-color: #fee;
  color: #c00;
}

.tier-badge.warm {
  background-color: #fef5e7;
  color: #d68910;
}

.tier-badge.cold {
  background-color: #e8f4f8;
  color: #1c6ea4;
}

.tier-with-notes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notes-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #fef3c7;
  color: #92400e;
  white-space: nowrap;
}

.messages-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #dbeafe;
  color: #1e40af;
  white-space: nowrap;
}

.messages-badge.pulsing {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.status-badge.uncontacted {
  background-color: #e8f4f8;
  color: #1c6ea4;
}

.status-badge.contacted {
  background-color: #fff3cd;
  color: #856404;
}

.status-badge.discussion {
  background-color: #d4edda;
  color: #155724;
}

.status-badge.watch {
  background-color: #f8d7da;
  color: #721c24;
}

.status-badge.closed {
  background-color: #e2e3e5;
  color: #383d41;
}

.status-badge.completed {
  opacity: 0.7;
  background-color: #6c757d;
}

.post-link, .username-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.post-link:hover, .username-link:hover {
  text-decoration: underline;
}

.no-link {
  color: #9ca3af;
}

.detail-actions-bottom {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.send-reddit-message:disabled,
.send-chat-request:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mobile Responsive - Prospects Cards Enhanced */
@media (max-width: 768px) {
  .prospect-card-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .prospect-info {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  /* Create horizontal scroll container */
  .prospect-info::-webkit-scrollbar {
    height: 6px;
  }

  .prospect-info::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }

  .prospect-info::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
  }

  .prospect-column {
    flex-shrink: 0;
  }

  .post-column {
    min-width: 40px;
  }

  .username-column {
    min-width: 100px;
  }

  .tier-column {
    min-width: 65px;
  }

  .status-column {
    min-width: 100px;
  }

  .prospect-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 0.25rem;
  }

  .prospect-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
  }
}

/* Participation Link Styles */
.link-input-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
  min-width: 400px;
}

.participation-link {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 0.875rem;
  background: white;
  color: var(--base-text);
}

.btn-copy {
  padding: 8px 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-copy:hover {
  background: #1d4ed8;
}

.btn-copy:active {
  background: #1e40af;
}

@media (max-width: 768px) {
  .link-input-group {
    flex-direction: column;
    min-width: 100%;
  }

  .btn-copy {
    width: 100%;
  }
}

/* Reddit Messages / Conversation Styles */
.conversation-section {
  background: white;
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 32px;
}

.conversation-section h2 {
  margin-top: 0;
  margin-bottom: 24px;
  color: #374151;
}

.conversation-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.reddit-message {
  border-left: 4px solid;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.reddit-message.outbound {
  border-color: #2563eb;
  background: #f9fafb;
}

.reddit-message.inbound {
  border-color: #f59e0b;
  background: white;
  border: 1px solid #e5e7eb;
}

.reddit-message.inbound.unread {
  background: #fef3c7;
  border-color: #f59e0b;
}

.reddit-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sender-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.sender-info strong {
  color: #374151;
}

.new-badge {
  background: #f59e0b;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.timestamp {
  font-size: 0.875rem;
  color: #6b7280;
}

.reddit-message-body {
  color: #374151;
  line-height: 1.5;
  margin: 0;
}

.reddit-message-body p {
  margin: 0 0 1rem;
}

.reddit-message-body p:last-child {
  margin-bottom: 0;
}

.message-actions {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.empty-conversation {
  text-align: center;
  padding: 48px;
  color: #6b7280;
  font-style: italic;
}

/* Reply Form Styles */
.reply-box {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
}

.reply-box h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.125rem;
  color: #374151;
}

.reply-form .form-group {
  margin-bottom: 16px;
}

.reply-form .form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
}

.reply-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-family: system-ui, -apple-system, sans-serif;
  resize: vertical;
}

.reply-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Unread Messages Badge */
.unread-messages-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #fbbf24;
  color: #78350f;
  white-space: nowrap;
  animation: pulse 2s ease-in-out infinite;
  margin-left: 12px;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Conversation Header */
.conversation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Admin Users Dashboard */
.admin-users-dashboard {
  padding: 2rem 0;
  min-height: 80vh;
}

.admin-users-dashboard .stats-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-users-dashboard .stat-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.admin-users-dashboard .stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #1f2937;
}

.admin-users-dashboard .stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.admin-users-dashboard .section-title {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-users-dashboard .users-table-wrapper {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.admin-users-dashboard .users-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-users-dashboard .users-table th {
  background: #f9fafb;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.admin-users-dashboard .users-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.admin-users-dashboard .users-table tbody tr:hover {
  background: #f9fafb;
}

.admin-users-dashboard .badge-participant {
  background: #10b981;
  color: white;
}

.admin-users-dashboard .badge-founder {
  background: #3b82f6;
  color: white;
}

.admin-users-dashboard .badge-advertiser {
  background: #f59e0b;
  color: white;
}

.admin-users-dashboard .badge-admin {
  background: #ef4444;
  color: white;
}

.admin-users-dashboard .recent-signups-section {
  margin-bottom: 3rem;
}

/* Invitation section styling */
.invitation-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 0.5rem;
}

.invitation-link-display .input-group {
  max-width: 100%;
  display: flex;
  gap: 8px;
}

.invitation-input {
  font-family: monospace;
  font-size: 0.875rem;
  background-color: #fff;
  flex: 1;
}

/* Success button state */
.btn-success {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

.btn-success:hover {
  background-color: #218838;
}

/* Alert styles */
.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
}

.text-muted {
  color: #6c757d;
}

.input-group {
  display: flex;
  align-items: stretch;
}

.form-control {
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

/* Tooltip wrapper for disabled buttons */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-wrapper .btn[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.tooltip-wrapper .tooltip-text {
  visibility: hidden;
  width: 280px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 12px;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  margin-left: -140px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.875rem;
  line-height: 1.4;
}

.tooltip-wrapper .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Message Modal Styles */
.message-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.message-modal-backdrop.show {
  opacity: 1;
}

.message-modal-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 50px auto;
  transform: translateY(-50px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.message-modal-backdrop.show .message-modal-container {
  transform: translateY(0);
  opacity: 1;
}

.message-modal-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.message-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.message-modal-title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--base-text);
}

.close-button {
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.close-button:hover {
  color: #374151;
}

.message-modal-body {
  padding: 20px;
}

.message-modal-footer {
  padding: 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Prospect context in modal */
.prospect-context {
  background: var(--light-gray);
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.prospect-context .row {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.prospect-context .col-md-6 {
  flex: 1;
}

/* Message preview in modal */
.message-preview-container .card {
  border: 1px solid #3b82f6;
  border-radius: 6px;
  margin-bottom: 15px;
}

.message-preview-container .card-body {
  padding: 15px;
}

.character-counter {
  font-size: 0.875rem;
  color: var(--medium-gray);
}

.character-counter.text-warning {
  color: #f59e0b;
}

.character-counter.text-danger {
  color: #ef4444;
}

/* Modal footer button layout */
.message-modal-footer form {
  display: inline-block;
  margin-right: 10px;
}

.message-modal-footer button {
  margin-right: 10px;
}

.message-modal-footer button:last-child {
  margin-right: 0;
}
