.am-driver-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 10px;
    border-radius: 10px;
}

.am-driver-row:first-child {
    color: var(--sd-base-gray-900);
    font-weight: bold;
    cursor: initial;
}

.am-driver-row:not(:first-child):hover {
    background: var(--sd-base-gray-50);
}

.am-driver-info {
    display: flex;
    align-items: center;
    width: 30%;
    flex: 1;
}

.am-driver-name-vehicle {
    display: flex;
}

.am-driver-vehicle-container {
    flex: 1;
}

.am-driver-image.sd-circle-image.am-offline {
    background: var(--sd-base-gray-700);
}

.am-driver-image.sd-circle-image.am-online,
.am-driver-image.sd-circle-image.am-not-connected{
    background: var(--theme-color-bright);
}

.am-driver-image.sd-circle-image.am-offline img {
    -moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'https://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'https://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    filter: gray;
}

#assign_order .am-driver-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    color: var(--common-background);
    position: relative;
}

#assign_order .am-driver-image:before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid white;
    position: absolute;
    bottom: 0;
    right: 0px;
}

#assign_order .am-driver-image.am-online:before {
    background: var(--theme-color-bright);
}

#assign_order .am-driver-image.am-not-connected:before {
    background: var(--sd-error-red);
}

#assign_order .am-driver-image.am-offline:before {
    content: none;
}

#assign_order .am-driver-image img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.am-driver-status {
    font-size: 13px;
    color: var(--sd-base-gray-500);
    line-height: 15px;
    font-weight: 100;
    letter-spacing: 0.5px;
}

.am-driver-vehicle {
    width: 28px;
    height: 28px;
    background: var(--sd-base-gray-50);;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.am-offline .am-driver-vehicle {
    color: var(--sd-base-gray-400);
}

.driver-vehicle-icon {
    width: 18px;
}

.am-driver-row.am-online:hover .am-order-count,
.am-driver-row.am-not-connected:hover .am-order-count {
    background: var(--sd-base-gray-300);
}

.am-driver-row.am-offline .am-driver-name {
    color: var(--sd-base-gray-500);
}

.am-order-count {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sd-neutral-300);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.am-offline .am-order-count {
    color: var(--sd-neutral-500);
}

.am-driver-name {
    font-size: 15px;
    color: var(--common-foreground);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 110px;
}

.am-driver-vehicle svg {
    width: 18px;
    height: 18px;
}

.am-driver-assigned {
    pointer-events: none;
}
