/* 位置页面布局 */
.location-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
}

/* 页面头部 */
.location-header {
    margin-bottom: 30px;
}

.location-header h2 {
    color: #8B4513;
    text-align: center;
    margin-bottom: 20px;
}

/* 搜索区域 */
.location-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#searchAddress {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#searchBtn,
#getCurrentLocation {
    padding: 10px 20px;
    background: #8B4513;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#searchBtn:hover,
#getCurrentLocation:hover {
    background: #A0522D;
}

/* 内容区域布局 */
.location-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* 店铺列表 */
.store-list {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
}

.store-list h3 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.store-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s;
}

.store-item:hover {
    background: rgba(139, 69, 19, 0.1);
}

.store-item.active {
    background: rgba(139, 69, 19, 0.2);
}

.store-item h4 {
    color: #8B4513;
    margin-bottom: 5px;
}

.store-item p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.store-distance {
    color: #999;
    font-size: 12px;
}

/* 地图容器 */
.map-container {
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
}

/* 店铺详情 */
.store-details {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 4px;
}

.store-details h3 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.store-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 10px;
}

.info-item .label {
    color: #666;
    min-width: 80px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
    }

    .location-search {
        flex-direction: column;
    }

    #searchBtn,
    #getCurrentLocation {
        width: 100%;
    }

    .store-info {
        grid-template-columns: 1fr;
    }
} 