:root {
  --clr-border: #e0e3ec;
  --clr-border-light: #e7ecff;
  --clr-bg-light: #f7f9ff;
  --color-link: #0862ee;
  --clr-primary-hover: #0057e5;
  --clr-success-bg: #cef4c0;
  --clr-success-text: #006c10;
  --clr-warn-bg: #fff4b5;
  --clr-warn-text: #775300;
  --clr-danger-bg: #ffdcdc;
  --clr-danger-text: #be1616;
  --radius: 8px;
  --color-text: #202020;
}

html {
  min-height: 100vh;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100vw;
  overflow-x: hidden;
  overflow-y: scroll;
}

html::-webkit-scrollbar {
  display: none;
}

.lk-main {
  margin-top: 175px;
  padding-bottom: 69px;
  position: relative;
}

.text-page__title {
  font-size: 54px;
  line-height: 115%;
  position: relative;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 10px;
  font-weight: 500;
}

.text-page__subtitle {
  font-weight: 500;
}

.call-report__new {
  margin-top: 50px;
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.call-report__new-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
}

.call-report-dots .dots__item:nth-child(1) {
  width: 15px;
  height: 15px;
  top: 70px;
  left: -5%;
}

.call-report-dots .dots__item:nth-child(2) {
  width: 10px;
  height: 10px;
  top: -35px;
  left: 50%;
}

.call-report-dots .dots__item:nth-child(4) {
  width: 11px;
  height: 11px;
  top: -15px;
  right: 17%;
}

.call-report-dots .dots__item:nth-child(5) {
  width: 11px;
  height: 11px;
  top: 100px;
  left: 60%;
  background: #cad2ff;
}

.call-report__dropzone {
  position: relative;
  min-height: 80px;
  width: 100%;
  background: white;
  border: 2px dashed var(--clr-border);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: start;
  flex-direction: row;
  gap: 16px;
  padding: 16px 20px;
  transition: border-color 0.2s;
}

.call-report__dropzone:hover,
.call-report__dropzone:focus-within {
  border-color: #b1bff2;
}
.call-report__dropzone.dragover {
  border-color: #3294f8;
  background: #f1f8ff;
}

.call-report__dropzone-text h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.call-report__dropzone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
}

.hidden {
  display: none !important;
}

.call-report__dropzone-file {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 2px;
}

.call-report__dropzone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.call-report__dropzone-filename {
  font-weight: bold;
  font-size: 16px;
  color: #2e2e36;
  margin-bottom: 2px;
}
.call-report__dropzone-remove {
  color: var(--color-link);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.call-report__dropzone-info {
  font-weight: 100;
  line-height: 20px;
}

.call-report__dropzone-link {
  color: var(--color-link);
  text-decoration: none;
}

.call-report__file-input {
  display: none;
}

.call-report__new-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.call-report__new-row-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.call-report__field {
  position: relative;
  width: 390px;
}

.call-report__input {
  width: 100%;
  height: 48px;
  padding: 22.5px 28px 8.5px;
  border: 1px solid #dddfec;
  border-radius: 10px;
  font-size: 16px;
  line-height: normal;
  color: var(--color-text);
  font-weight: 400;
}

.call-report__label {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: normal;
  color: #919bb5;
  pointer-events: none;
  transition: 0.2s ease;
}

.call-report__input:focus + .call-report__label,
.call-report__input:not(:placeholder-shown) + .call-report__label {
  top: 11.5px;
  font-size: 12px;
  color: #919bb5;
}

.call-report__input:focus {
  outline: none;
  border-color: #0862ee;
}

.call-report__checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 6px;
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  cursor: pointer;
}

.call-report__checkbox-label:focus,
.call-report__checkbox-label:hover,
.call-report__checkbox:focus {
  outline: none;
  user-select: none;
  box-shadow: none;
}

.call-report__checkbox {
  width: 24px;
  height: 24px;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  border: 2px solid var(--color-link);
  border-radius: 4px;
  background: #fff;
  outline: none;
  position: relative;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  display: inline-block;
  vertical-align: middle;
  box-shadow: none;
}

.call-report__checkbox:checked {
  background: var(--color-link);
  border-color: var(--color-link);
}

.call-report__checkbox:checked::after {
  content: '';
  display: flex;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  border-radius: 1.5px;
}

.call-report__checkbox:focus,
.call-report__checkbox:hover,
.call-report__checkbox:active {
  box-shadow: 0 0 0 1px #b1bff2;
  user-select: none;
  outline: none;
}

.call-report__analyze-btn {
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius);
  background: var(--color-link);
  color: #fff;
  font-size: 16px;
  line-height: normal;
  cursor: pointer;
  user-select: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: background 0.2s;
}

.call-report__analyze-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.call-report__analyze-btn:hover {
  background: var(--clr-primary-hover);
}

