:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #0f172a;
  background: #f3f4f6;
  --benson-blue: #12cff8;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-weight: 300; /* softer overall weight */
}

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Soft gradient hero background */
.hero-wrap {
  background: linear-gradient(to bottom, #f9fafb 0%, #e5e7eb 55%, #f3f4f6 100%);
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

/* Enhanced gradient for modern browsers */
@supports (background: radial-gradient(circle, red, blue)) {
  .hero-wrap {
    background:
      radial-gradient(circle at top left, rgba(148,163,184,0.16), transparent 55%),
      radial-gradient(circle at top right, rgba(96,165,250,0.14), transparent 55%),
      linear-gradient(to bottom, #f9fafb 0%, #e5e7eb 55%, #f3f4f6 100%);
  }
}

/* HERO SECTION */
.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #1f2937;
}

.hero-text {
  font-size: 1.03rem;
  max-width: 32rem;
  margin: 0.35rem auto;
  color: #4b5563;
  line-height: 1.65;
  font-weight: 300; /* lighter body text */
}

.hero-tagline {
  margin-top: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #6b7280;
  word-spacing: 0.4em;
}

/* Premium subtle animation */
.hero-tagline span {
  display: inline-block;
  opacity: 0;
  transform: scale(0.96);
  transform-origin: center bottom;
}

.hero-tagline span:nth-child(1) {
  animation: taglineFade 0.55s ease-out 0.25s forwards;
}
.hero-tagline span:nth-child(2) {
  animation: taglineFade 0.6s ease-out 0.38s forwards;
}
.hero-tagline span:nth-child(3) {
  animation: taglineFade 0.65s ease-out 0.51s forwards;
}

@keyframes taglineFade {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-actions { margin-top: 2.4rem; }

/* MAIN CTA BUTTON */
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.75);
  background: #111827;
  background-image: linear-gradient(to bottom, #111827, #020617);
  color: #f9fafb;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow:
    0 18px 40px rgba(15,23,42,0.35),
    0 0 0 1px rgba(148,163,184,0.35);
  transition: 0.18s ease;
}

.primary-button::after {
  content: "➔";
  font-size: 0.85rem;
  margin-left: 0.4rem;
  opacity: 0.9;
}

.primary-button:hover {
  background: #020617;
  background-image: linear-gradient(to bottom, #020617, #020617);
  transform: translateY(-1px);
  border-color: rgba(191,219,254,0.9);
  box-shadow:
    0 22px 50px rgba(15,23,42,0.4),
    0 0 0 1px rgba(191,219,254,0.9);
}

/* SECTION WRAPPERS */
.section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.2rem;
  letter-spacing: -0.025em; /* slightly tighter for premium feel */
  color: #111827;
}

.section-lead {
  max-width: 42rem;
  margin: 0 auto 2.4rem;
  text-align: center;
  font-size: 1.03rem;
  color: #6b7280;
  line-height: 1.7;
  font-weight: 300; /* softer text */
}

/* HOW-TO GRID */
.how-to-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.how-step {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.3rem;
  text-align: center;
  box-shadow:
    0 22px 60px rgba(15,23,42,0.14),
    0 0 0 1px rgba(226,232,240,0.9);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease-out;
}

.how-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.how-step:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 75px rgba(15,23,42,0.22),
    0 0 0 1px rgba(209,213,219,0.9);
}

.how-step img {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 16px 35px rgba(15,23,42,0.22);
}

.how-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #111827;
}

.how-step-text {
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.55;
  font-weight: 300;
}

/* USING AUDIOSTAMPS IN EVERYDAY LIFE */
.use-cases {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.use-case {
  padding: 1rem 0; /* more vertical breathing room */
  border-top: 1px solid rgba(209, 213, 219, 0.7);
}

.use-case:first-child {
  border-top: none;
}

.use-case-label {
  font-weight: 600;
  font-size: 0.98rem;
  color: #111827;
  margin-bottom: 0.1rem;
}

.use-case-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.75; /* more editorial */
  font-weight: 300;
}

/* CONTACT LINK */
.contact {
  text-align: center;
  font-size: 0.98rem;
  font-weight: 300;
}

.contact-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: #020617;
  color: #9ca3af;
  font-size: 0.8rem;
  padding: 1.2rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
}

