/* =====================================
   Gazolab - Image Batch Converter 専用CSS
   ・共通スタイル: /assets/css/tool.css
   ・ここには .gz-tool-batch から始まるルールだけを書く
===================================== */

.gz-tool-batch {
  /* Batch 専用の上書き・調整が必要になったらここに追記 */
}

/* 例）処理結果一覧まわりの余白調整などもここで行う */
.gz-settings-label-small {
  font-size: 0.8rem;
  color: #4b5563;
}

.gz-batch-note{
  margin-top:0.8rem;
  font-size:0.8rem;
  color:#6b7280;
}

.gz-batch-file-list{
  list-style:none;
  margin:0.6rem 0 0;
  padding:0;
  max-height:260px;
  overflow:auto;
  font-size:0.9rem;
  border:1px solid #e5e7eb;
  border-radius:10px;
}

.gz-batch-file-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0.5rem;
  padding:0.45rem 0.7rem;
  border-bottom:1px solid #f3f4f6;
}

.gz-batch-file-item:last-child{
  border-bottom:none;
}

.gz-batch-file-name{
  flex:1;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.gz-batch-file-size{
  min-width:70px;
  text-align:right;
  color:#6b7280;
  font-size:0.8rem;
}

.gz-batch-file-status{
  min-width:80px;
  text-align:right;
  font-size:0.8rem;
  color:#6b7280;
}

.gz-secondary-btn {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.gz-secondary-btn:hover {
  background: #f3f4f6;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

.gz-batch-file-status.is-ok{
  color:#059669;
}

.gz-batch-file-status.is-error{
  color:#b91c1c;
}

.gz-batch-file-status.is-skip{
  color:#92400e;
}

.gz-batch-empty{
  font-size:0.9rem;
  color:#6b7280;
  padding:0.4rem 0;
}

/* 2カラム全体 */
.gz-batch-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* 左：ファイルリストを広めに */
.gz-batch-left {
  flex: 1 1 60%;
  max-width: 760px;
}

/* 右：設定パネル */
.gz-batch-right {
  flex: 1 1 40%;
  max-width: 480px;
}

/* 空状態メッセージの見た目 */
.gz-batch-empty {
  text-align: center;
  padding: 24px 16px;
  color: #6b7280; /* グレー */
  font-size: 0.95rem;
}

/* ファイルリストの行間など微調整（任意） */
.gz-batch-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* SP では縦並びに戻す */
@media (max-width: 900px) {
  .gz-batch-layout {
    flex-direction: column;
  }
  .gz-batch-left,
  .gz-batch-right {
    max-width: 100%;
    margin-bottom:0;
  }
}
/* 設定カード */
.gz-settings-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gz-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gz-settings-label {
  font-size: 0.95rem;
  font-weight: 500;
}

.gz-settings-control {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gz-settings-control input[type="range"] {
  flex: 1;
}

.gz-settings-control input[type=range]{
  touch-action: pan-y;
}

.gz-settings-value {
  min-width: 2.5rem;
  text-align: right;
  font-size: 0.9rem;
  color: #374151;
}

/* Stats + Download */
.gz-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

.gz-stats-text {
  color: #4b5563;
}
