/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Pingfang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: #000000;
    background-color: #f8f8f8;
    line-height: 1.5;
}

/* 使英文和数字使用Avenir字体 */
.en-text, .rating-score, .tag {
    font-family: "Avenir", "Pingfang SC", sans-serif;
}

.container {
    max-width: 750px;
    margin: 0 auto;
}

.toast-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}
.toast {    
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    border-radius: 5px;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}


/* 加载中样式优化 */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading {
    text-align: center;
    padding: 30px 0;
    color: #6F5226;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-left: 10px;
    border: 2px solid #CBB486;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 底部样式优化 */
.footer {
    text-align: center;
    padding: 16px;
    color: rgba(0, 0, 0, 0.3);
    font-size: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #eee;
} 


.rating-stars {
    display: inline-block;
    margin-right: 5px;
    color: #dba654;
}

.rating-score {
    font-size: 12px;
    color: #dba654;
}



.restaurant-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 8px;
}

.tag {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #6F5226AA;
    color: #fff;
    margin-right: 8px;
    margin-bottom: 8px;
}
