@CHARSET "UTF-8";
/* ========== 商家登录页 - 全新样式（匹配用户登录注册页） ========== */

/* 全局重置 */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
    overflow-x: hidden !important;
    background: #f5f7fa !important;
    min-width: auto !important;
}

/* ========== 页面主容器 ========== */
.wst-shop-login-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    background: #f5f7fa;
}

/* ========== 左侧视觉区域 ========== */
.wst-shop-login-visual {
    flex: 0 0 55%;
    position: relative;
    background: linear-gradient(135deg, #173396 0%, #1a3a9e 30%, #173396 70%, #0f2670 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wst-shop-login-visual canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wst-shop-visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px;
    color: #fff;
}

.wst-shop-visual-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,230,23,0.3);
    animation: shopLogoPulse 3s ease-in-out infinite;
}

@keyframes shopLogoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255,230,23,0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(255,230,23,0.4); }
}

.wst-shop-visual-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.wst-shop-visual-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.wst-shop-visual-title span {
    color: #FFE617;
}

.wst-shop-visual-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.wst-shop-visual-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.wst-shop-visual-feature {
    text-align: center;
}

.wst-shop-visual-feature-icon {
    display: flex;
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background: rgba(255,230,23,0.2);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFE617;
    border: 1px solid rgba(255,230,23,0.3);
}

.wst-shop-visual-feature span {
    font-size: 14px;
    opacity: 0.85;
}

/* ========== 右侧表单区域 ========== */
.wst-shop-login-form-area {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f5f7fa;
    position: relative;
    overflow-y: auto;
}

.wst-shop-login-form-area::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(23,51,150,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.wst-shop-login-form-area::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,230,23,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* 表单卡片 */
.wst-shop-login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 20px 60px rgba(23,51,150,0.12), 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
}

.wst-shop-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #173396, #FFE617);
    border-radius: 0 0 4px 4px;
}

/* 表单标题 */
.wst-shop-login-card-title {
    text-align: center;
    margin-bottom: 30px;
}

.wst-shop-login-card-title h2 {
    font-size: 28px;
    color: #173396;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.wst-shop-login-card-title p {
    font-size: 14px;
    color: #8898aa;
    margin: 0;
}

/* ========== 输入框样式 ========== */
.wst-shop-input-group {
    margin-bottom: 18px;
    position: relative;
}

.wst-shop-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fb;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.wst-shop-input-wrapper:hover {
    border-color: #c5cee0;
}

.wst-shop-input-wrapper:focus-within {
    border-color: #173396;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23,51,150,0.08);
}

.wst-shop-input-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    opacity: 0.5;
    transition: opacity 0.3s;
    flex-shrink: 0;
    color: #173396;
}

.wst-shop-input-wrapper:focus-within .wst-shop-input-icon {
    opacity: 1;
}

.wst-shop-input-wrapper input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 14px 0 !important;
    font-size: 15px !important;
    color: #2d3748 !important;
    outline: none !important;
    width: 100% !important;
    font-family: inherit !important;
    border-radius: 0 !important;
    margin: 0 !important;
    height: auto !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
}

.wst-shop-input-wrapper input::placeholder {
    color: #a0aec0;
    font-style: normal !important;
    letter-spacing: 0 !important;
}

/* 验证码行 */
.wst-shop-verify-row {
    display: flex;
    gap: 12px;
}

.wst-shop-verify-row .wst-shop-input-wrapper {
    flex: 1;
}

.wst-shop-verify-img {
    width: 120px;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid #e8ecf1;
    object-fit: cover;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    z-index: 1 !important;
}

/* ========== 提交按钮 ========== */
.wst-shop-submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #173396 0%, #1e3faa 50%, #173396 100%);
    background-size: 200% 200%;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 4px;
    font-family: inherit;
    margin-top: 5px;
}

.wst-shop-submit-btn:hover {
    background-position: 100% 0;
    box-shadow: 0 8px 25px rgba(23,51,150,0.35);
    transform: translateY(-2px);
}

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

.wst-shop-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.wst-shop-submit-btn:hover::before {
    left: 100%;
}

/* ========== 隐藏旧版元素 ========== */
.wst-lo-top,
.wst-lo-center,
.login-wrapper,
.boxbg2,
.login-footer {
    display: none !important;
}

/* ========== 页脚 ========== */
.wst-shop-login-page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    text-align: center;
    font-size: 12px;
    color: #a0aec0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 10000;
}

.wst-shop-login-page-footer a {
    color: #718096;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}

.wst-shop-login-page-footer a:hover {
    color: #173396;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .wst-shop-login-visual {
        display: none;
    }
    .wst-shop-login-form-area {
        flex: 0 0 100%;
    }
}

/* ========== layui覆盖 ========== */
.layui-input {
    border: none !important;
    background: transparent !important;
}
.layui-btn {
    border: none !important;
}
