/* Lamp Test Button Component Styles */
/* Ported from knob-lamps LampTestButton */

.lamp-test-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.lamp-test-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lamp-test-button {
  width: 100px;
  height: 70px;
  background: linear-gradient(135deg, #2d8a6e 0%, #248a6e 50%, #1a6a5a 100%);
  border: 3px solid #1a5a4a;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.15s ease;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lamp-test-button:not(.disabled):hover {
  background: linear-gradient(135deg, #35a080 0%, #2d8a6e 50%, #248a6e 100%);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 12px rgba(45, 138, 110, 0.4);
}

.lamp-test-button:not(.disabled):active {
  background: linear-gradient(135deg, #1a6a5a 0%, #1a5a4a 50%, #0f4a3a 100%);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
}

.lamp-test-button.disabled {
  background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 50%, #2a2a2a 100%);
  border-color: #2a2a2a;
  cursor: not-allowed;
  opacity: 0.5;
}

.button-gel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.button-text {
  position: relative;
  color: white;
  font-size: 0.85rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  z-index: 1;
}

.button-text.disabled {
  color: #6a6a6a;
}
