/* [모달] 기본 스타일 */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    width: 90%; 
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    animation: slideDown 0.3s ease-out;
}

.modal-header {
    padding: 15px 20px;
    background-color: var(--bg-gray);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* [카드] 검색 결과 팀 카드 */
.search-result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fff;
    min-height: 180px;
}

.search-result-item:hover { 
    border-color: var(--main-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
}

/* [버튼] 공통 버튼 스타일 */
button {
    cursor: pointer;
    transition: all 0.2s;
}

#btn-search-confirm, #btn-preview-apply {
    background-color: var(--main-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
}

#btn-search-confirm:hover, #btn-preview-apply:hover {
    background-color: var(--dark-blue);
}

/* [일정 카드] UEFA 단계별 보기 카드 */
.cl-match-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* [탭/필터] */
.filter-btn, .step-btn {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 4px;
    font-weight: bold;
}

.filter-btn.active, .step-btn.active {
    background-color: #333;
    color: white;
    border-color: #333;
}
