/* ============================================
   现代化卖家登录页面样式
   ============================================ */

/* 基础样式重置 */
body {
    margin: 0;
    padding: 0;
    min-width: 1200px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    min-height: 100vh;
    position: relative;
}

#loginFrame {
    margin: 0;
    padding: 0;
}

/* 卖家登录页面主容器 - 只有卖家登录页面使用蓝色背景 */
.wst-shop-login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg,#7170BC 0%,#3a38b3 100%);
}

/* 顶部导航栏 */
.wst-shop-login-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.wst-shop-header-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.wst-shop-logo-section {
    display: flex;
    align-items: center;
}

.wst-shop-logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

/* 主内容区域 */
.wst-shop-login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.wst-shop-login-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* 登录卡片 */
.wst-shop-login-card {
    width: 100%;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 40px;
}

.wst-shop-login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.wst-shop-login-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
}

/* 表单样式 */
.wst-shop-form-group {
    margin-bottom: 24px;
}

.wst-shop-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 56px;
}

.wst-shop-input-wrapper:focus-within {
    border-color:#7170BC;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.wst-shop-input-icon {
    width: 55px;
    height: 56px;
    margin: 0;
    flex-shrink: 0;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #1a1a1a;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s ease;
}

.wst-shop-input-wrapper:focus-within .wst-shop-input-icon {
    background-color:#7170BC;
}

.wst-shop-icon-user {
    background: url(../img/icon_1.png) no-repeat center;
    background-size: 60%;
}

.wst-shop-icon-password {
    background: url(../img/icon_2.png) no-repeat center;
    background-size: 60%;
}

.wst-shop-icon-verify {
    background: url(../img/icon_3.png) no-repeat center;
    background-size: 60%;
}

/* 验证码区域的图标特殊处理 */
.wst-shop-verify-input-group .wst-shop-input-icon {
    border-radius: 5px 0 0 5px;
}

/* 输入框样式 */
.wst-shop-input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 15px;
    outline: none;
    height: 100%;
    color: #333;
    width: 100%;
    padding-left: 20px;
}

.wst-shop-input::placeholder {
    color: #999;
}

/* 验证码输入组 */
.wst-shop-verify-wrapper {
    height: auto;
    min-height: 56px;
    padding: 0;
    background: transparent;
    border: 0;
}

.wst-shop-verify-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 56px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    /* padding: 0 16px; */
    transition: all 0.3s ease;
}

.wst-shop-verify-input-group:focus-within {
    border-color:#7170BC;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.wst-shop-verify-input-group .wst-shop-input-icon {
    margin: 0;
    margin-right: 12px;
}

/* 验证码输入获得焦点时，左侧图标同步高亮为蓝色 */
.wst-shop-verify-input-group:focus-within .wst-shop-input-icon {
    background-color:#7170BC;
}

.wst-shop-verify-input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 15px;
    outline: none;
    height: 100%;
    color: #333;
}

.wst-shop-verify-input::placeholder {
    color: #999;
}

/* 验证码图片 */
.wst-shop-verify-img {
    width: 120px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 20px;
}

.wst-shop-verify-img:hover {
    border-color:#7170BC;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

/* 登录按钮 */
.wst-shop-submit-group {
    margin-top: 32px;
    margin-bottom: 0;
}

.wst-shop-login-btn {
    display: block;
    width: 100%;
    height: 56px;
    line-height: 56px;
    text-align: center;
    background: linear-gradient(90deg,#7170BC 0%,#3a38b3 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
    letter-spacing: 1px;
}

.wst-shop-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.6);
    background: linear-gradient(135deg, #357abd 0%, #2a5f9a 100%);
}

.wst-shop-login-btn:active {
    transform: translateY(0);
}

/* Footer样式 */
.login-footer {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #666;
    text-align: center;
    font: 13px/150% "Hiragino Sans GB", "Microsoft Yahei", arial, 宋体, "Helvetica Neue", Helvetica, STHeiTi, sans-serif;
}

.login-footer .wst-footer {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.login-footer .wst-footer-flink {
    margin-bottom: 15px;
}

.login-footer .wst-footer-cld-box {
    margin-bottom: 15px;
}

.login-footer .flink-hover {
    padding-right: 12px;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer .flink-hover:hover {
    color:#7170BC;
}

.login-footer > div {
    color: #999;
    font-size: 12px;
    line-height: 1.8;
}

.wst-clear {
    clear: both;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        min-width: auto;
    }
    
    .wst-shop-header-container {
        width: 100%;
        padding: 0 20px;
    }
    
    .wst-shop-login-container {
        padding: 0 20px;
    }
    
    .wst-shop-login-card {
        border-radius: 16px;
        padding: 30px 20px;
    }
    
    .wst-shop-login-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* 兼容旧版样式 - 隐藏 */
.wst-lo-top,
.wst-lo-center,
.wst-lo,
.login-wrapper,
.boxbg2,
.box,
.content-wrap,
.login-box,
.login-icon1,
.login-icon2,
.login-icon3 {
    display: none;
}

/* 图标替换 */
.layui-layer-icowst1,
.layui-layer-icowst2,
.layui-layer-icowst3 {
    background-image: url(../../../../../static/images/wst_icon.png) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.layui-layer-icowst2 {
    background-position: -40px 0 !important;
}

.layui-layer-icowst3 {
    background-position: -80px -1px !important;
}

.layui-layer-icowstloading {
    background-image: url(../../../../../static/images/loading.gif) !important;
    background-repeat: no-repeat !important;
    background-size: 206% auto !important;
    background-position: -16px -16px !important;
}
