@import url('https://fonts.cdnfonts.com/css/poppins');

body {
  background: url("https://images.unsplash.com/photo-1622547748225-3fc4abd2cca0?q=80&w=2664&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-family: 'Poppins', serif;
  animation: backgroundShift 15s ease infinite;
}

.verification_modal {
  background: rgba(255, 255, 255, 0.1);
  height: 100%;
  width: 100%;
  margin: 0px 0px;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  padding: 40px;
  animation: fadeInUp 0.8s ease forwards;
}

h1 {
  font-size: 28pt;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

p {
  font-size: 14pt;
  margin-bottom: 25px;
  line-height: 1.5;
  color: #e0e0e0;
}

.passport_icon {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.snap_button,
button {
  background: #000000;
  border: none;
  color: white;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  font-family: Poppins;
  box-shadow: 0 4px 15px rgba(101, 41, 255, 0.4);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
  user-select: none;
  outline: none;
}

.snap_button:hover,
button:hover {
  background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
  box-shadow: 0 6px 20px rgba(101, 41, 255, 0.7);
  transform: translateY(-3px);
}

@media screen and (max-width: 600px) {
  .verification_modal {
    background-color: #ffffff40;
    height: 100%;
    margin: 0px 0px;
    width: 100%;
  }
}

/*---------------ID Verification style Start------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ID-VER {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to right, #F9F9F9, #F9F9F9);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #222;
  padding: 20px;
}

.container {
  background: #FFFFFF;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 90%;
  width: 380px;
  position: relative;
  animation: fadeIn 1s ease-in-out;
  backdrop-filter: blur(12px);
  border: 1px solid black;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  width: 64px;
  margin-bottom: 15px;
}

h2 {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
  color: #111;
}

video {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 3px solid #E1E1E1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

button {
  background: linear-gradient(to right, black, rgb(223, 218, 218));
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px #edeaea;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(81, 79, 79);
}

.status {
  font-size: 15px;
  color: #333;
  margin-top: 12px;
  min-height: 20px;
}

.loader {
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 15px auto;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.result-box {
  background: #f7f9fb;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  color: #222;
  margin-top: 12px;
  display: none;
  border-left: 4px solid rgb(33, 32, 32);
  text-align: left;
}

@media screen and (max-width: 480px) {
  h2 {
    font-size: 20px;
  }

  button {
    width: 100%;
    font-size: 15px;
    padding: 10px 20px;
  }

  .result-box {
    text-align: center;
  }
}

canvas {
  display: none;
}

/*---------------ID Verification style Ending------------------------*/