.call-report__list {
  margin-top: 69px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.call-report__item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-direction: row;
  padding: 20px;
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  background: #fff;
  width: 100%;
}

.call-report__item-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
}

.call-report__info-status {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.call-report__item-title {
  font-weight: 500;
  font-size: 20px;
  max-width: 384px;
  min-width: 384px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 130%;
  position: relative;
  text-decoration: none;

  &::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
  }

  &:hover::after {
    transform: scaleX(1);
  }
}

.call-report__item-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.call-report__item-file {
  display: flex;
  align-items: end;
  justify-content: center;
  flex-direction: row;
  gap: 6px;
}

.call-report__item-date {
  white-space: nowrap;
  position: relative;
  align-self: end;
}

.call-report__item-date::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e4e7ef;
  margin-right: 10px;
  position: relative;
  top: -1px;
}

.call-report__item-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
  gap: 16px;
}

.call-report__info-block {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  flex-direction: row;
  gap: 8px;
  font-size: 16px;
  margin-right: 12px;
  font-weight: 500;
  line-height: 130%;
  color: var(--color-text);
}

.call-report__info-block:nth-child(1) {
  width: 128px;
}

.call-report__info-block:nth-child(2) {
  width: 132px;
}

.call-report__info-block:nth-child(3) {
  width: 168px;
}

.call-report__info-block span {
  color: #72798c;
}

.call-report__value {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.call-report__value-col {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  margin-right: 16px;
  width: 100px;
  color: #72798c;
}

.call-report__status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 150%;
  white-space: nowrap;
}

.call-report__status--success {
  background: var(--clr-success-bg);
  color: var(--clr-success-text);
}

.call-report__status--warn {
  background: var(--clr-warn-bg);
  color: var(--clr-warn-text);
}

.call-report__status--danger {
  background: var(--clr-danger-bg);
  color: var(--clr-danger-text);
}

.call-report__item-remove {
  display: flex;
  align-items: center;
  background: none;
  gap: 6px;
  border: none;
  user-select: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  cursor: pointer;
}

.call-report__item-remove-label {
  font-size: 14px;
  line-height: normal;
  color: #72798c;
  display: none;
}

.call-report__item-remove svg {
  width: 24px;
  height: 24px;
  transition: color 0.15s;
}

.call-report__item-remove:hover .call-report__item-remove-label {
  color: #202020;
}

.call-report__item-remove:hover svg path {
  stroke: #202020;
}

.call-report__bg {
  width: 100%;
  padding: 0 30px;
  align-self: center;
  height: auto;
  box-sizing: border-box;
  position: absolute;
  top: -40px;
  z-index: -1;
}

@media (max-width: 1400px) {
  .call-report__item {
    flex-direction: row;
    gap: 20px;
  }
  .call-report__item-info {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
  }
  .call-report__value-col {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
  }
  .call-report__value {
    gap: 16px;
  }
  .call-report__info-status {
    gap: 16px;
  }
}

@media (max-width: 1199px) {
  .call-report__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .call-report__item-info {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .call-report__value-col {
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    margin-right: 0;
  }

  .call-report__info-block {
    margin-right: 0;
  }

  .call-report__value {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }
  .call-report__info-status {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .call-report__item-remove {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .call-report__item-remove-label {
    display: inline;
  }
}

@media (max-width: 767px) {
  .call-report__field {
    width: 100%;
  }

  .call-report__value {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .call-report__item-remove-label {
    display: none;
  }
}

@media (max-width: 500px) {
  .call-report__item-title {
    max-width: 100%;
    min-width: initial;
  }

  .call-report__item-main {
    width: 90%;
  }
}

.footer-lk {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-lk__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
}

.footer-lk__left-info {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.footer-lk__left-copyright {
  font-weight: 500;
}

.footer-lk__right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 35px;
}

.footer-lk__right-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 16px;
}

.client-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #a7e9be;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 32px;
  line-height: normal;
  cursor: pointer;
}

.client-card__info {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  justify-content: center;
}

.client-card__label {
  font-size: 14px;
  color: #72798c;
  line-height: normal;
  font-weight: 500;
}

.client-card__name {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
  line-height: normal;
}

.client-card__label,
.client-card__name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 30vw;
}

.header__lk {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}

@media (max-width: 572px) {
  .client-card__avatar {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .client-card__info {
    gap: 2px;
  }

  .client-card__label {
    font-size: 12px !important;
  }

  .client-card__name {
    font-size: 14px !important;
  }
}

@media (max-width: 1199px) {
  .footer-lk__right-phone {
    gap: 19px;
  }
}

@media (max-width: 767px) {
  .footer-lk {
    gap: 35px;
    flex-direction: column;
  }

  .footer-lk__right-phone {
    gap: 4px;
  }
}

@media (max-width: 435px) {
  .footer-lk__right {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
  }
}
