/* copy-content-button.css */

/* 共通スタイル */
.copyBtn {
  /* ベースレイアウト */
  display: block;
  width: 200px;
  letter-spacing: 0.05em;
  margin-left: auto;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
  gap: 0.5em;

  /* タイポグラフィ */
  font-size: 1rem;
  font-weight: 600;
  color: #fff;

  /* ボーダー & 角丸 */
  border: none;
  border-radius: 0.35rem;

  /* シャドウで浮き感を演出 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);

  /* パディング */
  padding-block: 0.6em;

  /* マウスポインタ */
  cursor: pointer;

  /* スムーズなアニメーション */
  transition:
    background 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease;
}

/* copy-button（青色） */
#copy-button {
  background: linear-gradient(135deg, #4e9af1 0%, #006df0 100%);
}

#copy-button:hover {
  background: linear-gradient(135deg, #357ad4 0%, #005fcc 100%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* compress-button（緑色） */
#compress-button {
  background: linear-gradient(135deg, #5cb85c 0%, #218838 100%);
}

#compress-button:hover {
  background: linear-gradient(135deg, #449d44 0%, #1e7e34 100%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* 共通のクリック（アクティブ）時 */
.copyBtn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* オプション：クリップボードアイコンを付ける */
.copyBtn::before {
  content: "\1F4CB"; /* 📋 */
  font-size: 1.1em;
  margin-right: 5px;
}