/* ===========================================
   Time Unit Converter - Tool Specific Styles (Teal/Gray Theme)
   =========================================== */

/* Tool Layout */
.tuc-box {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Input Area --- */
.tuc-input-group {
    background: #e0f2f7; /* Pale Teal BG */
    border: 1px solid #99f6e4;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tuc-input-row {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.tuc-input-field {
    flex-grow: 1;
    padding: 12px;
    border: 2px solid #2dd4bf; /* Medium Teal Border */
    border-radius: 8px;
    font-size: 1.4rem;
    text-align: right;
    color: #0d9488; /* Dark Teal Text */
    outline: none;
}
.tuc-input-field:focus {
    border-color: #06b6d4; /* Cyan Focus */
}

.tuc-select {
    padding: 12px;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #1f2937;
    background-color: #ffffff;
    appearance: none; /* Hide default arrow */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%230f766e" d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: 150px;
}

/* --- Results Grid --- */
.tuc-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tuc-result-item {
    background: #ffffff;
    border: 1px solid #cbd5e1; /* Light Gray Border */
    border-radius: 8px;
    padding: 15px 20px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tuc-result-unit {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569; /* Slate Gray Unit Label */
    margin-bottom: 5px;
    text-align: left;
}

.tuc-result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d9488; /* Dark Teal Value */
    word-wrap: break-word;
}

/* Highlight for selected input unit */
.tuc-result-item.highlight {
    background: #ccfbf1; /* Very Light Teal Highlight */
    border-color: #0d9488;
    border-width: 2px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .tuc-input-row {
        flex-direction: column;
        gap: 10px;
    }
    .tuc-select {
        min-width: 100%;
    }
    .tuc-results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .tuc-result-value {
        font-size: 1.3rem;
    }
}