/* イベントカード スタイル */
.event-badges {
    position: absolute;
    top: 10px;
    left: 10px;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.badge-upcoming {
    background-color: #007bff;
}

.badge-ongoing {
    background-color: #28a745;
}

.badge-completed {
    background-color: #6c757d;
}

.badge-canceled {
    background-color: #dc3545;
}

.fan-club-badge {
    color: white;
    border-radius: 20px;
    font-size: 13px;
    padding: 4px 12px;
}

.fan-club-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.event-meta .meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
}

.event-meta .meta-item i {
    margin-right: 8px;
}

/* フィルタータグスタイル */
.filter-tag {
    display: inline-block;
    background-color: #f5f5f5;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 13px;
}

.filter-tag .remove-filter {
    margin-left: 5px;
    color: #999;
}

.filter-tag .remove-filter:hover {
    color: #dc3545;
}

/* 今週のスケジュール */
.weekly-schedule .schedule-day {
    margin-bottom: 15px;
}

.weekly-schedule .day-title {
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.weekly-schedule .event-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
}

.weekly-schedule .event-time {
    width: 50px;
    font-size: 13px;
    color: #666;
}

.weekly-schedule .event-details {
    flex: 1;
}

.weekly-schedule .event-title {
    font-size: 13px;
    font-weight: 500;
}

.weekly-schedule .event-club {
    font-size: 12px;
    color: #666;
}

/* カレンダーボタン */
.btn-calendar {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 5px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.btn-calendar:hover {
    background-color: #e9e9e9;
}

/* 検索結果なし */
.no-results {
    background-color: #f8f9fa;
    border-radius: 10px;
}

.no-result-icon {
    font-size: 40px;
    color: #ddd;
}

.widget-facet .facet-title {
    margin-bottom: 15px;
    font-weight: 600;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}


/* カレンダーコンテナ */
.calendar-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* カレンダーボタン */
.btn-calendar-list {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 5px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.btn-calendar-list:hover {
    background-color: #e9e9e9;
}

/* カレンダーヘッダー */
.calendar-header {
    padding: 20px;
}

.calendar-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.btn-calendar-nav {
    border: none;
    background: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.btn-calendar-nav:hover {
    background-color: #f5f5f5;
    color: #0d6efd;
}

.btn-calendar-nav svg {
    width: 24px;
    height: 24px;
}

/* カレンダー曜日ヘッダー */
.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.calendar-day-header {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.day-sunday {
    color: #dc3545;
}

.day-saturday {
    color: #0d6efd;
}

/* カレンダーグリッド */
.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(120px, auto);
    border-left: 1px solid #eee;
}

.calendar-day {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px;
    position: relative;
    min-height: 120px;
}

.day-number {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.other-month {
    background-color: #f9f9f9;
}

.other-month .day-number {
    color: #aaa;
}

.today {
    background-color: #f0f8ff;
}

.today .day-number {
    color: #0d6efd;
    font-weight: 700;
}

/* イベントドット */
.day-events {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

/* ステータスドット */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* ファンクラブバッジ */
.fan-club-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 13px;
}

/* 모달 기본 스타일 */
.modal-dialog {
    max-width: 520px;
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.modal-header {
    padding: 20px 20px 15px;
    border-bottom: 1px solid #eee;
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.event-section-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 이벤트 모달 카드 레이아웃 */
.event-info-card,
.event-details-card,
.event-description-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.event-info-card {
    margin-bottom: 15px;
}

.event-details-card {
    margin-bottom: 15px;
}

.status-section .status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-section .status-text {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.fanclub-section .fan-club-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.event-datetime-section,
.event-location-section {
    margin-bottom: 0;
}

.event-datetime-section .event-section-content {
    margin-top: 8px;
}

.event-location-section .event-section-content {
    margin-top: 8px;
}

.datetime-text {
    background-color: #fff;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    font-weight: 500;
    line-height: 1.4;
}

.event-description-card .event-section-content {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 12px;
}

.event-description-card .event-section-content::-webkit-scrollbar {
    width: 6px;
}

.event-description-card .event-section-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.event-description-card .event-section-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.event-description-card .event-section-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Firefox용 스크롤바 */
.event-description-card .event-section-content {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* 今日のイベント */
.todays-events-list {
    margin-top: 10px;
}

.todays-events-list .event-item {
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.todays-events-list .event-item:hover {
    background-color: #f1f1f1;
}

.todays-events-list .event-time {
    font-size: 12px;
    color: #666;
}

.todays-events-list .event-title {
    font-weight: 600;
    margin: 5px 0;
}

.todays-events-list .event-club {
    font-size: 12px;
}

/* 日イベント一覧 */
.day-events-list .event-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.day-events-list .event-status {
    margin-right: 12px;
}

.day-events-list .event-info {
    flex: 1;
}

.day-events-list .event-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.day-events-list .event-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.day-events-list .event-meta .event-time {
    margin-right: 10px;
}

.event-badge {
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 40px;
    height: 40px;
    max-width: 40px;
    font-weight: 500;
}
.fan-club-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.event-badge .event-time {
    font-weight: 600;
}

.event-summary {
    font-size: 12px;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.event-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.event-info-item i {
    font-size: 24px;
    margin-right: 15px;
    color: var(--color-primary);
}

.event-info-content h5 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
}

.event-info-content p {
    margin: 0;
    color: #666;
}

.post-actions {
    border-top: 1px solid #eee;
    padding-top: 20px;
}