/**
 * Event Detail Modal Styles
 * イベント詳細モーダルのスタイル
 */

/* イベント詳細コンテンツ */
.event-detail-content {
    padding: 1rem 0;
}

.event-detail-section {
    margin-bottom: 2rem;
}

.event-detail-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

.event-detail-section p {
    color: #666;
    line-height: 1.6;
}

/* イベント情報グリッド */
.event-detail-info {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.event-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.event-detail-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    color: #666;
    flex-shrink: 0;
}

.event-detail-item strong {
    display: block;
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 0.25rem;
}

.event-detail-item p {
    margin: 0;
    color: #333;
    font-size: 1rem;
}

/* バッジ */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 12px;
    margin-top: 0.5rem;
}

.badge-info {
    background: #e3f2fd;
    color: #1976d2;
}

/* プログレスバー */
.progress {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
    transition: width 0.3s ease;
}

/* タグ */
.event-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #f5f5f5;
    color: #666;
    font-size: 0.875rem;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #e8e8e8;
    color: #333;
}

/* ローディング状態 */
.loading-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* エラー状態 */
.error-state {
    text-align: center;
    padding: 3rem;
    color: #f44336;
}

.error-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* 無効化されたボタン */
.btn-disabled {
    background: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.btn-disabled:hover {
    background: #e0e0e0 !important;
    transform: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .event-detail-info {
        gap: 1rem;
    }
    
    .event-detail-item {
        gap: 0.75rem;
    }
    
    .event-detail-item i {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
}