/* ===========================================
   Ring Size Converter - Tool Specific Styles
   =========================================== */

/* Tool Layout */
.rsc-box {
    max-width: 700px;
    margin: 0 auto;
}

/* Controls and Inputs */
.rsc-controls {
    display: flex;
    gap: 20px;
    background: #fff7ed; /* Light Peach/Orange BG */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #fed7aa;
    margin-bottom: 30px;
    align-items: flex-end;
}

.rsc-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rsc-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9a3412; /* Dark Orange/Brown Label */
    margin-bottom: 6px;
}

.rsc-select {
    padding: 10px;
    border: 1px solid #fb923c; /* Medium Orange Border */
    border-radius: 6px;
    font-size: 1rem;
    color: #1f2937;
    width: 100%;
    height: 40px;
}

/* Calculate Button (used for trigger, though conversion is instant) */
.rsc-btn-calc {
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #f97316; /* Primary Orange Button */
    color: white;
    transition: background 0.2s;
    height: 40px;
    white-space: nowrap;
}
.rsc-btn-calc:hover {
    background: #ea580c;
}

/* --- Results Table --- */

.rsc-results-section {
    margin-top: 30px;
}

.rsc-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.rsc-table th, .rsc-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ffedd5; /* Light Divider */
}

.rsc-table th {
    background: #ffedd5; /* Lightest Orange Header */
    font-size: 1rem;
    color: #7c2d12;
    text-transform: uppercase;
    font-weight: 700;
}

.rsc-table td {
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 500;
}

/* Highlight the converted row/value */
.rsc-highlight-row td {
    background: #fff7ed;
    font-weight: 700;
    color: #ea580c; /* Primary Orange */
    border-left: 5px solid #f97316;
}

/* Responsive Styling */
@media (max-width: 600px) {
    .rsc-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .rsc-btn-calc {
        flex: 1;
        height: auto;
    }
    .rsc-table th, .rsc-table td {
        padding: 10px;
        font-size: 0.95rem;
    }
}