/* Home page styles */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 0 0 50px 50px;
  margin-bottom: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.access-card {
  border-radius: 20px;
  overflow: hidden;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}

.access-form .form-label {
  color: #495057;
  margin-bottom: 0.5rem;
}

.access-form .form-select,
.access-form .form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.access-form .form-select:focus,
.access-form .form-control:focus {
  border-color: #4e73df;
  box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.input-group .btn {
  border-radius: 0 10px 10px 0;
  border-left: none;
}

.step-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem 1rem;
  position: relative;
  margin-bottom: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.info-section h4 {
  color: #495057;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
    border-radius: 0 0 30px 30px;
  }

  .feature-card {
    margin-bottom: 1rem;
  }

  .step-card {
    padding: 1.5rem 1rem;
  }
}



#unlockError {
  display: none;
}

/* Commentary room helpers to avoid inline styles (CSP-compliant) */
.live-preview {
  min-height: 60px;
  display: none;
}

.commentary-feed {
  max-height: 60vh;
  overflow: auto;
}

.payload-pre {
  max-width: 300px;
  white-space: pre-wrap;
  word-break: break-word;
}

.inline-error-text {
  font-size: 0.85rem;
  margin-top: 6px;
}

.admin-unlock-btn {
  width: 32px;
  height: 32px;
}
