/* 20241118 綠活會員儀表板 */
.member-center,
.member-card.green-life {
    color: #404040;
}
.green-life .member-card-body {
    padding: 10px 15px 15px;
}
.green-life .form-check-label {
    margin-bottom: 4px;
}
.green-life .form-check-label:last-child {
    margin-bottom: 0;
}
.green-life .checked-content .link-box {
    margin-top: 10px;
    text-align: center;
}
.green-life .link-box > a.text-link {
    font-size: 15px;
    line-height: 20px;
}
.green-life .reminder-message {
    color: #999;
    font-size: 13px;
    line-height: 18px;
    display: block;
    margin-top: 2px;
}
.green-life span.text-link > a,
.green-life a.text-link,
.green-life a.innerTag {
    color:#1683e9;
}
.green-life a.innerTag  {
    font-size: 15px;
}
.green-life .carbon-dashboard {
    margin: 0 0 10px;
}
.green-life .carbon-dashboard .detail,
.green-life .carbon-dashboard .info-box {
    display: flex;
    align-items: center;
}
.green-life .dashboard-chart .detail {
    justify-content: center;
    gap: 16px;
    margin-bottom: 4px;
}
.green-life .dashboard-chart .title {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 8px;
    background: initial;
    width: initial;
    color: #404040;
    float: none;
    height: auto;
    text-align: left;
}
.green-life .dashboard-chart .chart-box {
    margin-left: 5px;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}
.green-life .dashboard-chart .donut {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
    flex-shrink: 0;
  }
  
  .green-life .dashboard-chart .donut-inner {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.green-life .dashboard-chart .donut-inner span.title {
    display: inline-block;
    color: #404040;
    float: none;
    width: auto;
    height: auto;
    background: initial;
}
.green-life .dashboard-chart .donut-inner span.title > span.main-number {
    font: bold 21px/24px var(--primary-font-family);
}
.green-life .dashboard-chart .donut-inner span.title > span.decimal {
    font: bold 11px var(--primary-font-family);
    color: #404040;
    vertical-align: baseline;
    position: relative;
}
.green-life .dashboard-chart .donut-inner span.content {
    font-size: 11px;
    line-height: 13px;
    color: #999999;
    background: transparent;
    margin: 0;
    min-width: inherit;
}

.green-life .dashboard-chart .donut-inner .content span.two {
    font-size: 8px;
}

.green-life .dashboard-chart .info-box {
    margin: 17px 5px 17px 0;
}
.green-life .dashboard-chart .item {
    width: 86px;
    min-height: 66px;
    box-sizing: border-box;
}
.green-life .dashboard-chart .item + .item {
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #f2f2f2;
    width:calc(100% - 94px);
}
.green-life .dashboard-chart .item > .sub-title {
    font-size: 13px;
    line-height: 18px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.green-life .dashboard-chart .item > .sub-text {
    font-size: 11px;
    line-height: 16px;
    color: #999;
    margin-top: 4px;
}
.green-life .dashboard-chart .item > .sub-text > .number {
    font-size: 15px;
    line-height: 20px;
    color: #404040;
}
.green-life .dashboard-chart .item > .sub-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    border-radius: 2px;
}
.green-life .dashboard-chart .item:nth-child(1) > .sub-title::before {
    background-color: #81ae55;
}
.green-life .dashboard-chart .item:nth-child(2) > .sub-title::before {
    background-color: #a7c788;
}
.green-life .unlock-notice,
.green-life .dashboard-info {
    background:#f5f7ed;
    border-radius: 4px;
    padding: 8px;
}
.green-life .unlock-notice {
    display: flex;
    align-items: center;
    flex: 100%;
    margin-bottom: 10px;
}
.green-life .unlock-notice .icon-lock {
    background: url('//image.momoshop.com.tw/ecm/img/greenMember/icon-lock.svg') no-repeat 0 0;
    background-size: 20px 20px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0 12px 0 15px;
}
.green-life .unlock-notice .desc {
    font-size: 13px;
    line-height: 18px;
    margin-right: 16px;
    flex: 1;
}
.green-life .dashboard-info > .title {
    text-align: center;
    font-size: 11px;
    line-height: 16px;
    color: #999;
    margin-bottom: 4px;
    float: none;
    width: initial;
    background: initial;
    height: auto;
}
.green-life .dashboard-info .info-box {
    gap:4px;
    justify-content: center;
}
.green-life .dashboard-info .item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    width: 96px;
}
.green-life .dashboard-info .item > .icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.green-life .dashboard-info .item > .icon.icon-cup {
    background: url('//image.momoshop.com.tw/ecm/img/greenMember/icon-cup.svg') no-repeat 0 0;
}
.green-life .dashboard-info .item > .icon.icon-straws {
    background: url('//image.momoshop.com.tw/ecm/img/greenMember/icon-straws.svg') no-repeat 0 0;
}
.green-life .dashboard-info .item > .icon.icon-chopsticks {
    background: url('//image.momoshop.com.tw/ecm/img/greenMember/icon-chopsticks.svg') no-repeat 0 0;
}
.green-life .dashboard-info .item > .total {
    flex: 1;
    font-size: 11px;
    line-height: 16px;
    display: inline-flex;
    flex-direction: column;
}
.green-life .dashboard-info .item .qty {
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    color: #81ae55;
}
@media (min-width: 768px) {
    .green-life .member-card-body {
        display: flex;
        align-items: start;
        flex-wrap: wrap;
    }
    .green-life .carbon-dashboard {
        margin: 0 10px 0 0;
    }
    .green-life .carbon-dashboard,
    .green-life .carbon-dashboard + .checked-content {
        width: calc((100% - 10px)/2);
    }

}