/**
 * 物业缴费系统 - 全局样式
 * 创建时间: 2026-03-04
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
    background-color: #f7f8fa;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

/* 页面容器 */
.page-container {
    padding-bottom: 70px;
}

/*顶部导航栏*/
.van-nav-bar{
  position: sticky;
  width: 100%;
  top:0;
  padding-top: 0;
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* 主题色变量 - 标准蓝 */
:root {
    --primary-color: #2060ad;
    --primary-gradient: linear-gradient(135deg, #2060ad 0%, #1a4d8c 100%);
}

/* 轮播图样式 */
.custom-swipe {
    height: 180px;
}

.custom-swipe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 功能菜单网格 */
.menu-grid {
    padding: 16px 0;
    background: #fff;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #969799;
}

.empty-state img {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
}

/* 覆盖Vant UI主题色 */
.van-button--primary {
    background-color: #2060ad !important;
    border-color: #2060ad !important;
}

.van-tabbar-item--active {
    color: #2060ad !important;
}

.van-grid-item__text {
    font-size: 12px;
    color: #323233;
}

/* Tabbar高度调整 */
.van-tabbar {
    height: 58px;
}

.van-tabbar-item {
    height: 58px;
}

.van-tabbar-item__icon {
    font-size: 22px;
}

.van-tabbar-item__text {
    font-size: 12px;
}

/* 通知栏样式 */
.van-notice-bar {
    position: relative;
    z-index: 1;
    height: 40px;
    line-height: 40px;
}

.van-notice-bar__content {
    font-size: 14px;
    color: #323233 !important;
}

.van-notice-bar__left-icon {
    color: #2060ad;
}

/* 通用工具类 */
.text-primary {
    color: #2060ad;
}

.bg-primary {
    background-color: #2060ad;
}

.text-danger {
    color: #ee0a24;
}

.text-muted {
    color: #969799;
}

.fw-500 {
    font-weight: 500;
}
