/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f8ff;
    padding: 20px;
}

/* 原型展示容器样式 */
.prototype-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.prototype-title {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 32px;
}

.prototype-description {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #7f8c8d;
    line-height: 1.8;
}

/* 原型网格布局 */
.prototypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    justify-content: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .prototypes-grid {
        grid-template-columns: 1fr;
    }
}

/* 天气应用页面原型通用样式 */
.weather-app {
    height: 100vh;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 100%;
}

.app-header {
    background: linear-gradient(to right, #1a91ff, #00c6ff);
    color: white;
    padding: 15px 20px;
    position: relative;
    text-align: center;
}

.app-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.app-body {
    padding: 20px;
    height: calc(100% - 52px);
    overflow-y: auto;
    padding-bottom: 80px;
    flex: 1;
}

/* 为每种原型页面预留自定义样式空间，后续会添加 */

/* 首页样式 */
.home-page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.location-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.location {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
}

.location i {
    margin-right: 8px;
    color: #3498db;
}

.weather-refresh {
    color: #7f8c8d;
    font-size: 14px;
}

.current-weather {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
}

.weather-icon {
    font-size: 80px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.temperature {
    font-size: 60px;
    font-weight: 300;
    margin: 0;
    line-height: 1;
}

.weather-desc {
    font-size: 22px;
    margin: 10px 0;
}

.weather-detail {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 16px;
    font-weight: 500;
}

.weather-forecast {
    margin-bottom: 20px;
}

.forecast-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #2c3e50;
}

.hourly-forecast {
    display: flex;
    overflow-x: auto;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}

.hourly-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    min-width: 60px;
}

