:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --success: #16a34a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.simple-home {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.simple-home__card {
  width: 100%;
  max-width: 700px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
}

.simple-home__card h1 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 2rem;
}

.simple-home__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pet-page {
  min-height: 100vh;
  padding: 24px;
}

.pet-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pet-card__header {
  padding: 28px 28px 12px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border-bottom: 1px solid var(--border);
}

.pet-badge {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pet-card__header h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.pet-card__header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pet-card__content {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
}

.pet-photo-wrap {
  background: #eef2f7;
  padding: 20px;
  border-right: 1px solid var(--border);
}

.pet-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ddd;
}

.pet-info {
  padding: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.info-item {
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.info-item__label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.info-item__value {
  font-weight: bold;
  line-height: 1.5;
}

.alert-box {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.alert-box strong {
  display: block;
  margin-bottom: 6px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: bold;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover {
  background: #f9fafb;
}

.footer-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 780px) {
  .pet-card__content {
    grid-template-columns: 1fr;
  }

  .pet-photo-wrap {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .pet-card__header h1 {
    font-size: 1.6rem;
  }
}