/* assets/css/attendance.css - Attendance Wizard, Camera & GPS Components */

/* Modern Camera Viewport Container */
.webcam-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: #000000;
  border: 4px solid var(--color-primary);
}

.webcam-container video, 
.webcam-container canvas {
  width: 100%;
  height: auto;
  display: block;
  transform: scaleX(-1);
}

/* Face Alignment Guide Overlay */
.webcam-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  height: 250px;
  border: 3px dashed rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
}

/* Attendance Step Indicator */
.step-tracker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.step-tracker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.step-tracker-item.active {
  color: var(--color-primary);
  font-weight: 800;
}

.step-tracker-item.completed {
  color: var(--color-success);
}

/* Success Fullscreen Overlay Screen */
.success-screen-box {
  padding: 40px 24px;
  text-align: center;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  background: var(--color-success-light);
  color: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 16px auto;
}
