@CHARSET "UTF-8";

/* ============================================
   商家登录页面 - 绿色沉浸式主题
   主色: #1AA844  浅色: #CAE6D7
   设计: 全屏背景 + 毛玻璃卡片 + CSS动画
   ============================================ */

/* ========== 全局重置 ========== */
body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: "Microsoft YaHei", "Hiragino Sans GB", Arial, Helvetica, sans-serif;
    background: #0a4a22;
}
#loginFrame {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== 顶部导航 ========== */
.wst-lo-top {
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 0;
    position: relative;
    z-index: 10;
    height: 70px;
    display: flex;
    align-items: center;
}
.login_logo {
    width: 1200px;
    margin: 0 auto;
    height: 45px;
    display: flex;
    align-items: center;
}
.login_logo img {
    height: 100%;
    width: auto;
    max-height: 45px;
    object-fit: contain;
}

/* ========== 主体区域 - 全屏沉浸式背景 ========== */
.wst-lo-center {
    width: 100%;
    flex: 1;
    background: linear-gradient(160deg, #0d5c2a 0%, #1AA844 35%, #23c94e 65%, #1AA844 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
}

/* 背景动态渐变动画 */
.wst-lo-center::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 600px 600px at 20% 50%, rgba(202,230,215,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 80% 20%, rgba(255,255,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 500px 300px at 60% 80%, rgba(26,168,68,0.3) 0%, transparent 60%);
    animation: shopBgFloat 20s ease-in-out infinite;
    pointer-events: none;
}
@keyframes shopBgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(1deg); }
    50% { transform: translate(-20px, 30px) rotate(-1deg); }
    75% { transform: translate(20px, 20px) rotate(0.5deg); }
}

/* ========== 浮动装饰圆圈 ========== */
.wst-deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.08;
}
.wst-deco-circle.c1 {
    width: 300px; height: 300px;
    background: #fff;
    top: -80px; left: -100px;
    animation: floatCircle1 15s ease-in-out infinite;
}
.wst-deco-circle.c2 {
    width: 200px; height: 200px;
    background: #CAE6D7;
    bottom: -60px; right: -50px;
    animation: floatCircle2 18s ease-in-out infinite;
}
.wst-deco-circle.c3 {
    width: 120px; height: 120px;
    background: #fff;
    top: 30%; right: 15%;
    animation: floatCircle3 12s ease-in-out infinite;
}
.wst-deco-circle.c4 {
    width: 80px; height: 80px;
    background: #CAE6D7;
    bottom: 20%; left: 10%;
    animation: floatCircle1 10s ease-in-out infinite reverse;
}
.wst-deco-circle.c5 {
    width: 160px; height: 160px;
    background: #fff;
    top: 15%; right: 40%;
    animation: floatCircle2 14s ease-in-out infinite;
}
@keyframes floatCircle1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}
@keyframes floatCircle2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(0.9); }
}
@keyframes floatCircle3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -20px); }
    66% { transform: translate(-15px, 15px); }
}

/* ========== 旋转菱形装饰 ========== */
.wst-deco-diamond {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255,255,255,0.1);
    transform: rotate(45deg);
    pointer-events: none;
    animation: diamondSpin 20s linear infinite;
}
.wst-deco-diamond.d1 { top: 15%; left: 5%; animation-duration: 25s; }
.wst-deco-diamond.d2 { bottom: 20%; right: 10%; width: 40px; height: 40px; animation-duration: 18s; animation-direction: reverse; }
.wst-deco-diamond.d3 { top: 60%; left: 25%; width: 30px; height: 30px; animation-duration: 22s; border-color: rgba(202,230,215,0.15); }
@keyframes diamondSpin {
    0% { transform: rotate(45deg) scale(1); opacity: 0.6; }
    25% { transform: rotate(135deg) scale(1.2); opacity: 1; }
    50% { transform: rotate(225deg) scale(1); opacity: 0.6; }
    75% { transform: rotate(315deg) scale(0.8); opacity: 1; }
    100% { transform: rotate(405deg) scale(1); opacity: 0.6; }
}

/* ========== 闪烁星星装饰 ========== */
.wst-deco-star {
    position: absolute;
    pointer-events: none;
    color: rgba(255,255,255,0.2);
    font-size: 16px;
    animation: starTwinkle 3s ease-in-out infinite;
}
.wst-deco-star.s1 { top: 12%; left: 18%; animation-delay: 0s; font-size: 14px; }
.wst-deco-star.s2 { top: 30%; right: 22%; animation-delay: 1s; font-size: 18px; }
.wst-deco-star.s3 { bottom: 25%; left: 8%; animation-delay: 2s; font-size: 12px; }
.wst-deco-star.s4 { top: 50%; right: 5%; animation-delay: 0.5s; font-size: 20px; }
.wst-deco-star.s5 { bottom: 10%; right: 30%; animation-delay: 1.5s; font-size: 14px; }
.wst-deco-star.s6 { top: 8%; left: 45%; animation-delay: 2.5s; font-size: 16px; }
@keyframes starTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.3); }
}

