html, body {
  height: 100%;
  margin: 0;
  font-family: Poppins, sans-serif;
}

.qrvautier-modal {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 9999;
}


.qrvautier-auth-card {
  width: 420px;
  margin: 6% auto;
  background: rgba(255,255,255,0.9);
  padding: 40px;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.qrvautier-close {
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
  font-size: 20px;
}

.qrvautier-logo {
  width: 50px;
  height: 50px;
  margin: 0 auto 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#667eea,#764ba2);
  color: #fff;
  font-weight: bold;
}

.qrvautier-page {
  display: none;
  animation: fade .3s ease;
}

.qrvautier-page.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

h1 {
  text-align: center;
  margin: 0 !important;
}

p {
  text-align: center;
  opacity: 0.6;
  margin: 0 !important;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.qrvautier-btn {
  padding: 12px;
  border: none;
  border-radius: 0;
  background: linear-gradient(135deg,#667eea,#764ba2);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.qrvautier-btn:hover {
  color: #ffffffb7;
}

.qrvautier-switch {
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
}

.qrvautier-switch a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.qrvautier-divider {
  text-align: center;
  margin: 15px 0;
  font-size: 12px;
  opacity: 0.5;
}

.qrvautier-social-btn {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  cursor: pointer;
}

.qrvautier-error {
  text-align: center;
  color: red;
  font-size: 13px;
  margin-top: 10px;
}

@keyframes fade {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}


.qrvautier-close {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 38px;
  height: 38px;

  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);

  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  color: #4a5568;

  transition: all 0.25s ease;
}

.qrvautier-close:hover {
  transform: rotate(90deg) scale(1.05);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  color: #111;
}

.qrvautier-close:active {
  transform: scale(0.95);
}



