/* ========================================================
   辰曜优选 / 绿色健康主题风格 (Theme Green)
   主色调：#1ab394 / 森林绿：#2e7d32 / 活力绿：#00b96b
   ======================================================== */

:root {
    --theme-primary: #1ab394;
    --theme-primary-dark: #16987e;
    --theme-primary-light: #20c997;
    --theme-gradient: linear-gradient(135deg, #1ab394 0%, #2e7d32 100%);
    --theme-gradient-light: linear-gradient(135deg, #38d39f 0%, #1ab394 100%);
    --theme-accent: #27ae60;
}

/* 顶部导航与通用背景 */
.bg-color-red,
.bg-red,
.font-color-red {
    color: #1ab394 !important;
}

/* 会员中心头部绿色渐变背景 */
.mine .userInfo,
.mine .userInfo::after {
    background: linear-gradient(135deg, #1ab394 0%, #2e7d32 100%) !important;
}

/* 登录/注册页面背景 */
.login {
    background: linear-gradient(to left top, #1ab394 0%, #f7fcfa 50%, #1ab394) !important;
}

/* 按钮通用主色 */
.btn-primary,
.sub_btn,
.sure-btn,
.bnt,
uni-button[type="primary"],
.cart .pay,
.order-submission .money .btn,
.order-details .wrapper .bnt {
    background: linear-gradient(135deg, #1ab394 0%, #2e7d32 100%) !important;
    border-color: #1ab394 !important;
}

/* 底部 Tabbar 激活色 & 图标主色 */
.icon-yongjin {
    color: #1ab394 !important;
}

.font-color-red,
.red,
.price-color {
    color: #1ab394 !important;
}

/* 标签与徽章 */
.label-primary,
.badge-primary {
    background-color: #1ab394 !important;
}

/* 团队三账户专属卡片样式 */
.team-accounts-card {
    background: #ffffff;
    width: 690upx;
    width: calc(100% - 60upx);
    margin: 0 30upx 20upx;
    border-radius: 16upx;
    padding: 24upx 24upx 18upx;
    box-shadow: 0 4upx 16upx rgba(26, 179, 148, 0.08);
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(26, 179, 148, 0.15);
}

.team-accounts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16upx;
    border-bottom: 1px dashed #e8f5e9;
    margin-bottom: 18upx;
}

.team-accounts-title {
    font-size: 30upx;
    font-weight: bold;
    color: #2e7d32;
    display: flex;
    align-items: center;
}

.team-accounts-title .icon {
    display: inline-block;
    width: 8upx;
    height: 28upx;
    background: #1ab394;
    border-radius: 4upx;
    margin-right: 12upx;
}

.team-rank-badge {
    background: linear-gradient(135deg, #1ab394, #2e7d32);
    color: #ffffff;
    font-size: 22upx;
    padding: 4upx 14upx;
    border-radius: 20upx;
    font-weight: 600;
}

.team-accounts-grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 14upx;
}

.team-account-col {
    flex: 1;
    padding: 12upx 6upx;
    background: #f6fbf8;
    border-radius: 12upx;
    margin: 0 6upx;
}

.team-account-col:first-child { margin-left: 0; }
.team-account-col:last-child { margin-right: 0; }

.team-account-name {
    font-size: 24upx;
    color: #666666;
    margin-bottom: 6upx;
}

.team-account-amount {
    font-size: 30upx;
    font-weight: bold;
    color: #1ab394;
    letter-spacing: -0.5px;
}

.team-account-desc {
    font-size: 19upx;
    color: #999999;
    margin-top: 4upx;
    transform: scale(0.92);
}

.team-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 22upx;
    color: #777;
    background: #edf7f2;
    padding: 10upx 16upx;
    border-radius: 8upx;
    margin-top: 10upx;
}

.team-meta-row strong {
    color: #1ab394;
}

/* 弹窗与抽屉 */
.team-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
}

.team-modal-content {
    background: #ffffff;
    width: 100%;
    max-height: 82vh;
    border-top-left-radius: 30upx;
    border-top-right-radius: 30upx;
    padding: 30upx 26upx 40upx;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