/* ========== 底部波浪装饰 ========== */
.wst-deco-wave {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
}
.wst-deco-wave svg { width: 100%; height: 100%; }
.wst-deco-wave.w1 { bottom: 0; left: 0; width: 100%; height: 120px; animation: waveFloat 8s ease-in-out infinite; }
.wst-deco-wave.w2 { bottom: 0; left: 0; width: 100%; height: 80px; opacity: 0.04; animation: waveFloat 6s ease-in-out infinite reverse; }
@keyframes waveFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ========== 左右分栏布局 ========== */
.wst-lo {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 60px;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

/* ========== 左侧品牌展示区 ========== */
.wst-shop-brand {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 0;
    animation: slideInLeft 0.8s ease-out;
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
.wst-shop-brand-logo {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.wst-shop-brand-logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}
.wst-shop-brand h2 {
    font-size: 36px;
    color: #fff;
    font-weight: 300;
    margin: 0 0 15px;
    letter-spacing: 2px;
    line-height: 1.3;
}
.wst-shop-brand h2 strong {
    font-weight: 700;
    display: block;
}
.wst-shop-brand p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin: 0 0 40px;
    max-width: 380px;
}

/* 商家特性卡片 */
.wst-shop-brand-features {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.wst-shop-brand-features .feature-item {
    text-align: center;
    padding: 20px 22px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.3s ease;
    min-width: 120px;
}
.wst-shop-brand-features .feature-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.wst-shop-brand-features .feature-item .fi-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: rgba(202,230,215,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.wst-shop-brand-features .feature-item .fi-text {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}

/* ========== 右侧登录卡片 - 毛玻璃效果 ========== */
.login-wrapper {
    width: 440px;
    flex-shrink: 0;
    float: none;
    margin: 0;
    position: relative;
    animation: slideInRight 0.8s ease-out;
    align-self: center;
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 隐藏旧布局元素 */
.login-wrapper .boxbg2 {
    display: none;
}

.login-wrapper .box {
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 45px 40px 35px;
    box-shadow:
        0 25px 80px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.3) inset;
}

/* ========== 登录标题 ========== */
.login-wrapper .box .login-title {
    font-weight: 700;
    color: #1AA844;
    height: auto;
    line-height: 1.3;
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* ========== 登录副标题 ========== */
.shop-login-subtitle {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

/* ========== 登录表单输入框 ========== */
.login-wrapper .box .login-box {
    height: auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
    padding-left: 0;
}
.shop-login-field {
    position: relative;
    margin-bottom: 18px;
    border: 2px solid #e8ede9;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    background: #fff;
}
.shop-login-field:focus-within {
    border-color: #1AA844;
    box-shadow: 0 0 0 4px rgba(26,168,68,0.08);
}
.shop-login-field .login-icon1,
.shop-login-field .login-icon2,
.shop-login-field .login-icon3 {
    width: 50px;
    height: 50px;
    background: transparent;
    position: static;
    border-radius: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.shop-login-field:focus-within .login-icon1,
.shop-login-field:focus-within .login-icon2,
.shop-login-field:focus-within .login-icon3 {
    background: #CAE6D7;
}
.shop-login-field .login-icon1 {
    background: transparent url(../img/icon_1.png) center center no-repeat;
    background-size: 45%;
}
.shop-login-field:focus-within .login-icon1 {
    background: #CAE6D7 url(../img/icon_1.png) center center no-repeat;
    background-size: 45%;
}
.shop-login-field .login-icon2 {
    background: transparent url(../img/icon_2.png) center center no-repeat;
    background-size: 45%;
}
.shop-login-field:focus-within .login-icon2 {
    background: #CAE6D7 url(../img/icon_2.png) center center no-repeat;
    background-size: 45%;
}
.shop-login-field .login-icon3 {
    background: transparent url(../img/icon_3.png) center center no-repeat;
    background-size: 45%;
}
.shop-login-field:focus-within .login-icon3 {
    background: #CAE6D7 url(../img/icon_3.png) center center no-repeat;
    background-size: 45%;
}

/* 输入框样式重置 */
.shop-login-field input[type="text"],
.shop-login-field input[type="password"] {
    position: static;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 0;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    background: transparent;
    color: #333;
    margin-bottom: 0;
}
.shop-login-field input:-moz-placeholder { color: #bbb; font-style: normal; font-size: 14px; }
.shop-login-field input:-ms-input-placeholder { color: #bbb; font-style: normal; font-size: 14px; }
.shop-login-field input::-webkit-input-placeholder { color: #bbb; font-style: normal; font-size: 14px; }

/* 验证码行 */
.shop-login-field.frame {
    display: flex;
    align-items: center;
}
.shop-login-field.frame input[type="text"] {
    width: auto;
    flex: 1;
}
.shop-login-field.frame #verifyImg {
    position: static;
    width: 120px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid #e8ede9;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    top: auto;
    right: auto;
}

/* ========== 登录按钮 ========== */
#loginbtn {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, #1AA844 0%, #15a83e 50%, #1fbf50 100%) !important;
    background-size: 200% 200% !important;
    color: #ffffff !important;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    border: 0 !important;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 3px;
    animation: gradientShift 3s ease infinite;
    padding: 0;
    margin: 20px 0 0 0;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
#loginbtn:hover {
    box-shadow: 0 8px 25px rgba(26,168,68,0.4);
    transform: translateY(-2px);
}
#loginbtn:active {
    transform: translateY(0);
}

/* ========== 页脚 ========== */
.login-footer {
    background: #0a4a22;
    padding: 20px 0;
    color: rgba(255,255,255,0.5);
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font: 13px/150% "Hiragino Sans GB", "Microsoft Yahei", arial, sans-serif;
}
.login-footer .wst-footer {
    width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}
.login-footer .wst-footer .flink-hover {
    padding-right: 12px;
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
}
.login-footer .wst-footer .flink-hover:hover {
    color: #CAE6D7;
}
.login-footer a {
    color: rgba(255,255,255,0.4);
}
.login-footer a:hover {
    color: #CAE6D7;
}

/* ========== layui 覆盖（仅商家登录页） ========== */
.layui-input {
    border: none !important;
    background: transparent !important;
}
.layui-btn {
    border-radius: 12px;
}

/* ========== 通用辅助 ========== */
.wst-clear { clear: both; }
.wst-lo .head { display: none; }
.wst-lo-left { display: none; }
.content-wrap { width: 100%; }
