/*
Theme Name: OTONAEVENT Original
Description: OTONAEVENT の独立テーマ。イベント・コミュニティ・会員機能を維持し、親テーマを必要としません。
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: otonaevent
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

#sliding-menu {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.menu-bar {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.menu-button {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
}

.menu-button.active {
    background-color: #007bff;
    color: white;
}

.sliding-menu-content,
#sliding-menu .content {
    display: none;
    padding: 20px;
    background-color: #f9f9f9;
}

.jp-event-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    z-index: 1;
}

.jp-status-open {
    background-color: #28a745;
}

.jp-status-full {
    background-color: #dc3545;
}

.jp-status-closed {
    background-color: #6c757d;
}

.jp-status-ongoing {
    background-color: #2563eb;
}

.jp-status-cancelled {
    background-color: #b91c1c;
}

/* イベントカードの参加者情報（未ログイン時） */
.jp-event-participation-privacy {
    position: relative;
    min-height: 72px;
    isolation: isolate;
}

.jp-event-participation-privacy.is-login-locked > .jp-event-participant-icons,
.jp-event-participation-privacy.is-login-locked > .jp-event-progress {
    filter: blur(5px);
    opacity: 0.8;
    pointer-events: none;
    user-select: none;
}

.jp-event-login-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.56);
    color: #292929;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
