.container-sm {
  padding-top: 1.5rem;
  padding-bottom: calc(var(--messagerie-height) + 1rem);;
}

.company-id, .driver-id {
  gap: 1rem;
}

@media screen and (max-width: 365px) {
  .company-id, .driver-id {
    gap: 0.5rem;
  }
}

.company-id .company-logo, .driver-id .driver-picture {
  width: 82px;
  height: 56px;
  padding: 0.2rem;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}

.company-id .company-logo img, .driver-id .driver-picture img {
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}

.company-id .company-logo img, .driver-id .driver-picture svg {
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}

@media screen and (max-width: 365px) {
  .company-id .company-logo, .driver-id .driver-picture {
    width: 60px;
    height: 35px;
  }
}

@media screen and (max-width: 365px) {
  .company-id, .driver-id {
    font-size: 13px;
    line-height: 14px;
  }
}

@media screen and (max-height: 715px) {
  .company-id, .driver-id {
    font-size: 14px;
    line-height: 14px;
  }
}

.main-card {
  background-color: white;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 1px 10px 0 #d4deee;
}

@media screen and (max-height: 715px) {
  .main-card {
    padding: 15px;
  }
}

.main-card .main-card__head {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.main-card .main-card__head .car-icon {
  max-width: 64px;
  margin: 0 auto 1.8rem;
}

@media screen and (max-height: 715px) {
  .main-card .main-card__head .car-icon {
    margin-bottom: 1rem;
    max-width: 50px;
  }
}

@media screen and (max-height: 645px) {
  .main-card .main-card__head .car-icon {
    display: none;
  }
}

.main-card h1 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1.8rem;
}

@media screen and (max-height: 715px) {
  .main-card h1 {
    margin-bottom: 1rem;
    font-size: 16px;
  }
}

@media screen and (max-height: 500px) {
  .main-card h1 {
    font-size: 15px;
  }
}

.main-card h2 {
  font-size: 15px;
  font-weight: 700;
}

@media screen and (max-height: 715px) {
  .main-card h2 {
    margin-bottom: 0.3rem;
  }
}

@media screen and (max-height: 715px) {
  .main-card .company-id {
    font-size: 14px;
    line-height: 16px;
  }
}

.main-card .main-card__body .intervention-infos {
  line-height: 19px;
  margin-bottom: 1rem;
}

@media screen and (max-height: 715px) {
  .main-card .main-card__body .intervention-infos {
    margin-bottom: 0.3rem;
    line-height: 17px;
  }
}

@media screen and (max-height: 500px) {
  .main-card .main-card__body .intervention-infos {
    margin-bottom: 0.2rem;
    font-size: 14px;
  }
}

.main-card .main-card__body .intervention-infos div:first-of-type {
  font-weight: 600;
}

@media screen and (max-height: 500px) {
  .main-card .main-card__body .intervention-infos div:first-of-type {
    font-size: 12px;
  }
}

.loading-block .loader {
  margin: 1.3rem 0;
}

@media screen and (max-height: 715px) {
  .loading-block .loader {
    margin: 0.5rem 0;
  }
}

.feed .v-line {
  height: 100%;
  width: 1px;
  position: absolute;
  background-color: var(--border-color);
  top: 0;
  left: 9px;
}

.feed .circle-step {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 100%;
  background-color: white;
  outline: 5px solid var(--primary);
  outline-offset: -5px;
  box-shadow: 0 4px 4px 0 rgba(6, 27, 148, 0.25);
  position: relative;
  z-index: 2;
}

.feed .circle-step.icon {
  background-color: var(--primary);
  outline: none;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feed .circle-step svg path {
  width: 100%;
  height: 100%;
}

.feed .circle-step svg path {
  fill: #fff;
}

.feed .message-step {
  width: 22px;
  height: 22px;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.feed .message-step.beneficiary-message svg {
  fill: white;
  stroke: black;
  stroke-width: 15px;
  transform: scaleX(-1);
}

.feed .feed-card .content {
  box-shadow: var(--card-shadow);
  padding: 1rem;
  margin-left: 0.5rem;
  margin-bottom: 1.5rem;
  width: 88%;
  line-height: 1.25;
}

.feed .feed-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feed .feed__message-block {
  position: relative;
  border-radius: var(--card-border-radius);
}

.feed .feed__message-block .content {
  background-color: var(--gray-200);
  border-radius: var(--sms-card-border-radius);
}

.feed .feed__message-block .content p {
  margin-bottom: 0.5rem;
}

.feed .feed__message-block .content .time-infos {
  color: var(--secondary);
  font-size: 11px;
}

.feed .feed__infos-block .content {
  background-color: white;
  margin-left: calc(1rem + 30px);
  border-radius: var(--card-border-radius);
}

.feed .messagerie-item .content p {
  margin-bottom: 0.5rem;
}

.feed .truck-message .message-step svg {
  fill: var(--primary);
}

.feed .truck-message .content {
  margin-right: calc(1rem + 30px);
  border-radius: var(--card-border-radius);
}

.feed .beneficiary-message .content {
  margin-left: calc(1rem + 50px);
  border-radius: 12px 12px 0 12px;
}

.feed .feed__infos-block .content .time-infos {
  color: var(--secondary);
  font-size: 11px;
}

.feed .feed__infos-block .performer-profil {
  display: flex;
  align-items: center;
  font-size: 15px;
}

.feed .feed__infos-block .performer-profil .avatar {
  width: 40px;
  aspect-ratio: 1/1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 100%;
  margin-right: 0.7rem;
}

.feed .feed__error-block {
  position: relative;
}

.feed .feed__error-block .content {
  background-color: var(--danger-100);
  color: var(--danger);
  border-radius: var(--sms-card-border-radius);
}

.feed .feed__error-block .content p {
  margin-bottom: 0.5rem;
}

.feed .feed__error-block .content .time-infos {
  color: var(--secondary);
  font-size: 11px;
}

.feed .feed__error-block .circle-step {
  outline: 5px solid var(--danger);
}

.position-button {
  min-height: 50px;
}

.check-button {
  min-width: 50px;
  height: 50px;
  pointer-events: none;
}

.check-button svg {
  margin-right: 0;
  width: 22px;
  height: 17px;
}

@media screen and (max-width: 365px) {
  .check-button svg {
    display: inline-block;
  }
}
