/* 猫カード専用スタイル */

.cat-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
  text-decoration: none;
  color: inherit;
}

.cat-card .card {
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cat-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-card .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  margin-bottom: 0;
}

/* 猫のプロフィール画像 */
.cat-profile-image {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  flex-shrink: 0;
}

.cat-profile-image-large {
  height: 300px;
  object-fit: cover;
}

.dashboard-cat-image {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  flex-shrink: 0;
}

.cat-profile-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-in-out;
  flex-shrink: 0;
}

.cat-profile-placeholder-large {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 性別バッジ */
.gender-badge {
  font-weight: bold;
  font-size: 0.9em;
  padding: 0.25em 0.5em;
}

.gender-badge-male {
  background-color: #007bff !important;
  color: white !important;
}

.gender-badge-female {
  background-color: #e83e8c !important;
  color: white !important;
}

.gender-badge-unknown {
  background-color: #6c757d !important;
  color: white !important;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .cat-card:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 576px) {
  .cat-card:hover {
    transform: translateY(-2px);
  }
}
