/* ===========================================
   Weight Converter - Tool Specific Styles
   =========================================== */

/* Tool Layout */
.wc-box {
    max-width: 800px;
    margin: 0 auto;
}

/* Controls and Inputs */
.wc-controls {
    display: flex;
    gap: 20px;
    background: #f0fdf4; /* Light Mint Green BG */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #a7f3d0;
    margin-bottom: 30px;
    align-items: flex-end;
}

.wc-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* New: Style for compound inputs (Stones and Pounds) */
.wc-compound-input-group {
    display: flex;
    gap: 10px;
}

.wc-compound-input-group .wc-input {
    width: 50%; /* Distribute space for Stones and Pounds inputs */
}

.wc-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #065f46; /* Dark Green Label */
    margin-bottom: 6px;
}

.wc-input, .wc-select {
    padding: 10px;
    border: 1px solid #34d399; /* Medium Green Border */
    border-radius: 6px;
    font-size: 1rem;
    color: #1f2937;
    width: 100%;
    height: 40px;
}

/* Calculate Button */
.wc-btn-calc {
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #10b981; /* Primary Emerald Green Button */
    color: white;
    transition: background 0.2s;
    height: 40px;
    white-space: nowrap;
}
.wc-btn-calc:hover {
    background: #059669;
}

/* --- Results Table --- */

.wc-results-section {
    margin-top: 30px;
}

.wc-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.wc-table th, .wc-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #a7f3d0; /* Light Divider */
}

.wc-table th {
    background: #a7f3d0; /* Lightest Green Header */
    font-size: 1rem;
    color: #064e3b;
    text-transform: uppercase;
    font-weight: 700;
}

.wc-table td {
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

/* Highlighting */
.wc-highlight-unit {
    font-weight: 700;
    color: #10b981; /* Primary Green */
    background: #f0fdf4;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Responsive Styling */
@media (max-width: 600px) {
    .wc-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .wc-btn-calc {
        flex: 1;
        height: auto;
    }
    .wc-table th, .wc-table td {
        padding: 12px;
        font-size: 1rem;
    }
}