body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    background-color: #f5f5f5;
    -webkit-tap-highlight-color: transparent;
}

/* New Header Styles */
.header {
    background-image: linear-gradient(90deg, #0af, #0085ff);
    color: white;
    padding: 12px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    margin-bottom: 12px;
    text-align: center;
}

.header-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.header-subtitle {
    font-size: 12px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 4px;
    opacity: 0.95;
    font-weight: 500;
}

.contact-icon {
    margin-left: 6px;
    font-size: 18px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.contact-icon:active {
    background-color: rgba(255, 255, 255, 0.4);
}

.header-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Custom Element UI Overrides for Header */
.custom-search-input {
    flex: 1;
}

.custom-search-input .el-input__inner {
    border-radius: 4px;
    border: none;
    background-color: #fff;
    height: 36px;
    line-height: 36px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.custom-search-input .el-input__icon {
    line-height: 36px;
}

.custom-filter-select {
    width: 100%;
}

.filter-bar {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.custom-filter-select .el-input__inner {
    border-radius: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    height: 36px;
    line-height: 36px;
    text-align: center;
    padding-right: 25px;
    padding-left: 10px;
    font-size: 13px;
}

.custom-filter-select .el-input__icon {
    color: white;
    line-height: 36px;
}

/* Placeholder color for transparent input */
.custom-filter-select .el-input__inner::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

/* Element UI Tabs Overrides */
.el-tabs__item {
    font-size: 16px;
    height: 44px;
    line-height: 44px;
    color: #666;
}

.el-tabs__item.is-active {
    color: #0085ff;
    font-weight: bold;
}

.el-tabs__nav {
    width: 100%;
}

.el-tabs__item {
    width: 50%;
    text-align: center;
}

/* Notice Bar */
.notice-bar {
    background-color: #fdf6ec;
    color: #e6a23c;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 12px; /* Smaller font size */
    display: flex;
    align-items: center; /* Center align vertically */
    line-height: 1.2;
    white-space: nowrap; /* Keep on one line if possible, or use overflow */
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-bar i {
    margin-right: 4px;
    font-size: 14px;
    flex-shrink: 0;
}

.notice-content {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Card & Layout Styles */
.point-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
    padding: 16px;
    overflow: hidden;
}

.point-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f5f5f5;
}

.point-name {
    font-size: 19px;
    font-weight: 700;
    color: #222;
    flex: 1;
    margin-right: 10px;
    line-height: 1.3;
}

.difficulty-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    background-color: #f0f2f5;
    font-weight: 600;
    white-space: nowrap;
}

/* Content Area */
.point-content {
    margin-bottom: 16px;
}

.point-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.point-info-row:last-child {
    margin-bottom: 0;
}

.point-info-row i {
    margin-right: 8px;
    margin-top: 3px;
    color: #999;
    font-size: 16px;
}

.point-address {
    color: #333;
}

.point-note {
    color: #888;
    font-size: 14px;
}

/* Footer Actions */
.point-actions {
    border-top: 1px solid #f5f5f5;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.distance-time-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.dt-row {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.distance-row {
    margin-bottom: 0;
    color: #0085ff;
    font-weight: 600;
    font-size: 14px;
}

.distance-row i {
    color: #0085ff;
    margin-right: 6px;
    font-size: 15px;
}

.time-row {
    color: #333;
    font-weight: 500;
}

.time-row i {
    color: #333;
    margin-right: 6px;
    font-size: 15px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    height: 44px; /* Larger touch target */
    flex: 1; /* Equal width */
}

.action-btn i {
    margin-right: 6px;
    font-size: 16px;
}

.guide-btn {
    background-color: #e6f7ff;
    color: #0085ff;
    border: none;
}

.guide-btn:active {
    background-color: #bae7ff;
}

.nav-btn {
    background-color: #0085ff;
    color: white;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 133, 255, 0.2);
}

.nav-btn:active {
    background-color: #006acb;
}

.empty-text {
    text-align: center;
    color: #909399;
    padding: 40px 0;
    font-size: 14px;
}

/* Modal Adjustments */
.preview-image-modal .el-dialog__body {
    padding: 10px;
    padding-top: 0;
}

.preview-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 0;
}

.preview-image-modal img {
    border-radius: 4px;
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 800px;
    }
    
    .header {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .header-search-bar {
        width: 100%;
        max-width: 800px;
    }
}

/* Floating Map Button */
.floating-map-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0af, #0085ff);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 133, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-map-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 133, 255, 0.4);
}
