/* English-only refinements for the Share Your Story form. */

.customer-feedback-form__file-control {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 52.8px;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  background: #ffffff;
  border: 1px solid #d4d6da;
  border-radius: 4px;
}

.customer-feedback-form__file-input--native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0 !important;
}

.customer-feedback-form__file-button {
  flex: 0 0 auto;
  margin: 0;
  padding: 7px 12px;
  color: #404040;
  background: #f4f4f4;
  border: 1px solid #a8a8a8;
  border-radius: 3px;
  font-family: var(--font-brand);
  font-size: 13.2px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.customer-feedback-form__file-button:hover {
  background: #ececec;
}

.customer-feedback-form__file-input--native:focus-visible
+ .customer-feedback-form__file-button {
  outline: 2px solid #0098dc;
  outline-offset: 2px;
}

.customer-feedback-form__file-name {
  min-width: 0;
  overflow: hidden;
  color: #4c4946;
  font-family: var(--font-brand);
  font-size: 13.2px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .customer-feedback-form__file-control {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .customer-feedback-form__file-name {
    width: 100%;
  }
}
