/* =====================================
   Gazolab - Image Batch Converter CSS
   • Shared styles: /assets/css/tool.css
   • Only write rules starting with .gz-tool-batch here
===================================== */

.gz-tool-batch {
  /* Add batch-specific overrides or tweaks here if needed */
}

/* Example: spacing tweaks around the result list, etc. */
.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-batch-file-sizes{
  display:inline-flex;
  gap:6px;
  align-items:center;
  white-space:nowrap;
    font-size: 0.8rem;
}
.gz-batch-file-size-after{
  color:#059669;
}
.gz-batch-file-arrow{
  color:#cccccc;ß
}


.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;
}

/* Two-column layout */
.gz-batch-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Left: wider file list */
.gz-batch-left {
  flex: 1 1 60%;
  max-width: 760px;
}

/* Right: settings panel */
.gz-batch-right {
  flex: 1 1 40%;
  max-width: 480px;
}

/* Empty state message styling */
.gz-batch-empty {
  text-align: center;
  padding: 24px 16px;
  color: #6b7280; /* gray */
  font-size: 0.95rem;
}

/* Optional: fine-tune file list spacing, etc. */
.gz-batch-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile: switch back to vertical stacking */
@media (max-width: 900px) {
  .gz-batch-layout {
    flex-direction: column;
  }
  .gz-batch-left,
  .gz-batch-right {
    max-width: 100%;
    margin-bottom:0;
  }
}

/* Settings card */
.gz-settings-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.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: 1.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;
}
