310 lines
5.0 KiB
CSS
310 lines
5.0 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.container {
|
|
width: 90%;
|
|
max-width: 800px;
|
|
background: white;
|
|
border-radius: 20px;
|
|
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
|
|
padding: 40px;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
header h1 {
|
|
color: #333;
|
|
font-size: 2.5em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
header p {
|
|
color: #666;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.search-section {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
#searchInput {
|
|
width: 100%;
|
|
min-height: 120px;
|
|
padding: 15px;
|
|
font-size: 16px;
|
|
border: 2px solid #e0e0e0;
|
|
border-radius: 10px;
|
|
resize: vertical;
|
|
font-family: inherit;
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
#searchInput:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
}
|
|
|
|
#searchBtn {
|
|
width: 100%;
|
|
padding: 15px;
|
|
margin-top: 15px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
#searchBtn:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.examples {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.examples h3 {
|
|
color: #555;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.example-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.chip {
|
|
background: #f0f0f0;
|
|
padding: 8px 16px;
|
|
border-radius: 20px;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.chip:hover {
|
|
background: #667eea;
|
|
color: white;
|
|
}
|
|
|
|
.result-section {
|
|
background: #f8f9fa;
|
|
padding: 25px;
|
|
border-radius: 15px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.result-section h2 {
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.result-item {
|
|
background: white;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
margin-bottom: 15px;
|
|
border-left: 4px solid #667eea;
|
|
}
|
|
|
|
.result-item strong {
|
|
color: #667eea;
|
|
display: inline-block;
|
|
width: 100px;
|
|
}
|
|
|
|
.result-item .code-badge {
|
|
background: #f0f0f0;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-family: monospace;
|
|
font-size: 0.9em;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.loading {
|
|
text-align: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
.spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 5px solid #f3f3f3;
|
|
border-top: 5px solid #667eea;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin: 0 auto 20px;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* 검색 요약 */
|
|
.search-summary {
|
|
background: #f8f9fa;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.search-summary h3 {
|
|
color: #333;
|
|
font-size: 1.1em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.summary-items {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.summary-item {
|
|
background: #667eea;
|
|
color: white;
|
|
padding: 5px 12px;
|
|
border-radius: 15px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
/* 실거래가 목록 */
|
|
.listings-section {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.listings-section h3 {
|
|
color: #333;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.listings-container {
|
|
display: grid;
|
|
gap: 15px;
|
|
}
|
|
|
|
.listing-card {
|
|
background: white;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 10px;
|
|
padding: 15px;
|
|
transition: all 0.3s;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.listing-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.listing-card h4 {
|
|
color: #667eea;
|
|
margin-bottom: 12px;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.listing-info {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
|
|
.info-item.full-width {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.info-item .label {
|
|
color: #888;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.info-item .value {
|
|
color: #333;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.info-item .value.price {
|
|
color: #667eea;
|
|
font-size: 1.1em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.no-results {
|
|
text-align: center;
|
|
padding: 40px;
|
|
background: #f8f9fa;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.no-results p {
|
|
margin: 10px 0;
|
|
color: #666;
|
|
}
|
|
|
|
.more-info {
|
|
text-align: center;
|
|
color: #888;
|
|
margin-top: 20px;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* 필터링 정보 */
|
|
.filter-info {
|
|
color: #667eea;
|
|
font-size: 0.95em;
|
|
margin-bottom: 15px;
|
|
padding: 10px;
|
|
background: #f0f3ff;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 순위 배지 */
|
|
.rank-badge {
|
|
position: absolute;
|
|
top: -10px;
|
|
right: 15px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 5px 12px;
|
|
border-radius: 15px;
|
|
font-size: 0.85em;
|
|
font-weight: bold;
|
|
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.listing-card {
|
|
position: relative;
|
|
background: white;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 10px;
|
|
padding: 15px;
|
|
transition: all 0.3s;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
} |