/* shelf.css — ChromeOS Shelf（タスクバー）のスタイル */

/* シェルフ分のスペースを確保 */
body {
    padding-bottom: 48px;
}

.shelf-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-sizing: border-box;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.1);
    z-index: 9999;

    /* デフォルト：上の二角だけ丸 */
    border-radius: 24px 24px 0 0;

    transition: border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* hasLargeWindow = true のときは角を完全に直角にする */
body.shelf-large .shelf-container {
    border-radius: 0;
}

.shelf-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.shelf-center {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* アクティブなアプリのインジケーター */
.active-app {
    position: relative;
}

.active-app::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    background-color: #5f6368;
    border-radius: 2px;
}

.shelf-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.status-pill {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 4px 12px;
    gap: 12px;
    height: 32px;
    cursor: pointer;
    transition: background 0.2s;
}

.status-pill:hover {
    background: rgba(0, 0, 0, 0.1);
}

.status-text {
    font-size: 13px;
    font-weight: 500;
    color: #202124;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shelf-icon {
    color: #3c4043;
}

.shelf-icon.small {
    font-size: 18px;
}
