/* 営業ステータスインジケーター */
.business-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.status-icon {
    font-size: 10px;
    display: inline-block;
}

.status-text {
    white-space: nowrap;
}

/* ステータス別スタイル */
.status-open {
    background: rgba(74, 124, 89, 0.1);
    color: var(--success-color, #4A7C59);
    border: 1px solid var(--success-color, #4A7C59);
}

.status-closing-soon {
    background: rgba(217, 144, 88, 0.1);
    color: var(--warning-color, #D99058);
    border: 1px solid var(--warning-color, #D99058);
}

.status-preparing,
.status-closed {
    background: rgba(115, 115, 115, 0.1);
    color: #737373;
    border: 1px solid #CCCCCC;
}

/* パルスアニメーション（営業中） */
.status-open.pulse .status-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .status-open {
        background: rgba(102, 187, 106, 0.2);
        color: #66BB6A;
        border-color: #66BB6A;
    }

    .status-closing-soon {
        background: rgba(255, 183, 77, 0.2);
        color: #FFB74D;
        border-color: #FFB74D;
    }

    .status-preparing,
    .status-closed {
        background: rgba(158, 158, 158, 0.2);
        color: #9E9E9E;
        border-color: #757575;
    }
}

/* ボトムナビゲーションバー */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    /* デスクトップでは非表示 */
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 8px 0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.6;
    transition: all 0.3s ease;
    min-width: 60px;
    cursor: pointer;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    opacity: 1;
    color: var(--primary-color);
}

.bottom-nav-icon {
    font-size: 24px;
}

.bottom-nav-label {
    font-size: 11px;
    font-weight: 500;
}

/* モバイルでのみ表示 */
@media (max-width: 768px) {
    .bottom-nav {
        display: block;
    }

    /* メインコンテンツに下部余白を追加 */
    main {
        padding-bottom: 80px;
    }
}

/* ダークモード */
@media (prefers-color-scheme: dark) {
    .bottom-nav {
        background: var(--background-color);
        border-top-color: var(--border-color);
    }
}