/**
 * Campo veículo compartilhado (cadastro cliente, orçamento, agendamento, reserva).
 * Usar com .registration-vehicle-form-wrap + .registration-vehicle-lookup.
 */
.registration-vehicle-form-wrap.is-registry-locked .modveiculo-fipe__vtype,
.registration-vehicle-form-wrap.is-registry-locked .modveiculo-fipe__field:not(.modveiculo-fipe__plate):not(.modveiculo-fipe__media),
.registration-vehicle-form-wrap.is-registry-locked .modveiculo-fipe__lookup,
.registration-vehicle-form-wrap.is-registry-locked .registration-vehicle-color-field,
.registration-vehicle-form-wrap.is-registry-locked .modveiculo-fipe__plate .modveiculo-fipe__plate-search{
    display:none!important;
}
.registration-vehicle-form-wrap.is-registry-locked .modveiculo-fipe__media{
    display:grid!important;
}
.registration-vehicle-form-wrap.is-registry-locked .modveiculo-fipe__plate{margin-bottom:0}
.registration-vehicle-form-wrap:not(.has-vehicle-details):not(.is-registry-locked) .modveiculo-fipe__vtype,
.registration-vehicle-form-wrap:not(.has-vehicle-details):not(.is-registry-locked) .modveiculo-fipe__field:not(.modveiculo-fipe__plate),
.registration-vehicle-form-wrap:not(.has-vehicle-details):not(.is-registry-locked) .registration-vehicle-color-field,
.registration-vehicle-form-wrap:not(.has-vehicle-details):not(.is-registry-locked) .modveiculo-fipe__media{
    display:none!important;
}
.registration-vehicle-form-wrap.has-vehicle-details:not(.is-registry-locked) .modveiculo-fipe__field:not(.modveiculo-fipe__vtype):not(.modveiculo-fipe__plate):not(.modveiculo-fipe__media),
.registration-vehicle-form-wrap.has-vehicle-details:not(.is-registry-locked) .registration-vehicle-color-field,
.registration-vehicle-form-wrap.has-vehicle-details:not(.is-registry-locked) .modveiculo-fipe__colors{
    display:none!important;
}
.registration-vehicle-form-wrap.has-vehicle-details:not(.is-registry-locked) .modveiculo-fipe__vtype{
    display:none!important;
}
.registration-vehicle-form-wrap.has-vehicle-details.needs-category:not(.is-registry-locked) .modveiculo-fipe__vtype{
    display:grid!important;
}
.registration-vehicle-form-wrap.has-vehicle-details:not(.is-registry-locked) .modveiculo-fipe__media,
.registration-vehicle-form-wrap.is-registry-locked .modveiculo-fipe__media{
    display:grid!important;
}
.registration-vehicle-form-wrap.has-manual-vehicle:not(.is-registry-locked) .modveiculo-fipe__vtype,
.registration-vehicle-form-wrap.has-manual-vehicle:not(.is-registry-locked) .modveiculo-fipe__field:not(.modveiculo-fipe__plate),
.registration-vehicle-form-wrap.has-manual-vehicle:not(.is-registry-locked) .registration-vehicle-color-field{
    display:grid!important;
}
.registration-vehicle-form-wrap.has-manual-vehicle:not(.is-registry-locked) .modveiculo-fipe__media{
    display:grid!important;
}
.registration-vehicle-form-wrap .vtype-tabs__summary{
    display:none!important;
}

