/* =====================
   PET ID FORM
===================== */

.PetIDForm {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);

  max-width: 267px;
  width: 60vw;
  padding: 8px 8px 2px;

  background-color: rgba(235, 132, 87, 0.85);
  border-radius: 25px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  z-index: 1000;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;

  box-sizing: border-box;
}

/* =====================
   INPUT ROW
===================== */

.PetIDForm-input-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.PetIDForm input {
  flex: 1;
  height: 36px;
  min-width: 0;

  padding: 6px 12px;
  font-family: '2Regular';
  font-size: 1rem;

  color: #2D2D2D;
  background-color: #FFFFFF;
  border: 1px solid #2D2D2D;
  border-radius: 25px;

  text-align: center;
  box-sizing: border-box;
}

/* =====================
   BUTTON (FIXED)
===================== */

.PetIDForm button {
  flex-shrink: 0;              /* 🔥 НЕ СХЛОПЫВАТЬСЯ */

  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;

  padding: 0;
  border-radius: 50%;
  border: 1px solid #FFFFFF;

  background-color: #000;
  background-image: url('/img/PawWhite.svg');
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center;

  cursor: pointer;

  /* анимация */
  transform: rotate(-25deg);
  transition: transform 0.2s ease;
}

/* hover ТОЛЬКО добавляет */
@media (min-width: 768px) {
  .PetIDForm button:hover {
    transform: rotate(-15deg) scale(1.05);
  }
}

/* =====================
   HINT
===================== */

.PetIDForm-hint {
  width: 100%;
  text-align: center;
  font-family: '2Regular';
  font-size: 0.8rem;
  color: #FFFFFF;
  opacity: 0.85;
  line-height: 1;
}

/* =====================
   ERROR
===================== */

#wordError {
  position: fixed;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%);

  max-width: 133px;
  width: 40vw;
  padding: 8px;

  background-color: rgba(192, 40, 32, 0.75);
  color: #FFFFFF;

  border-radius: 25px;
  text-align: center;
  font-family: '2Regular';
  font-size: 0.875rem;

  z-index: 1001;
  display: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}
