.owner-page {
  min-height: 100vh;
  padding: 50px 0;
  background: #f6f8fb;
}

.owner-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 10px;
  padding: 28px;
}

.owner-card-secondary {
  margin-top: 24px;
}

.owner-card h1 {
  margin-top: 0;
  color: #0f2744;
}

.owner-subtitle {
  color: #64748b;
  margin-bottom: 16px;
}

.owner-alert {
  background: #fee2e2;
  color: #7f1d1d;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.owner-success {
  background: #dcfce7;
  color: #166534;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.owner-form label {
  font-weight: 600;
  margin-top: 10px;
}

.owner-form .form-control {
  height: 42px;
  border-radius: 6px;
}

.owner-grid {
  margin-top: 8px;
}

.owner-grid [class*="col-"] {
  margin-bottom: 8px;
}

.owner-check {
  padding-top: 8px;
}

.owner-button {
  margin-top: 14px;
  background: #017fb5;
  color: #fff;
  border: 1px solid #0170a1;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
}

.owner-button.small {
  padding: 6px 14px;
  margin-left: 10px;
}

.owner-footnote {
  margin-top: 14px;
}

.owner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.owner-link {
  color: #017fb5;
  font-weight: 700;
}

.pet-admin-card {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #e7eaf0;
}

.pet-info-grid {
  margin-bottom: 6px;
}

.pet-create {
  padding: 16px;
  border: 1px dashed #cfe3f1;
  border-radius: 10px;
  margin-bottom: 18px;
  background: #f5fbff;
}

.pet-admin-photo img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #017fb5;
}

.owner-form-inline {
  margin-top: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pet-actions-grid {
  margin-top: 12px;
}

.pet-actions-grid [class*="col-"] {
  margin-bottom: 8px;
}

.owner-form-stack {
  margin-top: 0;
  flex-direction: column;
  align-items: flex-start;
}

.owner-form-stack .form-control {
  width: 100%;
}

.owner-form-stack .owner-button.small {
  margin-left: 0;
}

@media (max-width: 767px) {
  .owner-card {
    padding: 18px;
  }

  .pet-admin-card {
    flex-direction: column;
  }

  .pet-admin-photo img {
    width: 200px;
    height: 200px;
  }
}
