/* Bovida × Sehstoff Auth Gate Styling */
html.bovida-locked,
body.bovida-locked {
  overflow: hidden !important;
  height: 100vh !important;
}

.bovida-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #080D1A;
  padding: 16px;
  overflow-y: auto;
  opacity: 1;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.bovida-auth-overlay.bovida-auth-unlocking {
  opacity: 0;
  pointer-events: none;
}

.bovida-auth-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('assets/bovida_wuerenlos_arch_bridge_6k.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.28);
  transform: scale(1.08);
  z-index: 1;
}

.bovida-auth-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(8, 13, 26, 0.88) 100%),
              linear-gradient(180deg, rgba(8, 13, 26, 0.6) 0%, rgba(8, 13, 26, 0.95) 100%);
}

.bovida-auth-card {
  position: relative;
  z-index: 10;
  max-width: 440px;
  width: 100%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid #D97706;
  padding: 36px 32px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(217, 119, 6, 0.2);
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  animation: bovidaCardEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bovidaCardEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bovida-auth-card.bovida-shake {
  animation: bovidaShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes bovidaShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.bovida-auth-brand {
  text-align: center;
  margin-bottom: 24px;
}

.bovida-auth-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bovida-auth-logo-sehstoff {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.bovida-auth-logo-bovida {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.bovida-auth-logo-srw {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.bovida-auth-brand-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.bovida-auth-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #D97706;
  margin-bottom: 6px;
}

.bovida-auth-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.bovida-auth-subtitle {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.4;
}

.bovida-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bovida-auth-error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #FECACA;
  font-size: 12.5px;
  padding: 10px 12px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bovida-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bovida-auth-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #CBD5E1;
}

.bovida-auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bovida-auth-input {
  width: 100%;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.bovida-auth-input:focus {
  border-color: #D97706;
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.25);
}

.bovida-auth-toggle-pw {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.bovida-auth-toggle-pw:hover {
  color: #FFFFFF;
}

.bovida-auth-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -2px;
}

.bovida-auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94A3B8;
  cursor: pointer;
  user-select: none;
}

.bovida-auth-checkbox-label input[type="checkbox"] {
  accent-color: #D97706;
  cursor: pointer;
}

.bovida-auth-btn {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  border: none;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.28);
}

.bovida-auth-btn:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45);
  transform: translateY(-1px);
}

.bovida-auth-btn:active {
  transform: translateY(0);
}

.bovida-auth-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #64748B;
  letter-spacing: 0.3px;
}
