$text_color: #3d3c42;

.VehiclesStatus {
  background-color: #d7dcea2f;
  border-radius: 2px;
  height: fit-content;
  .status_icon {
    display: flex;
    align-items: center;
    color: $text_color;
    padding-left: 10px;

    .icon {
      margin-right: 5px;
    }
  }

  .vehicles {
    padding: 0px 10px;

    .loader_div {
      text-align: center;
      padding-bottom: 20px;
      .loader {
        width: 37px;
        height: 37px;
        border: 5px solid $text_color;
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
        text-align: center;
      }

      @keyframes rotation {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }
    }

    .vehicles_info {
      background-color: #d7dcea70;
      display: grid;
      grid-template-columns: 10% 80%;
      align-items: center;
      margin-bottom: 8px;
      border-radius: 13px;
      padding: 0px 5px;
      cursor: pointer;

      .vehicles_details {
        .vehicles_name_date {
          display: flex;
          justify-content: space-between;
          align-items: center;

          p {
            margin-bottom: 0px;
            color: #3d3c42c0;
            text-transform: capitalize;
          }
        }

        .vehicles_position_speed {
          display: flex;
          justify-content: space-between;
          align-items: center;
          p {
            margin-top: 10px;
            color: #3d3c42d8;
          }
        }
      }
    }
  }
}
