@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');



@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body { background: #0b1220; margin: 0; color: #e2e8f0; font-family: 'Roboto','Segoe UI',sans-serif; }

@keyframes foldIn {
  0% { transform: scaleY(0) rotateX(-90deg); opacity: 0; }
  60% { transform: scaleY(1.05) rotateX(10deg); opacity: 0.8; }
  100% { transform: scaleY(1) rotateX(0deg); opacity: 1; }
}

@keyframes glowScan {
  0% { opacity: 0; transform: translateY(-10px); text-shadow: none; }
  40% { opacity: 1; text-shadow: 0 0 8px #0ea5e9, 0 0 20px #0ea5e9; }
  100% { opacity: 1; transform: translateY(0); text-shadow: 0 0 4px #0ea5e9; }
}

#audit-wrapper {
  max-width: 640px;
  margin: 8vh auto;
  padding: 2rem;
  position: relative;

  overflow: hidden;
  background: rgba(10, 51, 89, 0.9);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.45), inset 0 0 10px rgba(255, 255, 255, 0.08);
  animation: foldIn 1s ease-out forwards;
  transform-origin: top center;
  opacity: 0;
  backdrop-filter: blur(50px) saturate(80%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.1);
}

#audit-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background-image intentionally omitted (no external branding) */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

#audit-wrapper * {
  position: relative;
  z-index: 2;
}

.glass-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  color: #e0f2fe;
  animation: glowScan 1.2s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.glass-subtitle {
  text-align: center;
  color: #475569;
  margin: 0 0 1.5rem 0;
}

.input-label {
  color: #f8fafc;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  margin-top: 0.5rem;
  font-weight: 500;
  display: block;
}

.audit-input {
  width: 100% !important;
  padding: 0.75rem !important;
  margin-bottom: 1rem !important;
  border-radius: 8px !important;
  border: 1px solid #334155 !important;
  background: rgba(30, 41, 59, 0.8) !important;
  color: #e2e8f0 !important;
  font-size: 0.95rem !important;
  transition: border 0.2s, background 0.3s !important;
}

.audit-input::placeholder {
  color: #94a3b8;
}

.audit-input:focus {
  outline: none !important;
  border-color: #0ea5e9 !important;
  background: rgba(30, 41, 59, 0.95) !important;
  box-shadow: none !important;
}

.audit-button {
  background: linear-gradient(135deg, #0ea5e9, #1e3a8a);
  color: #e0f2fe;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.audit-button:hover {
  border-color: #0ea5e9;
  box-shadow: 0 0 12px #0ea5e9, 0 0 24px rgba(14, 165, 233, 0.4);
  transform: scale(1.01);
}

.audit-button:active {
  transform: scale(0.97);
  box-shadow: 0 0 8px #0ea5e9;
}

/* Form layout */
form#unsubscribe-form { display: block; }

/* Success box */
#unsubscribe-success { color: #22c55e; text-align: center; }

.audit-button span.emoji { animation: pulse 2s ease-in-out infinite; display: inline-block; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
