/* ===========================================
   Length Converter - Tool Specific Styles
   =========================================== */

/* Tool Layout */
.lc-box {
    max-width: 800px;
    margin: 0 auto;
}

/* Controls and Inputs */
.lc-controls {
    display: flex;
    gap: 20px;
    background: #f0f9ff; /* Light Cyan/Sky Blue BG */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #bae6fd;
    margin-bottom: 30px;
    align-items: flex-end;
}

.lc-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lc-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0c4a6e; /* Dark Blue Label */
    margin-bottom: 6px;
}

.lc-input, .lc-select {
    padding: 10px;
    border: 1px solid #38bdf8; /* Medium Blue Border */
    border-radius: 6px;
    font-size: 1rem;
    color: #1f2937;
    width: 100%;
    height: 40px;
}

/* Calculate Button (used for trigger, conversion is instant) */
.lc-btn-calc {
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #0ea5e9; /* Primary Sky Blue Button */
    color: white;
    transition: background 0.2s;
    height: 40px;
    white-space: nowrap;
}
.lc-btn-calc:hover {
    background: #0369a1;
}

/* --- Results Table --- */

.lc-results-section {
    margin-top: 30px;
}

.lc-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.lc-table th, .lc-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0f2fe; /* Light Divider */
}

.lc-table th {
    background: #e0f2fe; /* Lightest Blue Header */
    font-size: 1rem;
    color: #0c4a6e;
    text-transform: uppercase;
    font-weight: 700;
}

.lc-table td {
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

/* Highlighting */
.lc-highlight-unit {
    font-weight: 700;
    color: #0ea5e9; /* Primary Blue */
    background: #f0f9ff;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Responsive Styling */
@media (max-width: 600px) {
    .lc-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .lc-btn-calc {
        flex: 1;
        height: auto;
    }
    .lc-table th, .lc-table td {
        padding: 12px;
        font-size: 1rem;
    }
}