/* ==========================================================================
   PORTALMU — ADMIN SECURITY GATEKEEPER STYLES
   ========================================================================== */

.admin-gatekeeper-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #0d1322 0%, #04060a 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(20px);
}

.admin-gatekeeper-card {
  width: 100%;
  max-width: 440px;
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid rgba(212, 168, 83, 0.4);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 168, 83, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.admin-gatekeeper-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a853, #00d2ff, #d4a853);
  animation: glowLine 3s linear infinite;
}

@keyframes glowLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.gatekeeper-shield-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.2) 0%, rgba(6, 8, 14, 0.8) 100%);
  border: 1px solid var(--classic-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 20px rgba(212, 168, 83, 0.25);
}

.gatekeeper-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--classic-gold-light);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.gatekeeper-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.gatekeeper-input-group {
  margin-bottom: 20px;
  text-align: left;
}

.gatekeeper-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.gatekeeper-input-wrapper {
  position: relative;
  width: 100%;
}

.gatekeeper-input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  background: #060913;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
  text-align: center;
  letter-spacing: 0.15em;
  font-family: monospace;
}

.gatekeeper-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.gatekeeper-toggle-btn:hover {
  color: var(--classic-gold-light);
}

.gatekeeper-input:focus {
  border-color: var(--classic-gold);
  box-shadow: 0 0 15px rgba(212, 168, 83, 0.3);
  background: #080c1a;
}

.gatekeeper-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--classic-gold-dark), var(--classic-gold));
  border: none;
  border-radius: var(--radius-sm);
  color: #06080e;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  letter-spacing: 0.05em;
}

.gatekeeper-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 20px rgba(212, 168, 83, 0.4);
  transform: translateY(-2px);
}

.gatekeeper-error {
  margin-top: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: #ff5252;
  font-size: 0.8rem;
  display: none;
}

.gatekeeper-lock-msg {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 16px;
}