footer a { color: #e5e7eb; }
footer a:hover { color: #bfdbfe; }

/* MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease-out;
  z-index: 50;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #ffffff;
  border-radius: 1.1rem;
  max-width: 420px;
  width: 100%;
  padding: 1.5rem 2rem;
  box-shadow: 0 26px 70px rgba(15,23,42,0.35);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: 0.2s ease-out;
}

.modal-backdrop.active .modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #9ca3af;
  cursor: pointer;
}

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

.form-label {
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  display: block;
  color: #374151;
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: #111827;
  box-sizing: border-box;
  font-weight: 400; /* a bit stronger for legibility */
}

.form-textarea {
  min-height: 110px;
}

.captcha {
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1rem;
}

.btn-secondary {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-primary {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.8);
  font-size: 0.85rem;
  font-weight: 600;
  background: #111827;
  background-image: linear-gradient(to bottom, #111827, #020617);
  color: #f9fafb;
  box-shadow:
    0 12px 24px rgba(15,23,42,0.45),
    0 0 0 1px rgba(15,23,42,0.7);
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-primary:hover {
  background: #020617;
  background-image: linear-gradient(to bottom, #020617, #020617);
  transform: translateY(-1px);
  box-shadow:
    0 16px 32px rgba(15,23,42,0.55),
    0 0 0 1px rgba(15,23,42,0.85);
}

/* RECORDING MODAL */
.recording-modal {
  max-width: 480px;
  padding: 1.75rem 2rem 1.5rem;
}

.recording-header {
  align-items: flex-start;
}

.recording-chip {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
  margin: 0 0 0.2rem 0;
}

.recording-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.recording-meta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
}

.recording-serial {
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.recording-prompt {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.recording-dashboard {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(79,70,229,0.08));
}

.recording-timer {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.recording-status {
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
}

.recording-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.record-btn {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.15s ease;
}

.record-btn.primary {
  background: #111827;
  background-image: linear-gradient(to bottom, #111827, #020617);
  color: #f8fafc;
  box-shadow: 0 12px 25px rgba(15,23,42,0.3);
}

.record-btn.primary .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
  display: inline-block;
}

.record-btn.ghost {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #111827;
}

.record-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.recording-preview {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  background: #fdfefe;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.recording-preview.active {
  display: flex;
}

.preview-label {
  margin: 0;
  font-size: 0.83rem;
  font-weight: 600;
  color: #475569;
}

.recording-preview audio {
  width: 100%;
}

.recording-actions {
  margin-top: 1.2rem;
}

@media (max-width: 800px) {
  .how-to-grid { grid-template-columns: repeat(2,1fr); }
}

/* SCAN MODAL STYLES */
.scan-modal {
  max-width: 600px;
}

.scan-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.scan-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.scan-tab.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.scan-tab:hover {
  color: #374151;
}

.scan-panel {
  display: none;
}

.scan-panel.active {
  display: block;
}

.camera-container {
  position: relative;
  background: #000;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16/9;
}

.camera-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  pointer-events: none;
}

.scan-frame {
  width: 280px;
  height: 280px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
  background: transparent;
}

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

.scan-instruction {
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

.camera-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.scan-result {
  padding: 0.5rem;
  background: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: 0.75rem;
  text-align: center;
}

.result-text {
  margin: 0;
  font-size: 0.8rem;
  color: #0369a1;
}

.result-code {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 600;
  color: #1e40af;
  background: #dbeafe;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  word-break: break-all;
}

.manual-form .form-help {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.25rem;
  display: block;
}

.user-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.signed-in-as {
  margin: 0;
  font-size: 0.9rem;
  color: #0369a1;
}

.camera-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 0.75rem;
  z-index: 10;
}

@media (max-width: 520px) {
  .how-to-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.8rem; }
  
  .scan-modal {
    max-width: 100%;
    margin: 1rem;
    padding: 1rem;
  }
  
  .camera-container {
    aspect-ratio: 1;
    width: 100%;
    /* max-width: 16rem; */
    margin-left: auto;
    margin-right: auto;
  }
  
  .scan-frame {
    width: 150px;
    height: 150px;
  }
}

/* USER INFO COMPONENT */
.user-info-component {
  margin-bottom: 1rem;
}

.user-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.user-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.signed-in-label {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1;
}

.user-name {
  font-size: 0.875rem;
  color: #1f2937;
  font-weight: 600;
  truncate;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.user-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.signed-in-label {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1;
}

.user-name {
  font-size: 0.875rem;
  color: #1f2937;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-info-component .user-icon {
  font-size: 1rem;
  color: #6b7280;
  flex-shrink: 0;
}

.user-info-component .logout-btn {
  background: none;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  flex-shrink: 0;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.user-info-component .logout-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #374151;
}

.user-info-component .logout-btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
  border-radius: 2px;
}

/* SOUND PLAYER MODAL STYLES */
.sound-player-modal {
  max-width: 500px;
}

.audio-info {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.serial-number {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.audio-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
}

.audio-player {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background:var(--benson-blue);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.play-btn:hover {
  background: var(--benson-blue);
  transform: scale(1.05);
}

.progress-container {
  flex: 1;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.progress-bar {
  position: relative;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s ease;
}

.progress-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: #2563eb;
  border: 2px solid white;
  border-radius: 50%;
  cursor: grab;
  left: 0%;
  transition: left 0.1s ease;
}

.progress-handle:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.2);
}

.audio-wave {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 2px;
  height: 60px;
  margin-top: 1rem;
}

.wave-bar {
  width: 3px;
  background: #cbd5e1;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.loading-state,
.error-state {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.error-state {
  color: #dc2626;
}

@media (max-width: 520px) {
  .sound-player-modal {
    max-width: 100%;
    margin: 1rem;
  }
  
  .player-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .progress-container {
    width: 100%;
  }
}

/* LOADING OVERLAY STYLES */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: 12px;
}

.loading-content {
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.loading-text {
  color: #4b5563;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 400;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* MOBILE USER INFO OPTIMIZATIONS */
@media (max-width: 520px) {
  .user-info {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .user-details {
    gap: 0.375rem;
  }
  
  .user-name {
    font-size: 0.8125rem;
  }
  
  .signed-in-label {
    font-size: 0.6875rem;
  }
  
  .user-info-component .logout-btn {
    font-size: 0.6875rem;
    padding: 0.1875rem 0.375rem;
    min-height: 28px;
  }

  .modal {
    padding: 1rem;
  }
}

/* Email Confirmation Modal Styles */
.email-display {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-family: 'Inter', monospace;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1e293b;
  text-align: center;
  word-break: break-all;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

#emailConfirmModal .modal-body {
  text-align: center;
}

#emailConfirmModal .modal-body p {
  margin-bottom: 0.75rem;
}

#emailConfirmModal .modal-body small {
  color: #64748b;
  font-style: italic;
}

/* Minimal Scan Modal Styles */
.minimal-scan {
  padding: 0;
  width: min(90vw, 90vh, 500px);
  height: min(90vw, 90vh, 500px);
  aspect-ratio: 1;
  border-radius: 1.5rem;
  overflow: hidden;
}

.minimal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.minimal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.fullscreen-camera {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.fullscreen-camera .camera-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fullscreen-camera .camera-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  pointer-events: none;
}

.fullscreen-camera .scan-instruction {
  font-size: 1rem;
  text-align: center;
  margin: 0 0 2rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.fullscreen-camera .scan-frame {
  width: 280px;
  height: 280px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  animation: pulse 2s infinite;
  background: transparent;
}

@media (max-width: 520px) {
  .minimal-scan {
    width: min(95vw, 95vh, 400px);
    height: min(95vw, 95vh, 400px);
    aspect-ratio: 1;
  }
  
  .fullscreen-camera .scan-frame {
    width: 200px;
    height: 200px;
  }
  
  .fullscreen-camera .scan-instruction {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

/* Player Controls Vertical Layout */
.player-controls-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Styled Play Button */
.play-btn-styled {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 
    0 0 0 8px rgba(255, 255, 255, 0.9),
    0 0 0 16px rgba(200, 200, 200, 0.3),
    0 4px 20px rgba(99, 102, 241, 0.4);
  transition: all 0.2s ease;
  font-size: 24px;
}

.play-btn-styled:hover {
  transform: scale(1.05);
  box-shadow: 
    0 0 0 8px rgba(255, 255, 255, 0.9),
    0 0 0 16px rgba(200, 200, 200, 0.4),
    0 6px 25px rgba(99, 102, 241, 0.5);
}

/* Progress Container Styled */
.progress-container-styled {
  width: 100%;
  max-width: 300px;
  margin-top: 1rem;
}

/* Time Display Centered */
.time-display-centered {
  margin-top: 1rem;
  justify-content: center;
  text-align: center;
}

/* Audio Remarks */
.audio-remarks {
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Audio Recorded Date */
.audio-recorded-date {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Banner Component */
.banner-container {
  max-width: 550px;
  width: 100%;
  margin: 1rem auto;
  padding: 0;
}

.banner-image {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 520px) {
  .banner-container {
    margin: 0.5rem auto;
    padding: 0;
  }
  
  .banner-image {
    border-radius: 0.5rem;
  }
}
