/**
 * Custom Russian file picker (hides OS/browser “Choose File” / “No file chosen”).
 * Scope: .cotinder-file-ru — used on /charge/ submit form.
 */

.cotinder-file-ru {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cotinder-file-ru__input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cotinder-file-ru__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #d0d7e2;
  border-radius: 8px;
  background: #f5f7fa;
  color: #2d2d2d;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cotinder-file-ru__btn:hover,
.cotinder-file-ru__btn:focus-visible {
  background: #eef2f7;
  outline: none;
}

.cotinder-file-ru__name {
  flex: 1 1 140px;
  min-width: 0;
  color: #8091a9;
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cotinder-file-ru__name.is-filled {
  color: #2d2d2d;
}
