/* CozyPets Remote UAT / LINE integration v1.7 */
#cozypetsLineAdminMount[hidden],
#cozypetsRemoteToast[hidden] {
  display: none !important;
}

#cozypetsLineAdminMount {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  width: min(390px, calc(100vw - 28px));
  font-family: inherit;
}

.cozypets-line-panel {
  border: 1px solid rgba(59, 76, 60, .2);
  border-radius: 18px;
  padding: 16px;
  background: #fffdf7;
  box-shadow: 0 18px 48px rgba(28, 43, 32, .18);
  color: #2c3a30;
}

.cozypets-line-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.cozypets-line-panel-head small {
  display: block;
  margin-bottom: 3px;
  color: #7a826f;
  font-weight: 700;
  letter-spacing: .08em;
}

.cozypets-line-panel-head h3 {
  margin: 0;
  font-size: 18px;
}

.cozypets-admin-session {
  font-size: 12px;
  white-space: nowrap;
}

.cozypets-admin-session button,
.cozypets-line-actions button,
.cozypets-admin-login-form button {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #405d47;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cozypets-admin-session button {
  padding: 5px 8px;
  margin-left: 5px;
  background: #ece8da;
  color: #435245;
}

.cozypets-line-secondary {
  background: #9a4f45 !important;
}

.cozypets-line-status-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #ece7d8;
  border-bottom: 1px solid #ece7d8;
}

.cozypets-line-meta {
  padding: 9px 0;
  color: #777568;
  font-size: 12px;
}

.cozypets-line-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cozypets-line-action-message {
  min-height: 18px;
  margin-top: 9px;
  font-size: 12px;
}

.cozypets-admin-login-form {
  display: grid;
  gap: 10px;
}

.cozypets-admin-login-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
}

.cozypets-admin-login-form input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7d2c4;
  border-radius: 10px;
  padding: 10px 11px;
  background: #fff;
  font: inherit;
}

.cozypets-admin-login-error {
  color: #9a4038;
  font-size: 12px;
  font-weight: 700;
}

.cozypets-remote-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1400;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 15px;
  border-radius: 999px;
  background: #34493a;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  font-size: 13px;
  font-weight: 700;
}

.cozypets-remote-toast.is-error {
  background: #963f38;
}

.cozypets-remote-focus {
  outline: 4px solid rgba(224, 166, 63, .65) !important;
  outline-offset: 4px;
  animation: cozypetsRemotePulse 1s ease-in-out 3;
}

@keyframes cozypetsRemotePulse {
  50% { outline-color: rgba(224, 166, 63, .18); }
}

.mb-card-btns .mb-rebook-btn + .mb-rebook-btn {
  margin-left: 5px;
}

@media (max-width: 680px) {
  #cozypetsLineAdminMount {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}


.cozypets-line-booking-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  border: 1px solid rgba(64, 93, 71, .18);
  border-radius: 999px;
  padding: 6px 9px;
  background: #f4f1e6;
  color: #4b5c4d;
  font-size: 11px;
  font-weight: 800;
}

.cozypets-line-booking-state.is-sent {
  background: #e8f2e7;
  color: #35553d;
}

.cozypets-line-booking-state.is-failed {
  background: #f8e8e4;
  color: #8b3f39;
}

.cozypets-line-booking-state.is-sending,
.cozypets-line-booking-state.is-retrying {
  background: #fff1cc;
  color: #775f28;
}

.cozypets-line-booking-resend {
  border: 0;
  border-radius: 999px;
  padding: 4px 8px;
  background: #8f443d;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
