#container-circles{position:absolute;left:50%;bottom:90px}#outer-circle{left:-37px;height:75px;width:75px;background-color:hsla(0,0%,100%,.4);z-index:1}#inner-circle,#outer-circle{position:absolute;border-radius:50%}#inner-circle{left:50%;top:38px;height:44px;width:44px;background:#fff;margin:-22px 0 0 -22px;z-index:2}#inner-circle.is-clicked{height:38px;width:38px;margin:-19px 0 0 -19px}#white-flash.normal{position:absolute;height:100%;width:100%;opacity:1;transition:opacity .9s ease-out}#white-flash.do-transition{opacity:0;background:#fff}#display-error{color:#000;background-color:#fff}.react-html5-camera-photo{position:relative;text-align:center}.react-html5-camera-photo>img,.react-html5-camera-photo>video{width:768px}.react-html5-camera-photo>.display-error{width:768px;margin:0 auto}@media(max-width:768px){.react-html5-camera-photo>.display-error,.react-html5-camera-photo>img,.react-html5-camera-photo>video{width:100%}}.react-html5-camera-photo-fullscreen>img,.react-html5-camera-photo-fullscreen>video{width:100vw;height:100vh}.react-html5-camera-photo-fullscreen>video{object-fit:fill}.react-html5-camera-photo-fullscreen>.display-error{width:100vw;height:100vh}
.PhotoCapture_cameraContainer__vdPWV {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.80);
  background: #1a365d;
  aspect-ratio: 2.9/4.5;
  display: flex;
  flex-direction: column;
}

.PhotoCapture_camera__5Qlxh {
  flex: 1 1;
  position: relative;
  overflow: hidden;
  background: #1a365d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.PhotoCapture_cameraView__ijles {
  width: 100%;
  height: 111%;
  object-fit: cover;
}

.PhotoCapture_viewfinder__QA8Fe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  margin: 10px;
  pointer-events: none;
}

.PhotoCapture_overlay__7BNfu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: white;
}

.PhotoCapture_preview__bwWUa {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
  border-radius: 15px;
}

.PhotoCapture_controls__39FeP {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 25px 15px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.PhotoCapture_captureButton__1l_99 {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 4px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.PhotoCapture_captureButton__1l_99:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.2);
}

.PhotoCapture_innerCircle__rXDE5 {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: #fff;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
}

.PhotoCapture_captureButton__1l_99:active .PhotoCapture_innerCircle__rXDE5 {
  transform: scale(0.9);
  background: #ff5e5e;
  box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
  cursor: pointer;
}

.PhotoCapture_retakeButton__H1Gqk, .PhotoCapture_confirmButton__439ll {
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none;
  letter-spacing: 0.5px;
}

