/* my-files.css — "Choose from My Files" picker, shared across Lobby + Auto builders. */

.myfiles-wrap {
  margin: 10px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.myfiles-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1b2a4a;
  background: #fff;
  border: 1px solid #c7d0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.myfiles-btn:hover { background: #f3f6fc; border-color: #9fb0cf; }
.myfiles-btn svg { flex: 0 0 auto; }

.myfiles-panel {
  border: 1px solid #d8dfeb;
  border-radius: 10px;
  background: #fbfcfe;
  padding: 10px;
  max-height: 320px;
  overflow: auto;
}

.myfiles-status {
  font-size: 12px;
  color: #5a6478;
  margin-bottom: 8px;
}

.myfiles-list {
  display: grid;
  gap: 6px;
}

.myfiles-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 8px;
  text-align: left;
  font: inherit;
  font-size: 13px;
  color: #1b2a4a;
  background: #fff;
  border: 1px solid #e1e7f1;
  border-radius: 8px;
  cursor: pointer;
}
.myfiles-row:hover { border-color: #9fb0cf; background: #f3f6fc; }

.myfiles-row-thumb {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #eef2f8 center / cover no-repeat;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #6b7689;
}

.myfiles-row-name {
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
