/* --- LCD METER STÍLUSOK --- */
@import url('https://fonts.cdnfonts.com/css/digital-7-mono');

.meter-wrapper {
    container-type: size;
    width: 100%; 
    height: 100%; 
    min-height: 50px; 
    min-width: 100px;
}

.meter-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    border: 0.5cqh solid #6b7568;
    border-radius: 2cqh;
    box-shadow: inset 1cqh 1cqh 2cqh rgba(0,0,0,0.2);
    font-family: 'Digital-7 Mono', monospace;
    color: #1a1a1a;
    box-sizing: border-box;
    transition: background-color 0.5s ease;
    overflow: hidden;
    background-color: #aeb5a8; /* Alap háttérszín */
}

/* Bal oldal (Ikon) */
.meter-left {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 15%;
    border-right: 0.3cqh solid rgba(0,0,0,0.1);
    background-color: rgba(0,0,0,0.02);
    font-size: 45cqh;
    color: #2c2c2c;
}

/* Közép (Számok) */
.meter-center {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: flex-end;
    padding-right: 3cqh;
    height: 100%;
    overflow: hidden;
}

.meter-value {
    font-size: 65cqh;
    line-height: 1;
    letter-spacing: 0.5cqh;
    text-shadow: 0.5cqh 0.5cqh 0px rgba(255,255,255,0.15);
    white-space: nowrap;
}

.meter-value.updating {
    animation: lcd-flash 0.3s ease-out;
}

@keyframes lcd-flash {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.meter-unit {
    font-family: Arial, sans-serif;
    font-size: 20cqh;
    font-weight: bold;
    color: #333;
    margin-top: 15cqh;
    margin-left: 2cqh;
}

/* Jobb oldal (Gombok) */
.meter-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2cqh;
    height: 100%;
    width: 10%;
    border-left: 0.3cqh solid rgba(0,0,0,0.1);
    background-color: rgba(0,0,0,0.02);
}

.color-btn {
    width: 18cqh; 
    height: 18cqh;
    border-radius: 50%;
    border: 0.2cqh solid rgba(0,0,0,0.3);
    cursor: pointer;
    box-shadow: 0.2cqh 0.2cqh 0.5cqh rgba(0,0,0,0.3);
    transition: transform 0.1s;
}
.color-btn:active { transform: scale(0.9); }
.color-btn:hover { border-color: #fff; }

/* Új layout osztályok a kártyához */
.lcd-row-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--bg);
}
.lcd-wrapper-box {
    flex: 0 0 65%; /* A kért 65% szélesség */
    height: 60px;  /* Fix magasság a container query miatt */
}
.lcd-data-box {
    flex: 1;
    text-align: right; /* Vagy left, ízlés szerint */
    display: flex;
    flex-direction: column;
    justify-content: center;
}