
.infobox {
    display: none;
    position: absolute;
    bottom:-80px; 
    right: 20px;
    color: white;
    background: linear-gradient(rgba(0, 255, 0, 0.2), rgba(0, 255, 0, 0.2)), rgba(0, 0, 0, 0.5);
    border: solid 1px;
    border-color: green;
    min-height: 60px;
    min-width: 400px;
    max-width: 70%;
    border-radius: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 16px;
    z-index: 100;
}

.errorbox {
    display: none;
    position: absolute;
    bottom:-80px; 
    right: 20px;
    color: white;
    background: linear-gradient(rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.2)), rgba(0, 0, 0, 0.5);
    border: solid 1px;
    border-color: red;
    min-height: 60px;
    min-width: 400px;
    max-width: 70%;
    border-radius: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 16px;
    z-index: 100;
}

#error {
    display: none;
}

#info {
    display: none;
}

@keyframes info_in {
    0% { bottom: -60px; right: 20px; }
    20% { bottom: 20px; right: 20px; }
    90% { bottom: 20px; right: 20px; }
    100% { bottom: 20px; right: -400px; }
} 

.line {
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: space-between;
    color: var(--text-strong);
    width: 100%;
    height: 5vh;
    border-bottom: 1px solid;
    border-bottom-color: var(--border-line);
    font-size: 1vw;
    padding-right: 1vw;
    padding-left: 1vw;
    box-sizing: border-box;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

#line_tooltip {
    display: none;
    position: fixed;
    background-color: var(--bg-tooltip);
    color: var(--text-strong);
    font-size: 1.2vh;
    padding: calc(0.8vh + 10px) calc(1vw + 10px);
    border-radius: 0.5vh;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    pointer-events: none;
} 

@media (hover: hover) {
    .line:hover {
        background-color: var(--bg-hover-subtle);
    }
}

.line.keyboard_selected {
    background-color: var(--bg-hover-subtle);
}

.line_left {
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: flex-start;
    gap: 1vw;
    width: 45%;
}

.line_right {
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: flex-end;
    gap: 1vw;
    width: 55%;
}

 .app_current_multiselect_btn {
     width: 2.5vh;
     height: 2.5vh;
     display: inline-flex;
     align-items: center;
     justify-content: center;
 }

 .app_current_multiselect_checkbox {
     position: absolute;
     opacity: 0;
     width: 1px;
     height: 1px;
     pointer-events: none;
 }

 .app_current_multiselect_mark {
     width: 2.5vh;
     height: 2.5vh;
     border-radius: 50%;
     border: solid 1px;
     border-color: var(--border-btn);
     background-color: transparent;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     user-select: none;
 }

 @media (hover: hover) {
     .app_current_multiselect_btn:hover .app_current_multiselect_mark {
         border-color: var(--text-secondary);
         background-color: var(--bg-hover-icon);
         cursor: pointer;
     }
 }

 .app_current_multiselect_checkbox:focus-visible + .app_current_multiselect_mark {
     outline: 2px solid var(--text-strong);
     outline-offset: 2px;
 }

 .app_current_multiselect_checkbox:checked + .app_current_multiselect_mark {
     border-color: rgb(0, 148, 0);
     background-color: rgba(0, 148, 0, 0.25);
 }

 .app_current_multiselect_checkbox:checked + .app_current_multiselect_mark::before {
     content: "✓";
     color: rgb(0, 220, 0);
     font-size: 1.8vh;
     line-height: 1;
     font-weight: bold;
 }


/* Longpress Indikator */
.lp-indicator {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(128, 128, 128, 0.5);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lp-indicator-show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.lp-indicator-hide {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
