/* Styles for Lumber Board Foot to Linear Feet Converter */
.calcufacil-lumber_board_linear.calcufacil-container {
    max-width: 780px; margin: 25px auto; background: #fdfdfd; padding: 25px;
    border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex; flex-direction: row; flex-wrap: wrap; gap: 30px;
    font-family: 'Arial', sans-serif; border: 1px solid #8B4513; /* SaddleBrown for wood */
    box-sizing: border-box;
}
.calcufacil-lumber_board_linear.calcufacil-container *,
.calcufacil-lumber_board_linear.calcufacil-container *::before,
.calcufacil-lumber_board_linear.calcufacil-container *::after { box-sizing: border-box; }

.calcufacil-lumber_board_linear h2 {
    width: 100%; text-align: center; color: #5D4037; /* Darker Brown */
    margin-top:0; margin-bottom: 15px; font-size: 1.6em;
}
.calcufacil-lumber_board_linear .calcufacil-left.calculator-form {
    flex: 1; min-width: 320px; padding: 20px; background-color: #fff;
    border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid #EFEBE9; /* Light wood tone border */
}
.calcufacil-lumber_board_linear .calcufacil-right.results {
    flex: 1; min-width: 300px; background: #F5EFE6; /* Light wood tone background */
    padding: 25px; border-radius: 8px; border: 1px solid #E4DACE; /* Slightly darker wood tone */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); display: flex; flex-direction: column;
    justify-content: flex-start; align-items: center;
}

.calcufacil-lumber_board_linear .input-group { margin-bottom: 18px; }
.calcufacil-lumber_board_linear label:not(.radio-group label) {
    display: block; font-weight: 600; color: #4E342E; /* Brown text */
    margin-bottom: 6px; font-size: 0.95em;
}
.calcufacil-lumber_board_linear .radio-group { margin-bottom: 15px; margin-top: 5px; }
.calcufacil-lumber_board_linear .radio-group label {
    font-weight: normal; margin-right: 15px; display: inline-flex; align-items: center;
    font-size: 0.9em; color: #5D4037;
}
.calcufacil-lumber_board_linear .radio-group input[type="radio"] {
    margin-right: 5px; accent-color: #795548; transform: scale(1.1);
}
.calcufacil-lumber_board_linear .conditional-lumber-input {
     margin-top:15px; padding-top:10px; border-top: 1px dashed #D7CCC8;
}

.calcufacil-lumber_board_linear input[type="text"],
.calcufacil-lumber_board_linear select {
    width: 100%; padding: 10px 12px; border: 1px solid #A1887F; /* Medium Brown border */
    border-radius: 5px; font-size: 1em; background: #FFFBF5; font-family: sans-serif;
}
.calcufacil-lumber_board_linear select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%235D4037%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat; background-position: right 15px center; background-size: 10px 10px; padding-right: 40px;
}

.calcufacil-lumber_board_linear input[type="text"]:focus,
.calcufacil-lumber_board_linear select:focus {
    border-color: #795548; box-shadow: 0 0 0 2px rgba(121, 85, 72, 0.2); outline: none;
}
.calcufacil-lumber_board_linear .note { font-size: 0.85em; color: #6D4C41; margin-bottom:15px; line-height: 1.4; text-align: left; }

.calcufacil-lumber_board_linear button[type="submit"] {
    background-color: #795548; /* Brown */ color: #fff; padding: 12px 25px;
    border: none; border-radius: 5px; cursor: pointer; font-size: 1.05em;
    width: 100%; transition: background-color 0.3s ease; font-weight: 600; margin-top:15px;
}
.calcufacil-lumber_board_linear button[type="submit"]:hover { background-color: #5D4037; }

/* Results Styling */
.calcufacil-lumber_board_linear .results-header h2 { color: #5D4037; margin-bottom: 20px; font-size: 1.4em; }
.calcufacil-lumber_board_linear .initial-message {
    text-align: center; color: #5D4037; font-style: italic; padding: 20px;
    background-color: #F5EFE6; border: 1px dashed #CDB7B5; border-radius: 5px; width:100%;
}
.calcufacil-lumber_board_linear .calculation-summary { width: 100%; text-align: center; margin-bottom: 20px; }
.calcufacil-lumber_board_linear .calculation-desc { font-size: 1.05em; color: #4E342E; margin-bottom: 15px; line-height:1.4; }
.calcufacil-lumber_board_linear .calculation-desc strong { font-weight: bold; }

.calcufacil-lumber_board_linear .main-result {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background-color: #EFEBE9; /* Light wood tone */ padding: 15px; border-radius: 8px;
    border: 1px solid #D7CCC8; font-size: 1.1em; color: #4E342E;
    margin-bottom: 10px; width: 100%;
}
.calcufacil-lumber_board_linear .main-result.final-result {
    background-color: #A1887F; /* Medium Brown */ color: #fff; font-size: 1.4em;
    padding: 20px; border-color: #795548; margin-top:10px; font-weight: bold;
}
.calcufacil-lumber_board_linear .main-result span:first-child { font-size: 0.8em; opacity: 0.9;}
.calcufacil-lumber_board_linear .main-result span:last-child { font-size: 1.8em; font-weight: bold; margin-top: 5px; }

.calcufacil-lumber_board_linear .errors {
    color: #A62100; background-color: #FFCCBC; border: 1px solid #FFAB91;
    padding: 10px 15px; border-radius: 4px; margin: 15px 0; text-align: center; width:100%;
}
.calcufacil-lumber_board_linear .errors ul { list-style: none; padding: 0; margin: 0; }

.calcufacil-lumber_board_linear .disclaimer-box.info {
    padding: 15px; background-color: #FFF9E6; /* Light beige */
    border: 1px solid #FFEDB3; border-left: 5px solid #FFB300; /* Amber accent */
    border-radius: 8px; font-size: 0.85em; color: #5D4037; width:100%;
}
.calcufacil-lumber_board_linear .disclaimer-box.info h4 {
    color: #795548; font-size: 1.1em; margin-top: 0; margin-bottom: 10px;
}
.calcufacil-lumber_board_linear .disclaimer-box.info ul { list-style: disc; margin-left: 20px; padding-left: 0; line-height: 1.6; }

/* Responsive */
@media (max-width: 768px) {
    .calcufacil-lumber_board_linear.calcufacil-container { flex-direction: column; gap: 20px; padding: 15px; }
    .calcufacil-lumber_board_linear .calcufacil-left.calculator-form,
    .calcufacil-lumber_board_linear .calcufacil-right.results { min-width: unset; width: 100%; }
}