@charset "utf-8";
/* CSS Document */
/* 검색 결과 페이지 스타일 */
.search-results-page {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #4ECDC4;
}

.search-header h1 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.search-header h1 i {
    color: #4ECDC4;
}

.search-query {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.result-count {
    background: #4ECDC4;
    color: white;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* 검색 폼 */
.search-form-wrapper {
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-form input[type="text"]:focus {
    outline: none;
    border-color: #4ECDC4;
}

.search-form button {
    padding: 12px 20px;
    background: #4ECDC4;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.search-form button:hover {
    background: #3dbdb5;
}

/* 검색 결과 목록 */
.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
    background: #fff;
}

.search-result-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.search-result-item a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.source-badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.result-title {
    font-size: 1.15rem;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    font-weight: 600;
}

.result-preview {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.result-date {
    font-size: 0.8rem;
    color: #999;
}

.result-date i {
    margin-right: 5px;
}

/* 하이라이트 */
.highlight, mark.highlight {
    background-color: #ffff00;
    color: #000;
    padding: 1px 3px;
    border-radius: 2px;
    font-weight: bold;
}

/* 검색 결과 없음 */
.no-results {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.no-results i {
    font-size: 3rem;
    color: #ccc;
    display: block;
    margin-bottom: 15px;
}

.no-results h2 {
    color: #666;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.no-results p {
    color: #888;
    margin-bottom: 20px;
}

.search-tips {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
    color: #888;
    padding-left: 20px;
}

.search-tips li {
    margin: 8px 0;
    font-size: 0.9rem;
}

/* 액션 버튼 */
.search-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.search-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s;
}

.search-actions .btn:hover {
    background: #5a6fd6;
}

.search-actions .btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.search-actions .btn-outline:hover {
    background: #667eea;
    color: white;
}

/* 반응형 */
@media (max-width: 600px) {
    .search-results-page {
        margin: 10px;
        padding: 15px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form button {
        width: 100%;
    }
    
    .search-header h1 {
        font-size: 1.4rem;
    }
    
    .search-query {
        font-size: 1rem;
    }
    
    .result-count {
        display: block;
        margin: 10px auto 0;
        width: fit-content;
    }
    
    .result-title {
        font-size: 1rem;
    }
}


