/* Custom metallic elevator panel styling */
.elevator-panel {
  background: linear-gradient(135deg, 
    #c4c4c4 0%, 
    #e8e8e8 25%, 
    #d4d4d4 50%, 
    #a8a8a8 75%, 
    #c4c4c4 100%
  );
  border: 2px solid #999;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 
    inset 0 2px 4px rgba(255,255,255,0.8),
    inset 0 -2px 4px rgba(0,0,0,0.2),
    0 4px 8px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.elevator-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.1) 2px,
    rgba(255,255,255,0.1) 4px
  );
  pointer-events: none;
}

/* Elevator button styling */
.elevator-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    #f0f0f0, 
    #d0d0d0 40%, 
    #b0b0b0 70%, 
    #a0a0a0
  );
  border: 3px solid #888;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(255,255,255,0.8),
    inset 0 -2px 4px rgba(0,0,0,0.2);
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}

.elevator-button:hover {
  background: radial-gradient(circle at 30% 30%, 
    #f5f5f5, 
    #d5d5d5 40%, 
    #b5b5b5 70%, 
    #a5a5a5
  );
  box-shadow: 
    0 3px 6px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(255,255,255,0.8),
    inset 0 -2px 4px rgba(0,0,0,0.2);
}

.elevator-button.pressed {
  background: radial-gradient(circle at 30% 30%, 
    #d0d0d0, 
    #b0b0b0 40%, 
    #909090 70%, 
    #808080
  );
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.4),
    inset 0 -2px 4px rgba(255,255,255,0.3),
    inset 0 2px 8px rgba(0,0,0,0.4);
  transform: translateY(1px);
}

/* Access switch styling */
.access-switch {
  width: 60px;
  height: 30px;
  background: linear-gradient(to bottom, #e0e0e0, #c0c0c0);
  border: 2px solid #999;
  border-radius: 15px;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.access-switch.on {
  background: linear-gradient(to bottom, #90EE90, #70CC70);
  border-color: #5a5;
}

.switch-handle {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 30% 30%, #f5f5f5, #d0d0d0);
  border: 1px solid #888;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.access-switch.on .switch-handle {
  left: 33px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .elevator-panel {
    margin: 16px;
    padding: 16px;
  }
  
  .elevator-button {
    width: 56px;
    height: 56px;
  }
}

/* Animation for confusion meter */
@keyframes confusionPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.confusion-high {
  animation: confusionPulse 1s infinite;
}

/* Smooth reveal animations */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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