/* event.css */

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background-color: #F5F3EF;
  color: #1F2B40;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.app-wrapper {
  width: 100%;
  max-width: 700px;
  padding: 20px;
  text-align: center;
}

header .logo {
  width: 90px;
  margin-bottom: 10px;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  margin: 10px 0;
  color: #1F2B40;
}

button {
  background-color: #D2A536;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  margin: 10px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

button:hover {
  background-color: #C6871C;
}

.hidden {
  display: none;
}

select, input[type="email"] {
  padding: 12px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  width: 80%;
  max-width: 300px;
  margin: 12px auto;
  display: block;
}

#prompt-text {
  font-size: 1.3rem;
  background-color: white;
  padding: 20px;
  border-radius: 20px;
  margin: 20px 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Countdown */
#countdown {
  font-size: 4rem;
  font-weight: bold;
  color: #49658B;
  animation: countdownAnim 1s steps(1) infinite;
  margin-top: 50px;
}

@keyframes countdownAnim {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Capture layout */
#camera-preview {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

#photo-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 10px 0;
}

/* Preview */
#photo-preview, #video-preview {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Recording Indicator */
#recording-indicator {
  color: #D9534F;
  font-weight: bold;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#recording-indicator .dot {
  width: 12px;
  height: 12px;
  background-color: #D9534F;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}
