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