/**
 * BAS World Vehicles Icon Font
 * Official icon font from basworld.com
 */

@font-face {
    font-family: 'BAS World Vehicles';
    src: url('../fonts/BAS-World-Vehicles.fe74a531.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* Base icon class */
.bw-icon {
    font-family: 'BAS World Vehicles', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-size: 54px;
}

/* Icon mappings based on BAS World website */
.bw-icon-tractor-unit::before {
    content: '\e92A'; /* Tractor unit */
}

.bw-icon-truck::before {
    content: '\e930'; /* Truck */
}

.bw-icon-semi-trailer::before {
    content: '\e929'; /* Semi-trailer */
}

.bw-icon-trailer::before {
    content: '\e927'; /* Trailer */
}

.bw-icon-van::before {
    content: '\e93F'; /* Van */
}

.bw-icon-agriculture::before {
    content: '\e93B'; /* Agriculture */
}

.bw-icon-machine::before {
    content: '\e94A'; /* Machine */
}

.bw-icon-various::before {
    content: '\e957'; /* Various */
}

/* Icon styling */
.vehicle-type-card .bw-icon {
    display: block;
    margin: 0 auto 0px;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #1d1d1a;
}

.vehicle-type-card:hover .bw-icon {
    transform: scale(1.1);
}

.vehicle-type-card.selected .bw-icon {
    color: #0f62fe;
    transform: scale(1.05);
}

/* Responsive sizing */
@media (max-width: 768px) {
    .bw-icon {
        font-size: 48px;
    }
}

