/* 共通コンポーネントスタイル - 最小限版 */

/* カスタムカード */
.custom-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.custom-card-body {
  padding: 1rem;
}

/* ローディング */
.loading-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ツールチップ */
.tooltip-inner {
  max-width: 300px;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .custom-card-body {
    padding: 0.75rem;
  }
}

/* ヘッダー猫プロフィール（共通） */
.header-cats-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.header-cat-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
}

.header-cat-profile:hover {
  border-color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.header-cat-image {
  width: 150%;
  height: 150%;
  object-fit: cover;
  margin: -25%;
}

.header-cat-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.header-cat-placeholder i {
  font-size: 1.5rem;
}

/* ドロップダウン（共通） */
.header-cats-dropdown {
  position: relative;
}

.header-cats-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
}

.header-cats-dropdown-toggle:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.header-cats-dropdown-toggle i {
  font-size: 1.5rem;
}

.header-cats-dropdown-menu {
  min-width: 200px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.header-cats-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  transition: background-color 0.2s ease;
}

.header-cat-dropdown-image {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dee2e6;
  margin: -3px;
}

.header-cat-dropdown-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.header-cat-dropdown-placeholder i {
  font-size: 0.9rem;
}