.hourly-time {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.hourly-icon {
    font-size: 22px;
    color: #00a8ff;
    margin-bottom: 10px;
}

.hourly-temp {
    font-size: 16px;
    font-weight: 500;
}

.daily-forecast {
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding-top: 20px;
}

.daily-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

.daily-date {
    flex: 1;
    font-weight: 500;
}

.daily-weather {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.daily-icon {
    margin-right: 10px;
    color: #00a8ff;
}

.daily-temp {
    flex: 1;
    text-align: right;
}

.temp-high {
    font-weight: 500;
    color: #ff6b6b;
}

.temp-low {
    margin-left: 8px;
    color: #48dbfb;
}

.bottom-nav {
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 100;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-item.active {
    color: #0072ff;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.nav-label {
    font-size: 12px;
}

/* 未来天气预报页面样式 */
.forecast-page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.forecast-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.forecast-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s;
}

.forecast-tab.active {
    color: #0072ff;
    border-bottom: 3px solid #0072ff;
    font-weight: 500;
}

.forecast-content {
    flex: 1;
    overflow-y: auto;
}

.forecast-section {
    margin-bottom: 30px;
}

.hour24-forecast {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 20px;
}

.hour24-container {
    display: inline-flex;
    align-items: flex-end;
    height: 180px;
    padding: 0 10px;
}

.hour24-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 25px;
    position: relative;
}

.hour24-time {
    font-size: 14px;
    color: #7f8c8d;
    position: absolute;
    bottom: -25px;
    white-space: nowrap;
}

.hour24-icon {
    font-size: 20px;
    color: #0072ff;
    margin-bottom: 10px;
}

.hour24-bar {
    width: 6px;
    background-color: #00c6ff;
    border-radius: 3px;
    margin: 10px 0;
    transition: height 0.5s;
}

.hour24-temp {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.daily7-forecast {
    margin-top: 30px;
}

.daily7-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f1f1;
}

.daily7-date {
    flex: 1.5;
    display: flex;
    flex-direction: column;
}

.daily7-date-day {
    font-weight: 500;
    margin-bottom: 3px;
}

.daily7-date-full {
    font-size: 12px;
    color: #7f8c8d;
}

.daily7-weather {
    flex: 2;
    display: flex;
    align-items: center;
}

.daily7-weather-icon {
    font-size: 24px;
    color: #0072ff;
    margin-right: 10px;
}

.daily7-weather-desc {
    display: flex;
    flex-direction: column;
}

.daily7-weather-text {
    font-size: 14px;
    margin-bottom: 3px;
}

.daily7-weather-wind {
    font-size: 12px;
    color: #7f8c8d;
}

.daily7-temp {
    flex: 1.5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.daily7-temp-bar {
    height: 4px;
    border-radius: 2px;
    margin: 0 10px;
    background: linear-gradient(to right, #48dbfb, #ff6b6b);
    position: relative;
}

.daily7-temp-low {
    color: #48dbfb;
    font-weight: 500;
    min-width: 30px;
    text-align: right;
}

.daily7-temp-high {
    color: #ff6b6b;
    font-weight: 500;
    min-width: 30px;
    text-align: right;
}

/* 空气质量页面样式 */
.air-page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.air-quality-card {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 15px;
    padding: 25px;
    color: white;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
}

.air-quality-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.air-quality-index {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aqi-value {
    font-size: 60px;
    font-weight: 300;
    margin-bottom: 5px;
}

.aqi-category {
    font-size: 22px;
    margin-bottom: 15px;
}

.aqi-desc {
    font-size: 14px;
    opacity: 0.9;
    max-width: 250px;
    margin: 0 auto;
    line-height: 1.5;
}

.air-details {
    margin-bottom: 25px;
}

.air-details-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #2c3e50;
}

.air-pollutants {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.air-pollutant-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.air-pollutant-item:hover {
    transform: translateY(-3px);
}

.air-pollutant-item:nth-child(1) {
    border-top: 3px solid #ff6b6b;
}

.air-pollutant-item:nth-child(2) {
    border-top: 3px solid #feca57;
}

.air-pollutant-item:nth-child(3) {
    border-top: 3px solid #1dd1a1;
}

.air-pollutant-item:nth-child(4) {
    border-top: 3px solid #48dbfb;
}

.air-pollutant-item:nth-child(5) {
    border-top: 3px solid #5f27cd;
}

.air-pollutant-item:nth-child(6) {
    border-top: 3px solid #ff9ff3;
}

.pollutant-name {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 8px;
}

.pollutant-value {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.air-advice {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.air-advice-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 500;
}

.air-advice-title i {
    color: #0072ff;
    margin-right: 10px;
    font-size: 18px;
}

.air-advice-content {
    color: #555;
    line-height: 1.6;
}

.air-aqi-scale {
    margin-bottom: 20px;
}

.air-aqi-scale-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #2c3e50;
}

.aqi-scale-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #1dd1a1, #feca57, #ff9f43, #ff6b6b, #a55eea, #8854d0);
    margin-bottom: 10px;
    position: relative;
}

.aqi-scale-marker {
    width: 2px;
    height: 12px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -2px;
}

.aqi-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #7f8c8d;
}

.aqi-hour-trend {
    margin-bottom: 25px;
}

.aqi-hour-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #2c3e50;
}

.aqi-hour-chart {
    height: 150px;
    background-color: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 15px;
    position: relative;
}

.aqi-hour-chart::before {
    content: "";
    position: absolute;
    width: calc(100% - 30px);
    height: 1px;
    background-color: #ddd;
    top: 50%;
    left: 15px;
}

.aqi-hour-bar {
    width: 8px;
    background: linear-gradient(to top, #00c6ff, #0072ff);
    border-radius: 4px;
    position: relative;
}

.aqi-hour-time {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #7f8c8d;
    white-space: nowrap;
}

/* 生活指数页面样式 */
.life-page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.life-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.life-location {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
}

.life-location i {
    margin-right: 8px;
    color: #3498db;
}

.life-date {
    color: #7f8c8d;
    font-size: 14px;
}

.life-index-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.life-index-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.life-index-card:nth-child(1) {
    background: linear-gradient(to bottom right, #fff, #ffefef);
    border-left: 4px solid #ff6b6b;
}

.life-index-card:nth-child(2) {
    background: linear-gradient(to bottom right, #fff, #fff8e1);
    border-left: 4px solid #feca57;
}

.life-index-card:nth-child(3) {
    background: linear-gradient(to bottom right, #fff, #e3fff9);
    border-left: 4px solid #1dd1a1;
}

.life-index-card:nth-child(4) {
    background: linear-gradient(to bottom right, #fff, #e3f2fd);
    border-left: 4px solid #48dbfb;
}

.life-index-card:nth-child(5) {
    background: linear-gradient(to bottom right, #fff, #f3e5f5);
    border-left: 4px solid #a55eea;
}

.life-index-card:nth-child(6) {
    background: linear-gradient(to bottom right, #fff, #ffe6ff);
    border-left: 4px solid #ff9ff3;
}

.life-index-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.life-index-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.life-index-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 18px;
}

.life-index-card:nth-child(1) .life-index-icon {
    background-color: #ff6b6b;
}

.life-index-card:nth-child(2) .life-index-icon {
    background-color: #feca57;
}

.life-index-card:nth-child(3) .life-index-icon {
    background-color: #1dd1a1;
}

.life-index-card:nth-child(4) .life-index-icon {
    background-color: #48dbfb;
}

.life-index-card:nth-child(5) .life-index-icon {
    background-color: #a55eea;
}

.life-index-card:nth-child(6) .life-index-icon {
    background-color: #ff9ff3;
}

.life-index-title {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
}

.life-index-level {
    margin-top: 5px;
    font-size: 15px;
    font-weight: 500;
}

.life-index-card:nth-child(1) .life-index-level {
    color: #ff6b6b;
}

.life-index-card:nth-child(2) .life-index-level {
    color: #ff9f43;
}

.life-index-card:nth-child(3) .life-index-level {
    color: #1dd1a1;
}

.life-index-card:nth-child(4) .life-index-level {
    color: #0072ff;
}

.life-index-card:nth-child(5) .life-index-level {
    color: #a55eea;
}

.life-index-card:nth-child(6) .life-index-level {
    color: #ff9ff3;
}

.life-travel-section {
    margin-top: 20px;
}

.life-travel-header {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #2c3e50;
}

.life-travel-card {
    background: linear-gradient(to bottom right, #fff, #e3f2fd);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0072ff;
}

.life-travel-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
}

.life-travel-title i {
    margin-right: 10px;
    color: #0072ff;
}

.life-travel-content {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

.life-search-box {
    margin-top: 20px;
}

.life-search-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #2c3e50;
}

.life-search-input {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 10px 15px;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.life-search-input i {
    color: #7f8c8d;
    margin-right: 10px;
}

.life-search-text {
    color: #7f8c8d;
    font-size: 14px;
}

/* 天气预警页面样式 */
.alert-page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.alert-location {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
}

.alert-location i {
    margin-right: 8px;
    color: #3498db;
}

.alert-date {
    color: #7f8c8d;
    font-size: 14px;
}

.alert-tab-bar {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.alert-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    color: #7f8c8d;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.alert-tab.active {
    background-color: #0072ff;
    color: white;
    font-weight: 500;
}

.alert-content {
    flex: 1;
}

.alert-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    color: #7f8c8d;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
}

.alert-empty-icon {
    font-size: 50px;
    color: #0072ff;
    opacity: 0.5;
    margin-bottom: 20px;
}

.alert-empty-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #2c3e50;
}

.alert-empty-desc {
    font-size: 14px;
    max-width: 250px;
    line-height: 1.5;
}

.alert-list {
    margin-bottom: 20px;
}

.alert-item {
    background-color: #fff8f8;
    border-left: 4px solid #ff6b6b;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.alert-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f5e7e7;
}

.alert-item-type {
    display: flex;
    align-items: center;
}

.alert-item-icon {
    color: #ff6b6b;
    font-size: 18px;
    margin-right: 10px;
}

.alert-item-title {
    font-size: 16px;
    font-weight: 500;
    color: #ff6b6b;
}

.alert-item-level {
    background-color: #ff6b6b;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

.alert-item-content {
    padding: 15px;
}

.alert-item-time {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.alert-item-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.alert-info-section {
    margin-top: 25px;
    margin-bottom: 20px;
}

.alert-info-header {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #2c3e50;
}

.alert-info-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.alert-info-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
}

.alert-info-title i {
    margin-right: 10px;
    color: #0072ff;
}

.alert-info-content {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

.alert-service-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #0072ff, #00c6ff);
    color: white;
    padding: 12px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.alert-service-button:hover {
    background: linear-gradient(to right, #005ddb, #00b6ea);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
}

/* 位置搜索页面样式 */
.location-page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.location-search-container {
    position: relative;
    margin-bottom: 20px;
}

.location-search-bar {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.location-search-icon {
    color: #7f8c8d;
    margin-right: 10px;
    font-size: 16px;
}

.location-search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #333;
    font-size: 15px;
}

.location-search-input::placeholder {
    color: #95a5a6;
}

.location-search-clear {
    color: #bdc3c7;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
}

.location-title {
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0 15px;
    color: #2c3e50;
}

.location-current {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #e3f2fd, #f0f8ff);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0072ff;
}

.location-current-icon {
    width: 40px;
    height: 40px;
    background-color: #0072ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 18px;
}

.location-current-info {
    flex: 1;
}

.location-current-name {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
}

.location-current-desc {
    font-size: 13px;
    color: #7f8c8d;
}

.location-list {
    margin-bottom: 20px;
}

.location-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    transition: background-color 0.2s;
}

.location-item:hover {
    background-color: #f8f9fa;
}

.location-item-icon {
    color: #0072ff;
    margin-right: 15px;
    font-size: 16px;
}

.location-item-name {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.location-item-temp {
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
}

.location-hot-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.location-hot-city {
    background-color: #f0f8ff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #0072ff;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #e3f2fd;
}

.location-hot-city:hover {
    background: linear-gradient(to right, #0072ff, #00c6ff);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 114, 255, 0.2);
}

.location-search-results {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    padding: 10px 0;
}

.location-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.location-result-item:hover {
    background-color: #f8f9fa;
}

.location-result-icon {
    color: #0072ff;
    margin-right: 15px;
    font-size: 16px;
}

.location-result-name {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.location-result-detail {
    font-size: 13px;
    color: #7f8c8d;
}

/* 关于页面样式 */
.about-page {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.about-logo i {
    font-size: 80px;
    color: #4a90e2;
    margin-bottom: 15px;
}

.about-logo h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
}

.about-version {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 8px 20px;
    background-color: #f8f8f8;
    border-radius: 20px;
}

.version-label {
    font-weight: 500;
    margin-right: 10px;
}

.version-value {
    color: #4a90e2;
    font-weight: 500;
}

.about-card {
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.about-card-title {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.about-card-title i {
    font-size: 18px;
    color: #4a90e2;
    margin-right: 10px;
}

.about-card-title span {
    font-size: 16px;
    font-weight: 500;
}

.about-card-content {
    padding: 15px;
}

.about-card-content p {
    margin: 0 0 10px;
    line-height: 1.5;
    color: #666;
}

.about-card-content p:last-child {
    margin-bottom: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-item i {
    width: 20px;
    color: #4a90e2;
    margin-right: 10px;
}

.about-footer {
    margin-top: 20px;
    text-align: center;
    color: #999;
}

.about-footer p {
    margin: 5px 0;
    font-size: 12px;
}

/* 设置页面样式 */
.settings-page {
    padding: 15px;
}

.settings-section {
    margin-bottom: 30px;
}

.settings-section-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    padding-left: 5px;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.settings-item-title {
    font-size: 16px;
    color: #333;
}

.toggle-container {
    width: 50px;
    height: 30px;
    border-radius: 15px;
    background-color: #e0e0e0;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-container.active {
    background-color: #4a90e2;
}

.toggle-slider {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-container.active .toggle-slider {
    left: 22px;
}

.settings-select select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background-color: #f8f8f8;
    font-size: 14px;
    color: #333;
    width: 150px;
}

.button-item {
    justify-content: center;
}

.settings-button {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.settings-button:hover {
    background-color: #e5e5e5;
}

.settings-version {
    text-align: center;
    margin-top: 30px;
    color: #999;
    font-size: 12px;
}

.settings-version p {
    margin: 5px 0;
}

/* 深色模式样式 */
body.dark-mode {
    background-color: #121212;
    color: #f1f1f1;
}

body.dark-mode .weather-app {
    background-color: #1e1e1e;
}

body.dark-mode .app-header {
    background-color: #1e1e1e;
}

body.dark-mode .app-title {
    color: #f1f1f1;
}

body.dark-mode .current-weather {
    background-color: #1e1e1e;
}

body.dark-mode .temp-value,
body.dark-mode .weather-desc,
body.dark-mode .weather-location {
    color: #f1f1f1;
}

body.dark-mode .forecast-daily,
body.dark-mode .air-quality-card,
body.dark-mode .life-index-card,
body.dark-mode .alert-item {
    background-color: #2d2d2d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .weather-hourly {
    background-color: #2d2d2d;
}

body.dark-mode .hourly-item {
    border-right: 1px solid #3d3d3d;
}

body.dark-mode .forecast-date,
body.dark-mode .index-title,
body.dark-mode .index-desc {
    color: #ccc;
}

body.dark-mode .bottom-nav {
    background-color: #1e1e1e;
    border-top: 1px solid #333;
}

body.dark-mode .about-card,
body.dark-mode .settings-item {
    background-color: #2d2d2d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .about-card-title {
    border-bottom: 1px solid #3d3d3d;
}

body.dark-mode .about-card-content p,
body.dark-mode .settings-item-title {
    color: #ccc;
}

/* 更多页面样式 */
.more-page {
    padding: 0;
}

.more-list {
    margin-bottom: 20px;
}

.more-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.more-item:hover {
    background-color: #f8f9fa;
}

.more-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 18px;
}

.more-item:nth-child(1) .more-item-icon {
    background-color: #ff6b6b;
}

.more-item:nth-child(2) .more-item-icon {
    background-color: #0072ff;
}

.more-item:nth-child(3) .more-item-icon {
    background-color: #1dd1a1;
}

.more-item:nth-child(4) .more-item-icon {
    background-color: #a55eea;
}

.more-item:nth-child(5) .more-item-icon {
    background-color: #feca57;
}

.more-item:nth-child(6) .more-item-icon {
    background-color: #48dbfb;
}

.more-item-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.more-item-desc {
    font-size: 13px;
    color: #999;
}

.more-item-arrow {
    color: #ccc;
    font-size: 14px;
}

.more-item-toggle {
    margin-left: 10px;
}

.back-button {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    color: white;
}

/* 深色模式的更多页面 */
body.dark-mode .more-item {
    border-bottom-color: #2d2d2d;
}

body.dark-mode .more-item:hover {
    background-color: #232323;
}

body.dark-mode .more-item-icon {
    background-color: #2c3e50;
    color: #60a5fa;
}

body.dark-mode .more-item-title {
    color: #eee;
}

body.dark-mode .more-item-desc {
    color: #999;
}

body.dark-mode .more-item-arrow {
    color: #666;
} 