/* talent-dashboard.css */
/* クリエイター・エージェント専用マイページ内ダッシュボード表示 */

/* 背景画像（動的に適用される部分は除く） */
.talent-dashboard {
  padding: 2em;
  font-family: sans-serif;
}

.talent-dashboard > div {
  padding: 1em;
  font-family: sans-serif;
  background-color: rgba(255, 255, 255, 0.7);
}

/* アコーディオンセクション */
.talent-dashboard .accordion-section {
  margin-bottom: 1em;
}

.talent-dashboard .accordion-header {
  background: #f8f9fa;
  padding: 1em;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e5e7eb;
}

.talent-dashboard .accordion-header h3 {
  margin: 0;
  color: #ec4899;
}

.talent-dashboard .accordion-header span {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.talent-dashboard .accordion-content {
  display: none;
  padding: 1em;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.4);
}

/* accordion-mypageコンテナ内ではdisplay:noneを適用しない（max-heightベースのアニメーションを使用） */
.accordion-mypage .accordion-content {
  /* displayプロパティを設定しない（accordion-mypage.cssのmax-heightベースのアニメーションを使用） */
  /* display: none を上書きするために display: block を設定するが、max-height: 0 で非表示になる */
  display: block;
}

.talent-dashboard .accordion-content#plans-content {
  background: #fff;
}

/* ボタン */
.talent-dashboard .primall-btn {
  display: inline-block;
  background-color: #ec4899;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background 0.2s;
}

.talent-dashboard .primall-btn.primall-btn-green {
  background-color: #10b981;
}

.talent-dashboard .primall-btn.primall-btn-blue {
  background-color: #3b82f6;
}

.talent-dashboard .primall-btn.primall-btn-orange {
  background-color: #f59e0b;
}

.talent-dashboard .primall-btn.primall-btn-gray {
  background-color: #64748b;
}

/* 注文管理ボタン */
.talent-dashboard .order-list-button {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 0.7em 1.5em;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background 0.2s ease;
}

/* プラン一覧 */
.talent-dashboard .plans-list {
  list-style: none;
  padding-left: 0;
}

.talent-dashboard .plans-list li {
  margin-bottom: 1em;
  padding: 0.5em;
  border-bottom: 1px solid #ccc;
}

.talent-dashboard .plans-list li img {
  max-height: 60px;
  margin-right: 10px;
  float: left;
}

.talent-dashboard .plans-list li strong {
  cursor: pointer;
  color: #ec4899;
}

.talent-dashboard .plans-list li a {
  text-decoration: none;
  color: inherit;
}

.talent-dashboard .plans-list li .plan-edit-link {
  font-size: 0.9em;
  color: #888;
}

.talent-dashboard .plans-list li .plan-subscriber-count {
  font-size: 0.9em;
  color: #888;
}

.talent-dashboard .plans-list li .plan-clear {
  clear: both;
}

/* 紹介リンクセクション */
.talent-dashboard .talent-share-section h2 {
  margin: 1em 0;
}

.talent-dashboard .talent-share-container {
  margin: 1em 0;
  text-align: center;
}

.talent-dashboard #talent-share-link {
  width: 80%;
  max-width: 400px;
  padding: 0.6em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
}

.talent-dashboard #copy-confirm {
  font-size: 0.9em;
  color: #16a34a;
  margin-top: 0.5em;
  display: none;
}

.talent-dashboard #copy-confirm i {
  color: #28a745;
}

/* アカウント設定セクション */
.talent-dashboard .settings-buttons {
  text-align: center;
  margin: 1em 0 2em;
}

.talent-dashboard .settings-buttons .primall-btn {
  margin: 0.3em;
}

/* エージェント申請ボタン */
.talent-dashboard .agent-entry-section {
  text-align: center;
  margin: 1em 0;
}

/* 退会リンク */
.talent-dashboard .account-deletion-section {
  text-align: center;
  margin: 1em 0;
}

.talent-dashboard .account-deletion-link {
  color: #dc2626;
  text-decoration: underline;
  font-size: 0.9em;
}

/* ログアウトボタン */
.talent-dashboard .logout-section {
  text-align: center;
}

/* 区切り線 */
.talent-dashboard hr {
  margin: 2em 0;
}

/* プラン一覧の合計表示 */
.talent-dashboard .plans-total {
  font-size: 0.8em;
  color: #666;
}

/* 投稿追加ボタンコンテナ */
.talent-dashboard .posts-add-btn-container {
  margin: 0.5em 0 1.5em 0;
}

/* 商品追加ボタンコンテナ */
.talent-dashboard .products-add-btn-container {
  margin: 0.5em 0 1.5em 0;
}

/* 注文管理コンテナ */
.talent-dashboard .order-list-container {
  text-align: center;
  margin: 2em 0;
}

/* プラン加入者一覧ボタンコンテナ */
.talent-dashboard .plans-subscribers-btn-container {
  margin: 1em 0 1.5em;
}

/* プランサムネイル */
.talent-dashboard .plan-thumbnail {
  max-height: 60px;
  margin-right: 10px;
  float: left;
}

