/* public/css/api-counter.css */

.api-counter-container {
    display: flex;
    flex-direction: column; /* 縦積みに変更 */
    align-items: stretch;   /* 幅をコンテナに合わせる */
    gap: 4px;               /* 隙間を少し狭くする */
    padding: 4px 8px;
    background-color: var(--kamos-bg-body);
    border-radius: 4px;
    border: 1px solid var(--kamos-border-default);
}

.api-counter-container #api-counter-text {
    font-size: 12px;
    color: var(--kamos-text-light);
    white-space: nowrap;
    text-align: center; /* 中央揃えにする */
}

.api-indicator-wrapper {
    width: 100%; /* 横幅を100%に */
    height: 8px;
    background-color: var(--kamos-border-color-default); /* より濃い色に変更 */
    border-radius: 4px;
    overflow: hidden;
}

.api-indicator-bar {
    height: 100%;
    background-color: var(--kamos-primary);
    width: 0%;
    transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out; /* 色の変更もアニメーションさせる */
}

#lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white!important;
    text-align: center;
}

.lock-screen-content {
    padding: 20px;
    background-color: #333;
    border-radius: 8px;
}

.lock-screen-content p {
    color: white!important;
}