.car-selector {
    display: flex;    
    flex-direction: column;    
    gap: 10px;    
    max-width: 400px;
}

.car-selector select.loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23666' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    animation: spin-bg 1s linear infinite;
}

@keyframes spin-bg {
    from {
        background-position: right 10px center;    
      }

    to {
        background-position: right 10px center;    
      }
}

.car-selector {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 420px;
}


/* SELECT */

.car-selector select {
    appearance: none;   
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    height: 50px;
    font-family: inherit;
    color: #111;
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%231246AB' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}


/* hover */

.car-selector select:hover {
    border-color: #1246AB;
}


/* focus */

.car-selector select:focus {
    outline: none;
    border-color: #1246AB;
    box-shadow: 0 0 0 3px rgba(18,70,171,0.15);
}


/* disabled */

.car-selector select:disabled {
    background-color: #f9fafb;
    color: #999;
    cursor: not-allowed;
}


/* loading spinner inside */

.car-selector select.loading {
    background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231246AB' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}


/* BUTTON */

.car-selector button {
    background: #1246AB;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}


/* button hover */

.car-selector button:hover:not(:disabled) {
    background: #0f3a8c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(18,70,171,0.25);
}


/* button disabled */

.car-selector button:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}


/* accent highlight */

.car-selector select.selected {
    border-color: #EEBB84;
}


/* optional title */

.car-selector-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}
