
.cvr-form-wrap {
  width: 100%;
  max-width: 760px;
  font-family: inherit;
}

.cvr-form-wrap *,
.cvr-form-wrap *::before,
.cvr-form-wrap *::after {
  box-sizing: border-box;
}

.cvr-form {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}

.cvr-file-card {
  position: relative !important;
  flex: 1 1 340px;
  min-height: 76px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(0,51,102,.10);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0,51,102,.08);
  display: flex !important;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.cvr-file-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200,212,0,.72);
  box-shadow: 0 18px 50px rgba(0,51,102,.12);
}

.cvr-file-card input[type="file"],
.cvr-form-wrap input[type="file"][name="cv_file"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  z-index: 5 !important;
  font-size: 0 !important;
}

.cvr-file-card input[type="file"]::file-selector-button,
.cvr-form-wrap input[type="file"][name="cv_file"]::file-selector-button,
.cvr-file-card input[type="file"]::-webkit-file-upload-button,
.cvr-form-wrap input[type="file"][name="cv_file"]::-webkit-file-upload-button {
  display: none !important;
  visibility: hidden !important;
}

.cvr-file-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 16px;
  background: #c8d400;
  color: #003366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(200,212,0,.28);
  pointer-events: none;
}

.cvr-file-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.cvr-file-title {
  color: #003366;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
}

.cvr-file-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(0,51,102,.66);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.cvr-button {
  border: 0 !important;
  min-height: 76px;
  padding: 0 30px;
  border-radius: 22px;
  background: var(--cvr-button-bg, #c8d400);
  color: var(--cvr-button-color, #003366);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,51,102,.10);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.cvr-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,51,102,.14);
  filter: brightness(.98);
}

.cvr-button-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.cvr-message {
  width: fit-content;
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
}

.cvr-message-ok {
  background: rgba(200,212,0,.18);
  color: #003366;
}

.cvr-message-error {
  background: rgba(255,0,0,.08);
  color: #a00000;
}

@media (max-width: 782px) {
  .cvr-form-wrap {
    max-width: 100%;
  }

  .cvr-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: stretch !important;
  }

  .cvr-file-card {
    width: 100% !important;
    flex: none !important;
    min-height: 86px !important;
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .cvr-file-icon {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    border-radius: 15px !important;
  }

  .cvr-file-title {
    font-size: 16px !important;
  }

  .cvr-file-name {
    font-size: 13px !important;
  }

  .cvr-button {
    width: 100% !important;
    min-height: 62px !important;
    padding: 0 22px !important;
    border-radius: 18px !important;
    font-size: 16px !important;
  }

  .cvr-button-arrow {
    width: 30px !important;
    height: 30px !important;
    font-size: 18px !important;
  }
}

@media (max-width: 420px) {
  .cvr-file-card {
    min-height: 80px !important;
  }

  .cvr-file-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
  }

  .cvr-button {
    min-height: 58px !important;
    font-size: 15px !important;
  }
}
