/* video generation page refinements */
#customerApp .media-check-field { display:grid; gap:7px; }
#customerApp .media-check-row { display:flex; align-items:center; gap:8px; font-weight:400; color:#55576b; }
#customerApp .media-check-row input[type=checkbox] { width:auto; margin:0; }
#customerApp .media-price-hint { margin:6px 0 0; color:#6b6d82; font-size:12px; line-height:1.55; font-weight:500; }
#customerApp .media-billing-line { margin:10px 12px 0; color:#43455a; font-size:13px; }
#customerApp .media-billing-line.muted { color:#8b8da4; font-size:12px; }
#customerApp .media-result-meta { display:grid; gap:8px; padding:18px; }
#customerApp .media-form-grid input[type=text],
#customerApp .media-form-grid input[type=url] {
  width:100%; border:1px solid #deddeb; border-radius:10px; background:#fafaff; color:#27283b;
  padding:10px 12px; font:inherit; font-weight:400; box-sizing:border-box;
}
#customerApp .media-hub-hero {
  border-radius:22px;
  box-shadow:0 18px 40px rgba(45, 35, 95, .16);
}
#customerApp .media-form,
#customerApp .media-result {
  border-radius:20px;
  border-color:rgba(214,212,232,.9);
  box-shadow:0 12px 32px rgba(40,36,90,.06);
}
@media (max-width:600px) {
  #customerApp .media-form-actions { flex-direction:column; align-items:stretch; }
  #customerApp .media-form-actions button { width:100%; }
}

/* custom file picker — hide native OS button */
#customerApp .yby-file-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #deddeb;
  border-radius: 10px;
  background: #fafaff;
  padding: 8px 10px;
  min-height: 44px;
}
#customerApp .yby-file-btn {
  flex-shrink: 0;
  border: 1px solid #cfcbe8;
  border-radius: 8px;
  background: #fff;
  color: #3d3f55;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
#customerApp .yby-file-btn:hover {
  border-color: #7c6cf0;
  color: #5b4be8;
  background: #f5f3ff;
}
#customerApp .yby-file-btn:focus-visible {
  outline: none;
  border-color: #7c6cf0;
  box-shadow: 0 0 0 3px rgba(104, 86, 216, .14);
}
#customerApp .yby-file-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8b8da4;
  font-size: 13px;
  font-weight: 400;
}
#customerApp .yby-file-name.has-file {
  color: #27283b;
  font-weight: 500;
}
#customerApp .media-form-grid .media-file-field,
#customerApp .chat-media-form .media-file-field {
  display: grid;
  gap: 7px;
}
#customerApp .chat-media-form .yby-file-picker {
  background: rgba(255,255,255,.82);
  border-color: #deddec;
}

#customerApp .yby-file-btn-plus {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px dashed #c4c0e0;
  background: #fff;
  color: #5b4be8;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}
#customerApp .yby-file-btn-plus span {
  display: block;
  margin-top: -2px;
}
#customerApp .yby-file-btn-plus:hover {
  border-style: solid;
  border-color: #7c6cf0;
  color: #5b4be8;
  background: #f5f3ff;
}
#customerApp .yby-file-picker.has-file {
  border-color: #c9c4f0;
  background: #f7f5ff;
}
#customerApp .yby-file-picker.has-file .yby-file-btn-plus {
  border-style: solid;
  border-color: #a99af0;
}