.PhotoCapture_retakeButton__H1Gqk {
  background-color: #2d3748;
  color: #ffffff;
  border: 0px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.PhotoCapture_confirmButton__439ll {
  background: #4CAF50;
  color: white;
  border: 2px solid #4CAF50;
  cursor: pointer;
}

.PhotoCapture_retakeButton__H1Gqk:active, .PhotoCapture_confirmButton__439ll:active {
  transform: scale(0.95);
}

.PhotoCapture_loading__k_9x9 {
  color: white;
  font-size: 1.1em;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  margin: 20px;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.PhotoCapture_error__0v_Aa {
  background: #fff5f5;
  border-left: 4px solid #e53e3e;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  color: #2d3748;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.PhotoCapture_error__0v_Aa p {
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.PhotoCapture_errorActions__oBK75 {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.PhotoCapture_retryButton__ylmoC,
.PhotoCapture_backButton__aq0dM {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.PhotoCapture_retryButton__ylmoC {
  background-color: #3182ce;
  color: white;
}

.PhotoCapture_retryButton__ylmoC:hover {
  background-color: #2c5282;
}

.PhotoCapture_backButton__aq0dM {
  background-color: #2d3748;
  color: #ffffff;
}

.PhotoCapture_backButton__aq0dM:hover {
  background-color: #cbd5e0;
}

/* Animation for the capture effect */
@keyframes PhotoCapture_flash__8IkYY {
  0% { opacity: 0; }
  50% { opacity: 0.5; }
  100% { opacity: 0; }
}

.PhotoCapture_flashEffect__RSpkx {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
}

.PhotoCapture_flash__8IkYY {
  animation: PhotoCapture_flash__8IkYY 0.5s ease-out;
}

/* Instructions text */
.PhotoCapture_instructions__oR26x {
  text-align: center;
  color: white;
  margin-bottom: 15px;
  font-size: 0.9em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.PhotoCapture_cameraLoading__1l_k9 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 5;
}

.PhotoCapture_spinner__gxwPV {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid white;
  width: 30px;
  height: 30px;
  animation: PhotoCapture_spin__gL98F 1s linear infinite;
  margin-bottom: 10px;
}

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

.PhotoCapture_errorContainer__0Nk6v {
  padding: 20px;
  background: #ffebee;
  border-radius: 8px;
  color: #c62828;
  text-align: center;
}

.PhotoCapture_errorContainer__0Nk6v button {
  margin-top: 10px;
  padding: 8px 16px;
  background: #c62828;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
/* src/components/common/SpeechToText/SpeechToText.module.css */
.SpeechToText_container__0XkY9 {
  margin: 1rem 0;
}

.SpeechToText_button__QUgwQ {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.SpeechToText_button__QUgwQ:hover:not(:disabled) {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.SpeechToText_button__QUgwQ:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.SpeechToText_button__QUgwQ.SpeechToText_listening__U6cHQ {
  background-color: #ffebee;
  border-color: #ef9a9a;
  color: #c62828;
}

.SpeechToText_recordingIndicator__Ba8XQ {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #f44336;
  border-radius: 50%;
  margin-left: 0.5rem;
  animation: SpeechToText_pulse__v3eG_ 1.5s infinite;
}

@keyframes SpeechToText_pulse__v3eG_ {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.SpeechToText_unsupported__ASpe7 {
  color: #949494;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background-color: #101a2c;
  border-radius: 4px;
}

.SpeechToText_firefoxHint__5pguK {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: #101a2c;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #b6bac0;
}

.SpeechToText_firefoxHint__5pguK p {
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.SpeechToText_hintToggle__Cu8ox {
  background: none;
  border: none;
  color: #1976d2;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.SpeechToText_firefoxSteps__Fsl9i {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  font-size: 0.85rem;
}

.SpeechToText_firefoxSteps__Fsl9i ol {
  margin: 0;
  padding-left: 1.25rem;
}

.SpeechToText_firefoxSteps__Fsl9i li {
  margin: 0.35rem 0;
  line-height: 1.4;
}

.SpeechToText_firefoxSteps__Fsl9i code {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-family: monospace;
}
.Footer_footer__12mlR {
  background-color: #08101c;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 0px solid #e9ecef;
}

.Footer_footerContent__3_6Xn {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.Footer_footerSection__quXLh {
  flex: 0 1 300px;
  margin: 0 0 2rem;
  text-align: center;
}

.Footer_footerSection__quXLh h4 {
  color: #f5f5f5;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.Footer_footerSection__quXLh p {
  margin: 0.5rem 0;
  color: #f5f5f5;
}

.Footer_footerSection__quXLh a,
.Footer_footerSection__quXLh .Footer_footerLink__HT8Ic {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.Footer_footerSection__quXLh a:hover,
.Footer_footerSection__quXLh .Footer_footerLink__HT8Ic:hover {
  color: #5a8ff1;
}

.Footer_copyright__96k5G {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 0px solid #e9ecef;
  color: #f5f5f5;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .Footer_footerContent__3_6Xn {
    flex-direction: column;
  }
  
  .Footer_footerSection__quXLh {
    margin-bottom: 1.5rem;
  }
}

/* GameMode Container */
.GameMode_gameModeContainer__ql83T {
  width: 100%;

  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  max-width: 1200px;
  box-sizing: border-box;
}

/* Card Styles */
.GameMode_gameModeCard__9Qk6J {
  background: transparent !important;
  border-radius: 10px;
  padding: 1.5rem;
  width: 100%;
  margin: 0.1rem;
  max-width: 1200px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;

}

/* Main content container */
.GameMode_gameModeContent__sqKzi {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* Header */
.GameMode_gameModeHeader__AWn0G {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.GameMode_gameModeTitle__82vxO {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f0f0f0 !important;
  margin: 0;
  align-self: center;
}

/* User info and progress row */
.GameMode_gameModeRow___Biil {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  margin-top: 1rem;
}

/* User info */
.GameMode_userInfo__MuZ5M {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: #f8f9fa !important;
  border-radius: 8px;
  flex: 1 1;
  min-width: 0;
}

.GameMode_avatar__LKqB5 {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #104070;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
  border: 2px solid #e0e0e0;
}

.GameMode_userDetails__38Gwl {
  flex: 1 1;
  min-width: 0;
}

.GameMode_userEmail__Y3XgW {
  font-size: 0.95rem;
  color: #4a5568 !important;
  margin: 0 0 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.GameMode_userScore__r3ydK {
  font-size: 0.9rem;
  color: #4a5568 !important;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Progress section */
.GameMode_progressSection__d7_KS {
  flex: 1 1;
  min-width: 0;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.GameMode_progressContainer__XYD3a {
  width: 100%;
  margin: 0.5rem 0 0;
}

.GameMode_progressBar__wOFO4 {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.GameMode_progressFill__tjJGs {
  height: 100%;
  background: linear-gradient(90deg, #4299e1, #3182ce);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.GameMode_progressLabel__1htpq {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #4a5568;
  margin-bottom: 0.25rem;
}

/* Buttons */
.GameMode_gameModeActions__90T8Q {
  display: flex;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {

  .GameMode_gameModeCard__9Qk6J {
    margin-right: 1.2rem;
  }
  .GameMode_gameModeContent__sqKzi {
    gap: 1rem;
  }
  
  .GameMode_gameModeRow___Biil {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .GameMode_userInfo__MuZ5M {
    max-width: 300px;
  }
  
  .GameMode_progressSection__d7_KS {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .GameMode_gameModeContainer__ql83T {
    padding: 0 1rem 0 1rem;
  }
  
  .GameMode_gameModeCard__9Qk6J {
    padding: 1.25rem;
    margin-right: 2rem;
  }
  
  .GameMode_gameModeTitle__82vxO {
    font-size: 1.8rem;
    padding-bottom: 1.55rem;
  }
  
  .GameMode_userEmail__Y3XgW {
    font-size: 0.85rem;
  }
  
  .GameMode_userScore__r3ydK {
    font-size: 0.8rem;
  }
  
  .GameMode_gameModeActions__90T8Q {
    flex-direction: column;
  }
  
  .GameMode_loginButton__Woa5c,
  .GameMode_registerButton__GeLQn {
    width: 100%;
  }
}

/* GameMode Status */
.GameMode_gameModeStatus__Zx78h {
  background: linear-gradient(135deg, #166534 0%, #16a34a 100%);
  color: #bbcfc1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Achievements */
.GameMode_achievements__X_NGB h4 {
  font-size: 1rem;
  color: #1a202c !important;
  margin: 1.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.GameMode_achievementList__eU849 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.GameMode_achievement__rTzuV {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem;
  background: #1a202c !important;
  border-radius: 8px;
  opacity: 1;
  transition: all 0.3s ease;
}

.GameMode_achievementUnlocked__xOPYe {
  opacity: 1;
  background: #e8f5e9;
  border-left: 3px solid #4caf50;
}

.GameMode_achievementIcon__Doo_e {
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.GameMode_achievementInfo___LHNT {
  flex: 1 1;
}

.GameMode_achievementInfo___LHNT h5 {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  color: #1a202c;
}

.GameMode_achievementInfo___LHNT p {
  margin: 0;
  font-size: 0.8rem;
  color: #1a202c;;
}

.GameMode_achievementBadge__xMRdx {
  display: inline-block;
  background: #4caf50;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  margin-top: 0.5rem;
}

.GameMode_achievementProgress__eA_tW {
  display: inline-block;
  font-size: 0.7rem;
  color: #f57c00;
  margin-top: 0.5rem;
}

/* Login State */
.GameMode_gameModeDescription__bNKEH {
  color: #ffffff !important;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.5rem 0 1.5rem 0;
}

.GameMode_loginButton__Woa5c,
.GameMode_registerButton__GeLQn {
  flex: 1 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.GameMode_loginButton__Woa5c {
  background: #0369a1;
  color: white;

}

.GameMode_registerButton__GeLQn {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #163863;
}

.GameMode_loginButton__Woa5c:hover {
  background: #047dbe;
}

.GameMode_registerButton__GeLQn:hover {
  background: #dbeafe;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .GameMode_gameModeCard__9Qk6J {
    background: transparent !important;
    border-color: #333;
  }
  
  .GameMode_gameModeTitle__82vxO {
    color: #f0f0f0;
  }
  
  .GameMode_userEmail__Y3XgW {
    color: #1a202c !important;
  }
  
  .GameMode_userScore__r3ydK {
    color: #1a202c !important;
  }
  
  .GameMode_scoreLabel__9Tj6v {
    color: #1a202c !important;
  }
  
  .GameMode_progressContainer__XYD3a {
    background: #1a202c;
  }
  
  .GameMode_progressBar__wOFO4 {
    background: #1a202c;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .GameMode_progressStats__3K_3z {
    color: #999;
  }
  
  .GameMode_achievement__rTzuV {
    background: #1a202c;
  }
  
  .GameMode_achievementUnlocked__xOPYe {
    background: #1b5e20;
  }
  
  .GameMode_achievementInfo___LHNT h5 {
    color: #f0f0f0;
  }
  
  .GameMode_achievementInfo___LHNT p {
    color: #aaa;
  }
  
  .GameMode_registerButton__GeLQn {
    background: #2563eb;
    color: #fff;
    border: 1px solid #3574fd;
  }
  
  .GameMode_registerButton__GeLQn:hover {
    background: #052149;
  }
}

