html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #89CFF0, #FFB6C1);
  font-family: sans-serif;
  color: #2F4F4F;
}

.wizard {
  width: 320px;
  max-width: 100%;
  background: #99CED3;
  border: 2px solid #25274D;
  border-radius: 8px;
  padding: 2rem;
}

.step {
  display: none;
  flex-direction: column;
  align-items: center;
}

.step.active {
  display: flex;
}

h2 {
  margin-bottom: 1rem;
}

input,
button {
  width: 100%;
  padding: .5rem;
  margin: .5rem 0;
  border: 1px solid #B0C4DE;
  border-radius: 4px;
}

button.btn {
  background: #8FBC8F;
  color: #fff;
  border: none;
  cursor: pointer;
}

.error {
  color: #B22222;
  font-size: .9rem;
  display: none;
}

.video-container,
.photo-container {
  position: relative;
  width: 100%;
}

video {
  width: 100%;
  border-radius: 4px;
  background: #000;
}

.face-oval {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35%;
  height: 50%;
  transform: translate(-50%, -50%);
  border: 3px dashed rgba(255,255,255,0.8);
  border-radius: 50%/80%;
  pointer-events: none;
}

.countdown {
  font-size: 2rem;
  margin: 1rem 0;
}

.or {
  margin: .5rem 0;
  font-size: .9rem;
}

button.btn.recording {
  position: relative;
  color: #B22222;
}

button.btn.recording::after {
  content: '●';
  display: inline-block;
  margin-left: .5rem;
  width: 8px;
  height: 8px;
  background: #B22222;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75%     { opacity: 0; }
}
