/* css/air_quality_display.css */

/* --- 空氣品質顯示 (Type Air-Q) 特定樣式 --- */
.control-wrapper.type-air-q {
    width: 100px;
    height: 140px;
    padding: 5px 0;
    box-sizing: border-box;
}

.control-wrapper.type-air-q .control-name {
    margin-bottom: 4px;
    font-size: 15px;
}

.air-q-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: #eee; /* 淺灰色背景 */
}

.air-q-display-background {
    width: 100%; height: 100%; position: absolute; top: 0; left: 0; border-radius: 50%; background: conic-gradient(#ccc 0deg 360deg); z-index: 1; /* 更淺的背景環 */
}

.air-q-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;
}

.air-q-display-inner-bg {
    position: absolute;
    width: calc(100% - 25px);
    height: calc(100% - 25px);
    background-color: #f8f8f8; /* 更淺的內部背景 */
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; pointer-events: none;
}

.air-q-value-display {
    font-size: 0.8em;
    color: #3498db; /* 空氣品質用藍色 */
    font-weight: bold;
    font-family: sans-serif;
    position: relative;
    z-index: 4;
    pointer-events: none;
}

.control-wrapper.type-air-q .control-status {
     margin-top: 6px;
     font-size: 10px;
     color: #666;
 }