/* Styles for Liters (L) to Kilograms (kg) Density Converter */
.calcufacil-liters_kg_density_converter.calcufacil-container.enhanced-lkg-density-calc {
    max-width: 950px;
    margin: 25px auto;
    background: #f7faff; /* Light blue for liquids theme */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 25px;
    font-family: 'Arial', sans-serif;
}

.calcufacil-liters_kg_density_converter .calcufacil-left.calculator-form {
    flex: 1 1 45%;
    min-width: 340px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
}

.calcufacil-liters_kg_density_converter .calcufacil-right.results.enhanced-lkg-density-results {
    flex: 1 1 55%;
    min-width: 380px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid #e3eaf2;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
}

.calcufacil-liters_kg_density_converter .calculator-form h3 {
    font-size: 20px; color: #347AB6; /* Blue */ margin-top:0; margin-bottom: 10px; font-weight: 600;
}
.calcufacil-liters_kg_density_converter .calculator-form .description {
    font-size: 14px; color: #5a8cb8; margin-bottom: 18px; line-height: 1.5;
}
.calcufacil-liters_kg_density_converter .calculator-form fieldset {
    border: 1px solid #cdd9e7; /* Light Blue border */
    padding: 15px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
}
.calcufacil-liters_kg_density_converter .calculator-form legend {
    font-weight: 600; color: #4a7fb0; padding: 0 10px; font-size: 1.1em;
    display: flex; align-items: center; gap: 8px;
}
.calcufacil-liters_kg_density_converter .calculator-form legend i { color: #7faedc; }

.calcufacil-liters_kg_density_converter .input-group.lkg-input { margin-top: 10px; }
.calcufacil-liters_kg_density_converter .custom-density-kgl-fields {
    display: grid;
    gap: 10px 15px;
    padding-top: 5px; margin-top: 10px;
    border-top: 1px dashed #cdd9e7;
}

.calcufacil-liters_kg_density_converter .input-group { margin-bottom: 12px; display: flex; flex-direction: column; }
.calcufacil-liters_kg_density_converter .input-group label {
    font-weight: 500; color: #4a7fb0; margin-bottom: 5px; font-size: 13.5px;
}
.calcufacil-liters_kg_density_converter .input-group input[type="text"],
.calcufacil-liters_kg_density_converter .input-group select {
    width: 100%; padding: 9px; border: 1px solid #c3d2e1; border-radius: 4px;
    font-size: 14px; box-sizing: border-box;
}

.calcufacil-liters_kg_density_converter button[type="submit"] {
    background: #4a7fb0; color: #fff; padding: 11px 22px; border: none; border-radius: 5px;
    cursor: pointer; font-size: 16px; width: 100%; margin-top: 10px; font-weight: bold;
}
.calcufacil-liters_kg_density_converter button[type="submit"]:hover { background: #347AB6; }

/* Results Area Styling */
.calcufacil-liters_kg_density_converter .results.enhanced-lkg-density-results h2 {
    font-size: 21px; color: #347AB6; text-align: center; margin-top:0; margin-bottom: 18px;
}
.calcufacil-liters_kg_density_converter .lkg-density-result-display {
    background-color: #e9f2f9; border: 1px solid #c3d2e1; border-radius: 6px;
    padding: 15px; margin-bottom: 20px; text-align: center;
}
.calcufacil-liters_kg_density_converter .lkg-density-result-display p {
    font-size: 1.05em; color: #4a7fb0; margin: 0 0 10px 0;
}
.calcufacil-liters_kg_density_converter .calculated-value-box-lkg {
    font-size: 2em; font-weight: bold; color: #2a5a8a; /* Darker Blue */
    padding: 10px; background-color: #fff; border-radius: 4px;
    display: inline-block; border: 1px solid #c3d2e1;
}
.calcufacil-liters_kg_density_converter .conversion-factors-note {
    margin-top: 10px; font-size: 0.8em; color: #5a8cb8; text-align: center;
}

.calcufacil-liters_kg_density_converter .errors.main-error {
    color: #721c24; background-color: #f8d7da; border-color: #f5c6cb;
    padding: .75rem 1.25rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: .25rem;
}
.calcufacil-liters_kg_density_converter .initial-message {
    text-align: center; padding: 20px; background-color: #e9f2f9;
    border: 1px dashed #c3d2e1; border-radius: 5px; margin-top: 15px; color: #5a8cb8;
}

@media (max-width: 900px) {
    .calcufacil-liters_kg_density_converter.calcufacil-container.enhanced-lkg-density-calc { flex-direction: column; }
    .calcufacil-liters_kg_density_converter .calcufacil-left.calculator-form,
    .calcufacil-liters_kg_density_converter .calcufacil-right.results.enhanced-lkg-density-results {
        flex-basis: 100%; min-width: 100%; margin-bottom: 20px;
    }
    .calcufacil-liters_kg_density_converter .calcufacil-right.results.enhanced-lkg-density-results { margin-bottom: 0; }
}