/* css/temp_display.css */

/* --- 溫度顯示 (Type Temp) 特定樣式 --- */
.control-wrapper.type-temp {
    width: 100px;
    height: 140px;
    padding: 5px 0;
    box-sizing: border-box;
}

.control-wrapper.type-temp .control-name {
    margin-bottom: 4px;
    font-size: 15px;
}

.temp-display-container {
    width: 63px;
    height: 63px;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    overflow: hidden;
    /* 注意：這裡的紅色背景可能只是測試用，實際應該是透明或更中性的顏色 */
    background-color: #ddd; /* 改回中性色 */
}

.temp-display-background {
    width: 100%; height: 100%; position: absolute; top: 0; left: 0; border-radius: 50%; background: conic-gradient(#555 0deg 360deg); z-index: 1;
}

.temp-display-arc {
    width: 100%; height: 100%; position: absolute; top: 0; left: 0; border-radius: 50%; background: conic-gradient(transparent 0deg 360deg); z-index: 2; pointer-events: none; transition: background 0.5s ease;
}

.temp-display-inner-bg {
    position: absolute;
    width: calc(100% - 25px); /* 內圓大小 */
    height: calc(100% - 25px);
    background-color: #333; /* 深色內背景 */
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; pointer-events: none;
}

.temp-value-display {
    font-size: 0.8em;
    color: #FF9800; /* 溫度用橙色 */
    font-weight: bold;
    font-family: sans-serif;
    position: relative;
    z-index: 4;
    pointer-events: none;
}

.control-wrapper.type-temp .control-status {
     margin-top: 6px;
     font-size: 10px;
     color: #666;
 }