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