@charset "utf-8";

/* ====== Account Pages Common ====== */
.account-page{background:#f5f5f5;min-height:600px;padding:40px 0}

/* ====== Login Split Layout ====== */
.login-container{max-width:960px;margin:0 auto;min-height:500px;background:#fff;border-radius:8px;box-shadow:0 8px 32px rgba(0,0,0,0.12);overflow:hidden;zoom:1}
.login-banner{float:left;width:55%;min-height:500px;position:relative;background-image:url('/images/login_bg.png');background-size:cover;background-position:center;background-repeat:no-repeat}
.login-banner:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.6) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4D000000,endColorstr=#99000000,GradientType=1);z-index:1}
.login-banner-content{position:absolute;bottom:40px;left:40px;right:40px;color:#fff;z-index:2}
.login-brand{font-size:32px;font-weight:bold;margin-bottom:8px;text-shadow:0 2px 8px rgba(0,0,0,0.5)}
.login-slogan{font-size:16px;margin-bottom:24px;opacity:0.9;filter:alpha(opacity=90);text-shadow:0 1px 4px rgba(0,0,0,0.5)}
.login-features{zoom:1;margin-bottom:20px}
.login-features:after{content:"";display:table;clear:both}
.login-feature{display:inline-block;margin-right:20px;font-size:14px;opacity:0.85;filter:alpha(opacity=85)}
.login-trust{font-size:12px;opacity:0.7;filter:alpha(opacity=70);border-top:1px solid rgba(255,255,255,0.3);padding-top:12px}

/* ====== Login Page ====== */
.login-wrap{max-width:420px;margin:0 auto;padding:0 15px}
.login-card{background:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,0.08);padding:40px 36px;overflow:hidden}
.login-title{font-size:22px;color:#333;text-align:center;margin:0 0 24px;font-weight:600}

/* Auto register tip */
.auto-register-tip{display:none;background:#fff8e1;border:1px solid #ffe082;color:#8d6e00;padding:8px 12px;border-radius:4px;font-size:12px;margin-bottom:14px;line-height:1.5}
.auto-register-tip.show{display:block}

/* Tabs */
.login-tabs{zoom:1;overflow:hidden;border-bottom:1px solid #e0e0e0;margin-bottom:24px}
.login-tab{float:left;width:50%;text-align:center;height:42px;line-height:42px;font-size:15px;color:#666;cursor:pointer;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.login-tab:hover{color:#1a73e8}
.login-tab.active{color:#1a73e8;border-bottom-color:#1a73e8;font-weight:600}

/* Forms */
.login-form{display:none}
.login-form.active{display:block}
.form-group{margin-bottom:18px}
.form-input{width:100%;height:42px;line-height:42px;padding:0 12px;border:1px solid #e0e0e0;border-radius:6px;font-size:14px;color:#333;outline:none;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
.form-input:focus{border-color:#1a73e8;box-shadow:0 0 0 2px rgba(26,115,232,0.15)}
.form-input::-webkit-input-placeholder{color:#999}
.form-input:-ms-input-placeholder{color:#999}
.form-input::placeholder{color:#999}

/* SMS code group */
.sms-group{zoom:1}
.sms-group:after{content:"";display:table;clear:both}
.sms-input{float:left;width:60%;height:42px;line-height:42px;padding:0 12px;border:1px solid #e0e0e0;border-radius:6px;font-size:14px;color:#333;outline:none;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
.sms-input:focus{border-color:#1a73e8;box-shadow:0 0 0 2px rgba(26,115,232,0.15)}
.sms-btn{float:right;width:38%;height:42px;line-height:42px;background:#fff;color:#1a73e8;border:1px solid #1a73e8;border-radius:6px;font-size:13px;cursor:pointer;text-align:center;padding:0;box-sizing:border-box;transition:background .2s,color .2s}
.sms-btn:hover{background:#1a73e8;color:#fff}
.sms-btn:disabled{background:#f5f5f5;color:#999;border-color:#e0e0e0;cursor:not-allowed}

/* Submit button */
.btn-login{display:block;width:100%;height:46px;line-height:46px;background:#1a73e8;color:#fff;border:none;border-radius:6px;font-size:16px;cursor:pointer;text-align:center;padding:0;transition:background .2s,box-shadow .2s}
.btn-login:hover{background:#1557b0;box-shadow:0 4px 12px rgba(26,115,232,0.3)}
.btn-login:disabled{background:#a0c3f0;cursor:not-allowed;box-shadow:none}

/* Links row */
.login-links{zoom:1;margin-top:16px;font-size:13px}
.login-links:after{content:"";display:table;clear:both}
.login-links .link-left{float:left;color:#666}
.login-links .link-right{float:right}
.login-links a{color:#1a73e8;cursor:pointer}
.login-links a:hover{text-decoration:underline}

/* Wechat login */
.other-login{margin-top:24px;text-align:center}
.other-login-divider{position:relative;text-align:center;margin:18px 0;font-size:12px;color:#999}
.other-login-divider:before{content:"";display:block;position:absolute;top:50%;left:0;width:100%;height:1px;background:#e0e0e0}
.other-login-divider span{position:relative;background:#fff;padding:0 14px}
.btn-wechat{display:inline-block;width:100%;height:44px;line-height:44px;background:#07c160;color:#fff;border:none;border-radius:6px;font-size:15px;cursor:pointer;text-align:center;text-decoration:none;transition:background .2s,box-shadow .2s}
.btn-wechat:hover{background:#06ad56;box-shadow:0 4px 12px rgba(7,193,96,0.3);color:#fff}

/* ====== Profile Page ====== */
.profile-wrap{max-width:900px;margin:0 auto;padding:0 15px}
.profile-card{background:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,0.08);margin-bottom:20px;overflow:hidden}
.profile-userinfo{zoom:1;padding:24px}
.profile-userinfo:after{content:"";display:table;clear:both}
.profile-avatar{float:left;width:72px;height:72px;border-radius:50%;overflow:hidden;background:#1a73e8;color:#fff;text-align:center;line-height:72px;font-size:30px;margin-right:18px}
.profile-avatar img{width:100%;height:100%;display:block}
.profile-detail{overflow:hidden;zoom:1}
.profile-nickname{font-size:18px;color:#333;font-weight:600;margin-bottom:6px}
.profile-mobile{font-size:14px;color:#666}
.profile-tip{background:#fff8e1;border-top:1px solid #ffe082;color:#8d6e00;padding:10px 24px;font-size:13px;line-height:1.6}
.profile-tip a{color:#ff5a00;cursor:pointer;margin-left:6px}
.profile-tip a:hover{text-decoration:underline}

/* Quick entries grid */
.quick-grid{background:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,0.08);padding:20px 0;margin-bottom:20px;zoom:1}
.quick-grid:after{content:"";display:table;clear:both}
.quick-item{float:left;width:25%;text-align:center;padding:14px 0;color:#666;text-decoration:none;transition:color .2s}
.quick-item:hover{color:#1a73e8}
.quick-icon{display:block;width:44px;height:44px;line-height:44px;margin:0 auto 8px;border-radius:50%;background:#f0f6ff;color:#1a73e8;font-size:18px;font-style:normal;font-weight:600}
.quick-text{font-size:13px}

/* Function list */
.func-list{background:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,0.08);overflow:hidden}
.func-item{display:block;zoom:1;padding:16px 20px;border-bottom:1px solid #f0f0f0;color:#333;font-size:15px;cursor:pointer;text-decoration:none;transition:background .2s}
.func-item:after{content:"";display:table;clear:both}
.func-item:hover{background:#f9fbff;color:#1a73e8}
.func-item:last-child{border-bottom:none}
.func-name{float:left}
.func-arrow{float:right;color:#ccc;font-size:14px}
.func-item.danger{color:#ff5a00}
.func-item.danger:hover{background:#fff5f0;color:#ff5a00}

/* ====== Modal Dialog ====== */
.modal-mask{position:fixed;top:0;left:0;width:100%;height:100%;background:#000;opacity:0.5;filter:alpha(opacity=50);z-index:1200;display:none}
.modal-mask.show{display:block}
.modal-dialog{position:fixed;top:15%;left:50%;width:360px;margin-left:-180px;background:#fff;border-radius:8px;box-shadow:0 8px 32px rgba(0,0,0,0.2);z-index:1201;display:none}
.modal-dialog.show{display:block}
.modal-header{zoom:1;padding:16px 20px;border-bottom:1px solid #f0f0f0}
.modal-header:after{content:"";display:table;clear:both}
.modal-title{float:left;font-size:16px;color:#333;font-weight:600;margin:0}
.modal-close{float:right;width:24px;height:24px;line-height:24px;text-align:center;color:#999;cursor:pointer;font-size:20px;font-family:Arial,sans-serif}
.modal-close:hover{color:#333}
.modal-body{padding:20px}
.modal-footer{padding:0 20px 20px;text-align:right}
.modal-footer .btn{display:inline-block;height:38px;line-height:38px;padding:0 22px;border-radius:6px;font-size:14px;cursor:pointer;border:none;margin-left:10px;transition:background .2s;box-sizing:border-box}
.modal-footer .btn-cancel{background:#f5f5f5;color:#666}
.modal-footer .btn-cancel:hover{background:#e8e8e8}
.modal-footer .btn-confirm{background:#1a73e8;color:#fff}
.modal-footer .btn-confirm:hover{background:#1557b0}
.modal-footer .btn-confirm:disabled{background:#a0c3f0;cursor:not-allowed}

/* Modal form */
.modal-form .form-group{margin-bottom:14px}
.modal-form .form-input{width:100%;height:40px;line-height:40px;padding:0 12px;border:1px solid #e0e0e0;border-radius:6px;font-size:14px;color:#333;outline:none;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
.modal-form .form-input:focus{border-color:#1a73e8;box-shadow:0 0 0 2px rgba(26,115,232,0.15)}

/* ====== Coupon Section ====== */
.coupon-section{background:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,0.08);margin-bottom:20px;overflow:hidden}
.coupon-header{zoom:1;padding:16px 20px;border-bottom:1px solid #f0f0f0}
.coupon-header:after{content:"";display:table;clear:both}
.coupon-title{float:left;font-size:16px;color:#333;font-weight:600}
.coupon-count{float:right;font-size:13px;color:#ff5a00;font-weight:600;margin-right:16px}
.coupon-activate-link{float:right;font-size:13px;color:#1a73e8;text-decoration:none;cursor:pointer}
.coupon-activate-link:hover{text-decoration:underline}
.coupon-tabs{zoom:1;padding:0 20px;border-bottom:1px solid #f0f0f0;background:#fafafa}
.coupon-tabs:after{content:"";display:table;clear:both}
.coupon-tab{float:left;padding:12px 18px;font-size:14px;color:#666;cursor:pointer;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.coupon-tab:hover{color:#1a73e8}
.coupon-tab.active{color:#1a73e8;border-bottom-color:#1a73e8;font-weight:600}
.coupon-list{padding:16px 20px;min-height:80px}
.coupon-loading{text-align:center;color:#999;padding:30px 0;font-size:14px}
.coupon-empty{text-align:center;color:#999;padding:30px 0;font-size:14px}

/* Coupon card */
.coupon-card{zoom:1;border:1px solid #e8e8e8;border-radius:8px;margin-bottom:12px;overflow:hidden;position:relative;transition:box-shadow .2s}
.coupon-card:hover{box-shadow:0 2px 8px rgba(0,0,0,0.08)}
.coupon-card:after{content:"";display:table;clear:both}
.coupon-card.pending{opacity:0.7;filter:alpha(opacity=70)}
.coupon-card.expired{opacity:0.5;filter:alpha(opacity=50)}
.coupon-amount{float:left;width:110px;text-align:center;padding:20px 10px;background:#fff5f0;color:#ff5a00;position:relative}
.coupon-card.pending .coupon-amount{background:#fff8e1;color:#f59e0b}
.coupon-card.expired .coupon-amount{background:#f5f5f5;color:#999}
.coupon-amount-num{font-size:28px;font-weight:700;line-height:1.2}
.coupon-amount-unit{font-size:13px}
.coupon-amount:after{content:"";position:absolute;right:-6px;top:50%;margin-top:-6px;width:12px;height:12px;background:#fff;border-radius:50%;border-right:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}
.coupon-info{overflow:hidden;zoom:1;padding:14px 16px 14px 22px}
.coupon-info:after{content:"";display:table;clear:both}
.coupon-name{font-size:14px;color:#333;font-weight:600;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.coupon-date{font-size:12px;color:#999;margin-bottom:4px}
.coupon-source{font-size:12px;color:#999}
.coupon-status{float:right;font-size:12px;padding:2px 8px;border-radius:3px;margin-top:4px}
.coupon-status.usable{background:#e8f5e9;color:#2e7d32}
.coupon-status.pending-tag{background:#fff8e1;color:#f59e0b}
.coupon-status.expired-tag{background:#fff3e0;color:#e65100}

/* ====== Responsive ====== */
@media screen and (max-width:768px){
    .login-banner{display:none}
    .login-card{float:none;width:100%;padding:30px 20px}
    .login-container{border-radius:0;box-shadow:none;min-height:auto}
}
@media screen and (max-width:480px){
    .login-card{padding:20px 16px}
    .login-title{font-size:20px}
    .profile-userinfo{padding:18px}
    .profile-avatar{width:56px;height:56px;line-height:56px;font-size:24px;margin-right:14px}
    .quick-item{width:50%}
    .modal-dialog{width:90%;left:5%;margin-left:0}
    .sms-input{width:55%}
    .sms-btn{width:43%}
}
