/* Bulk QR Code Generator - Scoped CSS with prefix bq- */

/* Wrapper */
.bulk-qr-generator-wrapper {
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  background: #ffffff;
}

/* Override global body purple gradient for this page */
body:has(.bulk-qr-generator-wrapper),
html:has(.bulk-qr-generator-wrapper) {
  background: #ffffff !important;
}

/* Form Card */
.bq-form-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bq-form-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.bq-form-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #6366f1 100%);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.bq-form-header h3 {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: 0.025em;
}

.bq-form-section {
  padding: 1.5rem 2rem;
}

.bq-label {
  display: block;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.025em;
}

.bq-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.875rem;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8fafc;
}

.bq-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  background: white;
}

.bq-input::placeholder {
  color: #94a3b8;
}

.bq-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
  font-weight: 500;
}

.bq-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

.bq-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #6366f1 100%);
  color: white;
  padding: 1.125rem 2rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
  letter-spacing: 0.025em;
}

.bq-submit-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  box-shadow: 0 8px 12px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.bq-submit-btn:active {
  transform: translateY(0);
}

/* Upload Area */
.bq-upload-area {
  border: 2px dashed #cbd5e0;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #f8fafc;
}

.bq-upload-area:hover,
.bq-upload-area.dragover {
  border-color: #3b82f6;
  background-color: #eff6ff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Content Card */
.bq-content-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bq-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 50%, #6366f1 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bq-content-card:hover::before {
  opacity: 1;
}

.bq-content-card:hover {
  box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.1), 0 15px 15px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

/* Section Heading */
.bq-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.bq-section-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bq-section-icon.blue {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
}

.bq-section-icon.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.bq-section-icon.amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Modern Feature Card (inner cards) */
.bq-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.bq-feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.04) 0%, rgba(99, 102, 241, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bq-feature-card:hover::after {
  opacity: 1;
}

.bq-feature-card:hover {
  border-color: #bae6fd;
  box-shadow: 0 12px 20px -8px rgba(14, 165, 233, 0.25);
  transform: translateY(-4px);
}

/* Gradient numbered badge */
.bq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

.bq-badge-circle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 0.9rem;
}

.bq-badge-rounded {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  font-size: 1.1rem;
}

/* Step row with connector */
.bq-step-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  transition: all 0.25s ease;
}

.bq-step-row:hover {
  background: linear-gradient(135deg, #f0f9ff 0%, #eff6ff 100%);
}

/* Bullet list item */
.bq-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: all 0.25s ease;
}

.bq-bullet-item:hover {
  background: #f0fdf4;
}

.bq-bullet-dot {
  flex-shrink: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  margin-top: 0.45rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
