/*.car-m-list-container {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*}*/
/*.car-m-widgets {*/
/*    max-height: 100px;*/
/*    height: 250px;*/
/*    border: solid 1px #000000;*/
/*    text-align: center;*/
/*}*/

/*.car-m-list {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    flex-wrap: wrap;*/
/*    gap: 8px;*/
/*}*/

/*.car-m-list-item {*/
/*    max-width: 475px;*/
/*    max-height: 150px;*/
/*    width: 500px;*/
/*    height: 150px;*/
/*    */
/*    display: flex;*/
/*}*/

/*.car-m-img > p {*/
/*    font-weight: bold;*/
/*    text-align: center;*/
/*}*/




.car-m-list-header {
    display: flex;
    flex-direction: row;
}

.car-m-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 12px;
    align-items: start;
    margin-top: 20px;
}

.car-m-card {
    border: none;
    border-radius: 14px;
    color: black;
    background-color: rgb(166, 173, 175);
}

.car-m-card:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.car-m-thumb {
    width: 140px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 140px;
    /*background: rgba(0, 0, 0, .05);*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-m-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    color: white;
}

.car-m-reg {
    font-weight: 700;
    letter-spacing: .5px;
    color: white;
}

.car-m-button {
    background-color: white;
    color: black;
}

.car-m-button:hover {
    background-color: rgb(33, 37, 41);
    color: white;
}

.actions-container {
    gap: 12px;
    width: 900px;
    display: flex;
}

.action {
    font-size: 20px;
    padding: 8px;
    border-radius: 5px;
    color: white;
    text-align: center;
    text-decoration: none;
}

.action-create {
    background-color: #28a745;
    width: 20%;
    max-width: 20%;
}

.action-delete {
    background-color: #EA3323;
    width: 20%;
    max-width: 20%;
}

.action-status {
    background-color: blue;
    width: 20%;
    max-width: 20%;
}

.action-return {
    background-color: #28a745;
    max-width: 180px;
    max-height: 52px;
    width: 100%;
    height: 100%;
}

.delete-option:hover {
    cursor: pointer;
    background-color: #EA3323;
}



.action-create:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.action-delete:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-return:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
    cursor: pointer;
}


.filters-container {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 12px;
    flex: 1;         
}

.sort-select {
    max-width: 220px;
}

.sort-btn {
    white-space: nowrap;
}


.car-m-preview-container {
    width: 100%;
    display:flex;
    flex-direction: row;
    justify-content: center;
}