.registration-vehicle-lookup{
    grid-column:1/-1;
    display:grid;
    gap:8px;
    width:100%;
    min-width:0;
    margin:0 0 14px;
}
.registration-vehicle-lookup[hidden]{display:none!important}
.registration-vehicle-lookup .vehicle-lookup-card{
    padding:0;
    border:none;
    background:transparent;
}
.registration-vehicle-lookup [data-vehicle-lookup-plate]{
    display:none!important;
}
.registration-vehicle-lookup .vehicle-lookup-card__title,
.registration-vehicle-locked__title{
    margin-top:0!important;
}
.registration-vehicle-locked__hero{
    min-height:72px!important;
    padding:14px 16px!important;
    box-shadow:none!important;
}
.registration-vehicle-locked__category{
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    margin-top:10px;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.16);
    color:#dbeafe;
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    line-height:1.15;
}
.registration-vehicle-locked__category.is-awaiting{
    color:#fde68a;
    border-color:rgba(250,204,21,.28);
    background:rgba(250,204,21,.12);
}
.registration-vehicle-locked__category[hidden]{display:none!important}
.registration-vehicle-lookup .vehicle-lookup-stack__status,
.registration-vehicle-locked__badge{
    display:inline-flex;
    align-items:center;
    justify-self:start;
    width:max-content;
    max-width:100%;
    gap:6px;
    padding:7px 11px;
    border-radius:999px;
    background:rgba(50,210,150,.14);
    color:#9ff7ce;
    font-size:.72rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.registration-vehicle-lookup.is-owned-duplicate .registration-vehicle-locked__hero{
    border-color:rgba(251,191,36,.45);
}
.registration-vehicle-lookup.is-owned-duplicate .vehicle-lookup-stack__status,
.registration-vehicle-lookup.is-owned-duplicate .registration-vehicle-locked__badge{
    background:rgba(251,191,36,.18);
    color:#fde68a;
}
.registration-vehicle-lookup.is-owned-duplicate .registration-vehicle-locked__hint{color:#fde68a}
.registration-vehicle-locked__hint[hidden]{display:none!important}

.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-picker--tabs{gap:10px}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-tabs{gap:6px}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-tabs__btn{
    min-height:0;padding:6px 4px;gap:4px;border-radius:12px;font-size:10px;line-height:1.1;box-shadow:none;
}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-tabs__btn.is-active{
    box-shadow:inset 0 0 0 1px rgba(255,107,74,.28),0 6px 16px rgba(0,0,0,.18);
}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-tabs__icon-wrap{
    width:32px;height:32px;border-radius:10px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 4px 10px rgba(0,0,0,.2);
}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-tabs__icon-wrap svg{width:16px;height:16px}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-tabs__btn.is-active .vtype-tabs__icon-wrap{
    transform:none;box-shadow:0 0 0 3px rgba(255,107,74,.14),0 6px 14px rgba(214,61,87,.22);
}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-picker__category-grid{
    grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:6px;
}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-option{
    min-height:76px;padding:8px 4px 6px;gap:4px;border-radius:12px;
}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-option .uber-vtype-icon{
    width:40px;height:40px;border-radius:10px;font-size:16px;
}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-option__label{font-size:9px}
.modveiculo-fipe--registration .modveiculo-fipe__vtype .vtype-option__hint{
    font-size:8px;min-height:0;padding:0 4px 2px;line-height:1.25;
}
.modveiculo-fipe--registration .modveiculo-fipe__help{
    display:block;margin:8px 0 0;padding:0 2px 2px;line-height:1.45;
}
.modveiculo-fipe--registration .modveiculo-fipe__plate{
    display:flex;flex-direction:column;align-items:center;width:100%;
}
.modveiculo-fipe--registration .modveiculo-fipe__plate-row{
    width:min(100%,320px);margin-inline:auto;
}
.modveiculo-fipe--registration .modveiculo-fipe__plate > label,
.modveiculo-fipe--registration .modveiculo-fipe__plate > span{
    text-align:center;width:100%;
}

.customer-field{display:grid;gap:8px}
.customer-field > span{
    color:var(--reg-muted,#9aa4b2);
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.customer-color-picker{display:grid;gap:12px}
.customer-color-picker__grid{display:flex;flex-wrap:wrap;gap:10px}
.customer-color-picker__option{
    position:relative;width:34px;height:34px;border-radius:50%;
    border:1px solid rgba(255,255,255,.16);
    background:var(--color-swatch,#64748b);
    cursor:pointer;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.customer-color-picker__option::after{
    content:"";position:absolute;inset:-4px;border-radius:50%;
    border:2px solid transparent;transition:border-color .18s ease;
}
.customer-color-picker__option:hover{transform:translateY(-1px)}
.customer-color-picker__option.is-active{
    border-color:rgba(255,255,255,.34);
    box-shadow:0 0 0 4px rgba(255,255,255,.06);
}
.customer-color-picker__option.is-active::after{border-color:rgba(255,255,255,.76)}
.customer-color-picker__option.is-light{border-color:rgba(255,255,255,.26)}
.customer-color-picker__option--other{
    display:inline-flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,rgba(255,106,0,.18),rgba(59,130,246,.14));
    color:#fff;font-size:13px;
}
.customer-color-picker__label{
    color:var(--reg-muted,#9aa4b2);
    font-size:12px;
    min-height:18px;
}
.customer-color-picker__custom{display:none;gap:8px}
.customer-color-picker__custom.is-visible{display:grid}
.customer-color-picker__custom .customer-input,
.customer-input{
    width:100%;min-height:52px;padding:14px 16px;border-radius:16px;
    border:1px solid var(--reg-border,#1f2630);
    background:var(--reg-panel-soft,#151a22);
    color:var(--reg-text,#fff);
    outline:none;font:inherit;
}

@media(max-width:420px){
    .registration-vehicle-locked__logo{width:54px;height:54px;flex-basis:54px}
}

body.mobile-app-body[data-theme="light"] .registration-vehicle-lookup .vehicle-lookup-card,
body.mobile-app-body[data-theme="light"] .registration-vehicle-lookup{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}
