/* YT Monitor Settings v5 — 2-col layout */

/* Two-column settings layout */
.yt-settings-cols {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.yt-settings-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 800px) {
  .yt-settings-cols { flex-direction: column; }
}

/* Intro description block */
.yt-intro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(124,92,252,0.05);
  border: 1px solid rgba(124,92,252,0.15);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.5;
}
.yt-intro p { margin: 0; flex: 1; }
.yt-intro strong { color: var(--text); }

/* Field group separator / subheading */
.yt-field-group {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.yt-field-group.nbt {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* Inline field hint (below label text) */
.mon-fh {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.3;
  margin-top: 2px;
  white-space: normal;
}

/* Override mon-field alignment for multi-line labels */
.mon-setting-card .mon-field {
  align-items: flex-start;
  padding: 10px 0;
}
.mon-setting-card .mon-field select,
.mon-setting-card .mon-field input[type="number"] {
  margin-top: 2px;
  flex-shrink: 0;
}

/* Settings summary (quota calc) */
.yt-settings-summary { margin-top: 14px; }
.yt-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.5;
  flex-wrap: wrap;
}
.yt-summary.ok     { background: rgba(34,197,94,0.07);  color: var(--green); }
.yt-summary.warn   { background: rgba(251,191,36,0.07); color: var(--orange); }
.yt-summary.danger { background: rgba(239,68,68,0.07);  color: var(--red); }
.yt-summary strong { font-weight: 700; }
.yt-summary-pct    { opacity: .7; }

/* Aggregate action row */
.yt-agg-action {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.yt-agg-action .mon-fh { display: inline; }

/* Language select in add row */
.mon-game-add select {
  flex: 1;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c7086' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
.mon-game-add select:focus {
  border-color: var(--accent);
}

/* Language hint */
.yt-lang-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Game name flex */
.mon-setting-card .mon-game-item .name {
  flex: 1;
  font-weight: 500;
}
