.dogs-index-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.dog-box {
  background-color: #fff;
  border: 2px solid #6f5436;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 8px 10px rgba(80, 30, 20, 0.5);
  height: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.dog-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.dog-box h5 {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: bold;
}

.dog-box p {
  margin: 4px 0;
  font-size: 0.95rem;
}

.admin-buttons {
  min-height: 40px; /* ボタン2つ分の高さ。必要に応じて調整 */
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* --- ゲスト用は今のまま --- */

/* --- 管理者モード専用 --- */
.dog-box.admin-view {
  height: 600px !important; /* 管理者時だけ少し低めに調整（お好みで） */
}

.dog-box.admin-view .dog-image {
  height: 350px !important; /* 管理者時だけ画像を小さめに */
}

.dog-box.admin-view .admin-buttons {
  gap: 10px;
  justify-content: center;
}

.dog-box.admin-view .admin-buttons .btn {
  flex: 1 1 50%;
  min-width: 80px;
  max-width: 100%;
  font-size: 1rem;
  white-space: nowrap;
  padding-left: 0;
  padding-right: 0;
}

