.analyze-photo-btn,
[data-analyze-photo],
#analyze-photo-btn,
#analyzePhotoBtn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #f8fafc;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  background-color: #090d16;
  background-image:
    linear-gradient(180deg, rgba(7, 11, 20, 0.62), rgba(7, 11, 20, 0.78)),
    url('./assets/analyze-photo-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.analyze-photo-btn > *,
[data-analyze-photo] > *,
#analyze-photo-btn > *,
#analyzePhotoBtn > * {
  position: relative;
  z-index: 1;
}

.analyze-photo-btn:hover,
[data-analyze-photo]:hover,
#analyze-photo-btn:hover,
#analyzePhotoBtn:hover {
  border-color: rgba(245, 208, 97, 0.8);
  background-image:
    linear-gradient(180deg, rgba(7, 11, 20, 0.48), rgba(7, 11, 20, 0.68)),
    url('./assets/analyze-photo-bg.jpg');
}

.analyze-photo-btn:disabled,
[data-analyze-photo]:disabled,
#analyze-photo-btn:disabled,
#analyzePhotoBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
