@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

body {
    height: 100vh;
    margin: 0;
    font-family: "Poppins", serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

header {
    background-color: #262626;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.logo-empresa {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.icone-notificacao {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.icone-usuario {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.div-header-icones {
    display: flex;
    align-items: center;
}

.hero-section {
    flex: 0;
    display: flex;
    flex-direction: column;
    background-image: url(../img/fundoCabecalho.jpg);
    background-size: cover;
}

.div-motores {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.img-motores {
    width: 40%;
    height: 130px;
    object-fit: contain;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.div-motores-radio {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    background-color: rgba(148, 148, 148, 0.801);
    backdrop-filter: blur(8px);
}

.div-radio {
    width: 40%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.texto-radio {
    font-size: 1.2rem;
    font-weight: 500;
}

.input-radio {
    width: 20px;
    height: 20px;
    border: 2px solid black;
    background-color: transparent;
    appearance: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.input-radio:checked::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.div_input_busca {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.main-section {
    flex: 1;
    background: linear-gradient(180deg, black 0%, #4D2C17 40%, #D87C2B 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    box-sizing: border-box;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    flex: 1;
}

.custom-select {
    width: 100%;
    padding: 10px;
    padding-right: 40px;
    border-radius: 8px;
    min-width: 190px;
    border: 1px solid #ddd;
    font-size: 16px;
    background: #fff url(../img/down-arrow.png) no-repeat right 10px center;
    background-size: 16px;
    color: #333;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.div-select {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.custom-select:focus {
    outline: none;
}

.texto-select {
    margin: 0;
    color: white;
    font-weight: 200;
    font-size: 1.4rem;
}

.container-select {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.icone-busca {
    width: 110px;
}

.div-btn-busca {
    width: 100%;
    display: flex;
    justify-content: center;
}

.label_ano {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 400;
}

.input_data {
    width: 100%;
    padding: 10px;
    padding-right: 40px;
    border-radius: 8px;
    min-width: 90px;
    border: 1px solid #ddd;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
}

.container_inputs_busca {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.btn_procurar {
    width: 100%;
    background: linear-gradient(135deg, #ffb347, #ff7b00);
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 0.6rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 123, 0, 0.4);
}

.input_data::placeholder {
    color: #404361;
}

.div_dois {
    width: 100%;
}

.div_inputs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

#resultados-veiculos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    box-sizing: border-box;
    margin-top: 1rem;
}

.card_veiculo {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.card_veiculo:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.card_veiculo h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    margin-top: 0px;
}

.btn_visualizar {
    background: linear-gradient(135deg, #2b2b2b, #3c3c3c);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    width: 100%;
}

.card_veiculo img {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin: 0 auto 15px auto;
    object-fit: cover;
}

.card_veiculo p {
    font-size: 14px;
    color: #444;
    margin: 5px 0;
    line-height: 1.4;
}

.card_veiculo h3 span {
    color: #e67e22;
    font-weight: 600;
}