.yewoke-file-picker {
  margin-bottom: 0.25rem;
}

.yewoke-file-picker__bar {
  display: flex;
  align-items: stretch;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  overflow: hidden;
  background: #ebebeb;
  min-height: 46px;
  max-width: 100%;
}

.yewoke-file-picker__choose {
  flex: 0 0 auto;
  background: #ebebeb;
  border: none;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  color: #222;
  white-space: nowrap;
  cursor: pointer;
  border-right: 1px solid #b8b8b8;
  line-height: 1.2;
}

.yewoke-file-picker__choose:hover,
.yewoke-file-picker__choose:focus {
  background: #e0e0e0;
}

.yewoke-file-picker__label {
  flex: 1 1 auto;
  background: #fff;
  padding: 0.55rem 1rem;
  color: #333;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.yewoke-file-picker__label.is-empty {
  color: #555;
}

.yewoke-file-picker__camera {
  flex: 0 0 auto;
  background: #ebebeb;
  border: none;
  padding: 0.45rem 1rem;
  border-left: 1px solid #b8b8b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-width: 52px;
}

.yewoke-file-picker__camera:hover,
.yewoke-file-picker__camera:focus {
  background: #e0e0e0;
}

.yewoke-file-picker__camera svg {
  width: 22px;
  height: 22px;
  stroke: #111;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yewoke-file-picker__preview {
  margin-top: 0.65rem;
  max-height: 160px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

@media (max-width: 575.98px) {
  .yewoke-file-picker__choose {
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
  }

  .yewoke-file-picker__label {
    font-size: 0.82rem;
    padding: 0.55rem 0.65rem;
  }
}
