/* Video Slider for YouTube (Lite) — Admin UI v2.4.1 */

.vsy-admin-wrap {
  max-width: 820px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── Bölüm kartları ── */
.vsy-field {
  background: #fff;
  border: 1px solid #e2e4e7;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.vsy-field:last-child {
  margin-bottom: 0;
}

.vsy-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: #1d2327;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ── URL textarea ── */
.vsy-textarea {
  width: 100%;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  padding: 10px 12px;
  resize: vertical;
  background: #fafafa;
  color: #1d2327;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.vsy-textarea:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
  outline: none;
  background: #fff;
}

.vsy-hint {
  color: #8c8f94;
  font-size: 12px;
  margin: 6px 0 0;
}

/* ── Yatay satır ── */
.vsy-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Radio butonlar ── */
.vsy-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  color: #1d2327;
  padding: 6px 12px;
  border: 1px solid #dcdcde;
  border-radius: 20px;
  transition: border-color 0.15s, background 0.15s;
}

.vsy-radio:has(input:checked) {
  border-color: #2271b1;
  background: #f0f6fc;
  color: #2271b1;
  font-weight: 600;
}

.vsy-radio input[type="radio"] {
  accent-color: #2271b1;
}

/* ── Renk seçici ── */
.vsy-color-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  color: #1d2327;
}

.vsy-color-label input[type="color"] {
  width: 40px;
  height: 32px;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  cursor: pointer;
  padding: 2px 3px;
  background: #fff;
}

/* ── Shortcode kutusu ── */
.vsy-shortcode-box {
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-left: 4px solid #2271b1;
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.8;
}

.vsy-shortcode-box code {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 12px;
  font-family: "SFMono-Regular", Consolas, monospace;
  color: #c0392b;
  user-select: all;
  cursor: text;
}

/* ── Preview butonu ── */
#vsy-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  border: 1px solid #2271b1;
  color: #2271b1;
  background: #f0f6fc;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

#vsy-preview-btn:hover {
  background: #2271b1;
  color: #fff;
}

/* ── Preview alanı ── */
#vsy-preview-area {
  margin-top: 12px;
  background: #f0f0f1;
  border: 1px dashed #c3c4c7;
  border-radius: 8px;
  padding: 14px;
  min-height: 50px;
  display: none;
  line-height: 0;
  gap: 6px;
  flex-wrap: wrap;
}

#vsy-preview-area.vsy-has-content {
  display: flex;
  align-items: flex-start;
}

#vsy-preview-area > div {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: transform 0.2s ease;
}

#vsy-preview-area > div:hover {
  transform: scale(1.03);
  z-index: 1;
}

#vsy-preview-loading {
  color: #8c8f94;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

/* ── Bölüm ikonu ── */
.vsy-section-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2271b1;
  margin-right: 6px;
  vertical-align: middle;
}