/* Styles for Metal Sheet/Plate Weight Calculator */
.calcufacil-metal_sheet_weight_calculator.calcufacil-container.enhanced-metalsheet-calc {
    max-width: 1050px;
    margin: 25px auto;
    background: #f4f6f8; /* Industrial, clean feel */
    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-metal_sheet_weight_calculator .calcufacil-left.calculator-form {
    flex: 1 1 50%;
    min-width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
}

.calcufacil-metal_sheet_weight_calculator .calcufacil-right.results.enhanced-metalsheet-results {
    flex: 1 1 50%;
    min-width: 380px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid #e1e5ea;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
}

.calcufacil-metal_sheet_weight_calculator .calculator-form h3 {
    font-size: 20px; color: #3c4a5c; /* Steel blue/grey */ margin-top:0; margin-bottom: 10px; font-weight: 600;
}
.calcufacil-metal_sheet_weight_calculator .calculator-form .description {
    font-size: 14px; color: #5a6a7c; margin-bottom: 18px; line-height: 1.5;
}
.calcufacil-metal_sheet_weight_calculator .calculator-form fieldset {
    border: 1px solid #d2d8e0; /* Light steel blue/grey border */
    padding: 15px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
}
.calcufacil-metal_sheet_weight_calculator .calculator-form legend {
    font-weight: 600; color: #4a5c6e; padding: 0 10px; font-size: 1.1em;
    display: flex; align-items: center; gap: 8px;
}
.calcufacil-metal_sheet_weight_calculator .calculator-form legend i { color: #7c8ca0; }

.calcufacil-metal_sheet_weight_calculator .shape-fields,
.calcufacil-metal_sheet_weight_calculator .custom-density-fields {
    display: grid; /* Default is grid, JS toggles to none */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 15px;
    padding-top: 5px;
}
.calcufacil-metal_sheet_weight_calculator .form-grid.two-col-grid.narrow-gap {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px 10px;
}

.calcufacil-metal_sheet_weight_calculator .input-group { margin-bottom: 10px; display: flex; flex-direction: column; }
.calcufacil-metal_sheet_weight_calculator .input-group label {
    font-weight: 500; color: #4a5c6e; margin-bottom: 4px; font-size: 13px;
}
.calcufacil-metal_sheet_weight_calculator .input-group input[type="text"],
.calcufacil-metal_sheet_weight_calculator .input-group input[type="number"],
.calcufacil-metal_sheet_weight_calculator .input-group select {
    width: 100%; padding: 8px; border: 1px solid #c0c8d2; border-radius: 4px;
    font-size: 13.5px; box-sizing: border-box;
}
.calcufacil-metal_sheet_weight_calculator .global-currency-symbol {margin-top:15px;}


.calcufacil-metal_sheet_weight_calculator button[type="submit"] {
    background: #4a5c6e; color: #fff; padding: 11px 22px; border: none; border-radius: 5px;
    cursor: pointer; font-size: 16px; width: 100%; margin-top: 15px; font-weight: bold;
}
.calcufacil-metal_sheet_weight_calculator button[type="submit"]:hover { background: #3c4a5c; }

/* Results Area Styling */
.calcufacil-metal_sheet_weight_calculator .results.enhanced-metalsheet-results h2 {
    font-size: 21px; color: #3c4a5c; text-align: center; margin-top:0; margin-bottom: 18px;
}
.calcufacil-metal_sheet_weight_calculator .metalsheet-results-summary {
    /* background-color: #eef2f5; border: 1px solid #d2d8e0; */
    border-radius: 6px; padding: 0px; margin-bottom: 20px;
}
.calcufacil-metal_sheet_weight_calculator .metalsheet-results-summary h4 {
    font-size: 1.05em; color: #4a5c6e; margin-top: 15px; margin-bottom: 8px;
    padding-bottom: 5px; border-bottom: 1px solid #e1e5ea;
    display: flex; align-items: center; gap: 6px;
}
.calcufacil-metal_sheet_weight_calculator .metalsheet-results-summary ul {
    list-style: none; padding-left: 0; font-size: 0.9em; margin-bottom: 10px;
}
.calcufacil-metal_sheet_weight_calculator .metalsheet-results-summary li {
    padding: 6px 0; color: #5a6a7c;
}
.calcufacil-metal_sheet_weight_calculator .metalsheet-results-summary li strong { font-weight: 600; color: #3c4a5c; }
.calcufacil-metal_sheet_weight_calculator .important-value { font-size: 1.1em; }
.calcufacil-metal_sheet_weight_calculator .very-important-value { font-size: 1.3em; font-weight: bold; color: #2c3a4c; }
.calcufacil-metal_sheet_weight_calculator .cost-value { color: #27ae60; }


.calcufacil-metal_sheet_weight_calculator .disclaimer-box.metalsheet-disclaimer {
    margin-top: 20px; padding: 12px; background-color: #f0f2f5;
    border: 1px solid #dce0e6; border-left: 3px solid #7c8ca0; border-radius: 4px; font-size: 0.85em;
}
.calcufacil-metal_sheet_weight_calculator .disclaimer-box h4 { margin-top: 0; margin-bottom: 8px; color: #4a5c6e; }
.calcufacil-metal_sheet_weight_calculator .disclaimer-box ul { list-style: disc; margin-left: 18px; padding-left: 0; color: #5a6a7c; line-height: 1.5; }


.calcufacil-metal_sheet_weight_calculator .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-metal_sheet_weight_calculator .initial-message {
    text-align: center; padding: 20px; background-color: #f4f6f8;
    border: 1px dashed #d2d8e0; border-radius: 5px; margin-top: 15px; color: #5a6a7c;
}

@media (max-width: 1000px) {
    .calcufacil-metal_sheet_weight_calculator.calcufacil-container.enhanced-metalsheet-calc {
        flex-direction: column;
    }
    .calcufacil-metal_sheet_weight_calculator .calcufacil-left.calculator-form,
    .calcufacil-metal_sheet_weight_calculator .calcufacil-right.results.enhanced-metalsheet-results {
        flex-basis: 100%; min-width: 100%; margin-bottom: 20px;
    }
    .calcufacil-metal_sheet_weight_calculator .calcufacil-right.results.enhanced-metalsheet-results { margin-bottom: 0; }
}
@media (max-width: 600px) {
    .calcufacil-metal_sheet_weight_calculator .shape-fields,
    .calcufacil-metal_sheet_weight_calculator .custom-density-fields,
    .calcufacil-metal_sheet_weight_calculator .form-grid.two-col-grid.narrow-gap {
        grid-template-columns: 1fr; /* Stack inputs */
    }
}