{
  font-size: 100%;
  font-family: 'Source Sans Pro', Helvetica, sans-serif;
  color: white;
}

html {
  height: 100vh;
  width: 100%;
  background-color: white;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;
  width: inherit;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  touch-action: manipulation;
}

button {
  border: none;
}

.display-none {
  display: none;
}

#facetec-logo {
  max-width: 200px;
}

#controls {
  width: 640px;
  padding: 20px 0;
  max-width: 100%;
  margin: 0 auto;
  border: 2px solid rgb(65, 127, 178);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 0;
  background-color:white
}

.big-button {
  width: 40%;
  height: 40px;
  margin: 10px auto 0;
  color: white;
  background: rgb(65, 127, 178);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  transition: all 0.3s ease-out;
  cursor: pointer;
  outline: none;
}

@media (hover: hover) {
  .big-button:hover:enabled,
  .medium-button:hover:enabled {
    background-color: rgb(95, 157, 208);
    color: white !important;
    transition: all 0.3s ease-out;
  }
}

#status {
  color: rgb(64, 127, 178);
  margin: 20px auto 0;
  display: none;
  font-size: 18px;
  background-color: rgba(65, 127, 178, 0.15);
  width: 90%;
  display: block;
  border-radius: 4px;
  padding: 8px;
  transition: all 0.3s ease;
}

#status.success {
  background-color: rgba(59, 195, 113, 0.15);
  color: rgb(59, 195, 113);
  border-left: 4px solid rgb(59, 195, 113);
}

#status.error {
  background-color: rgba(220, 53, 69, 0.15);
  color: rgb(220, 53, 69);
  border-left: 4px solid rgb(220, 53, 69);
}

#status.warning {
  background-color: rgba(255, 193, 7, 0.15);
  color: rgb(255, 152, 0);
  border-left: 4px solid rgb(255, 193, 7);
}

#status.info {
  background-color: rgba(65, 127, 178, 0.15);
  color: rgb(65, 127, 178);
  border-left: 4px solid rgb(65, 127, 178);
}

.wrapping-box-container {
  position: fixed;
  margin: 0 auto;
  width: 100%;
  height: auto;
  color: #fff;
  padding: 10px;
  transition: opacity 800ms;
}

#custom-logo-container {
  margin: 20px auto;
}

#custom-logo-container img {
  max-height: 70px;
  width: auto;
  height: auto;
  text-align: center;
  position: relative;
  padding-right: 4px;
}

button:disabled {
  cursor: not-allowed;
  color: #ddd;
  border-color: #ddd;
}

a {
  text-decoration: none;
  color: inherit;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h2 {
  color: rgb(65, 127, 178);
  margin: 0 0 10px 0;
  font-size: 24px;
}

.modal-subtitle {
  color: #666;
  margin: 0 0 20px 0;
  font-size: 14px;
}

.instructions-list {
  text-align: left;
  margin: 20px 0;
}

.instructions-list h3 {
  color: #333;
  font-size: 16px;
  margin: 0 0 15px 0;
}

.instructions-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.instructions-list li {
  color: #333;
  margin: 12px 0;
  padding-left: 30px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}

.check-icon {
  position: absolute;
  left: 0;
  color: rgb(59, 195, 113);
  font-weight: bold;
  font-size: 18px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.modal-button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.modal-button.primary {
  background: rgb(65, 127, 178);
  color: white;
}

.modal-button.primary:hover {
  background: rgb(95, 157, 208);
}

.modal-button.secondary {
  background: #f0f0f0;
  color: #666;
}

.modal-button.secondary:hover {
  background: #e0e0e0;
}

.progress-stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.step.active {
  opacity: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.step.active .step-number {
  background: rgb(65, 127, 178);
  color: white;
}

.step.current .step-number {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(65, 127, 178, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(65, 127, 178, 0);
  }
}

.step-label {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  text-align: center;
}

.step.active .step-label {
  color: rgb(65, 127, 178);
  font-weight: 500;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: #ddd;
  transition: background 0.3s ease;
}

.step-connector.active {
  background: rgb(65, 127, 178);
}

@media (max-width: 768px) {
  .progress-stepper {
    padding: 15px 20px;
    gap: 10px;
  }

  .step-connector {
    width: 30px;
  }

  .step-label {
    font-size: 10px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}
