/* CONTENEDOR GENERAL */
#cuerpo-coche {
    max-width: 760px;
    margin: 0 auto;
}

.nota-coche {
    max-width: 760px;
    margin: 0 auto 1.4rem auto;
    padding: 0.9rem 1rem;
    border-left: 5px solid #51813A;
    border-radius: 10px;
    background: #f3f8f1;
    color: #23441d;
    line-height: 1.45;
}

/* ===== CAMPOS COCHE ===== */
.campo-coche {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(170px, 260px) auto;
    align-items: center;
    gap: 0.45rem 1rem;
    margin-bottom: 1.15rem;
}

.campo-coche label {
    font-weight: 600;
    margin: 0;
}

.campo-coche small {
    grid-column: 2 / 4;
    display: block;
    max-width: 430px;
    margin-top: -0.15rem;
}

.campo-coche input[type="number"],
.campo-coche select {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    border: 2px solid #51813A;
    padding: 0.55rem 0.65rem;
    background: #fff;
    font-size: 1rem;
}

#cuerpo-coche .btn-info-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
}

#cuerpo-coche .campo-con-unidad + .btn-info-circle {
    align-self: center;
}

.campo-con-unidad {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.campo-con-unidad input[type="number"] {
    max-width: 150px;
}

.unidad-coche {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    min-height: 42px;
    padding: 0.35rem 0.55rem;
    border-radius: 10px;
    background: #eef5ea;
    color: #23441d;
    font-weight: 600;
    white-space: nowrap;
}

.campo-coche-condicional {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(81, 129, 58, 0.35);
    border-radius: 12px;
    background: #fbfdf9;
}

#calcular {
    display: block;
    margin: 1.4rem auto;
}

#contenedor-total {
    max-width: 760px;
    margin: 1.5rem auto 0 auto;
}

#total-seccion {
    line-height: 1.35;
}

.detalle-calculo-coche {
    margin-top: 0.4rem;
    color: #42543c;
    line-height: 1.45;
}

@media (max-width: 700px) {
    .campo-coche {
        grid-template-columns: 1fr;
    }

    .campo-coche small {
        grid-column: 1;
    }

    #cuerpo-coche .btn-info-circle {
        justify-self: start;
    }

    .campo-con-unidad {
        align-items: stretch;
    }

    .campo-con-unidad input[type="number"] {
        max-width: none;
    }
}


/* I4d - factor eléctrico nacional en Coche */
.nota-factor-electrico-coche {
    grid-column: 1 / -1;
    margin: -0.1rem 0 0.2rem 0;
    padding: 0.55rem 0.75rem;
    border-left: 4px solid #51813A;
    border-radius: 8px;
    background: #f3f8f1;
    color: #31502a;
    font-size: 0.9rem;
    line-height: 1.35;
}
