/* 简约旺铺风格主题样式 */

:root {
    /* 颜色变量定义 */
    --primary: #3d7fff;          /* 主色调（淘宝旺铺蓝） */
    --primary-hover: #5a91ff;    /* 主色调悬浮状态 */
    --primary-light: #f0f7ff;    /* 主色调浅色 */
    --nav-bg: #ffffff;           /* 导航栏背景色 */
    --bg-light: #f2f2f2;         /* 浅色背景 */
    --text-primary: #333333;     /* 主要文字颜色 */
    --text-secondary: #666666;   /* 次要文字颜色 */
    --text-hint: #999999;        /* 提示文字颜色 */
    --border-color: #eaeaea;     /* 边框颜色 */
    --box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); /* 通用阴影 */
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-hover);
}

/* 简约按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 2px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-default {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid #d9d9d9;
}

.btn-default:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* 简约卡片 */
.card {
    background-color: white;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.card-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.card-body {
    padding: 16px;
}

.card-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
    border-radius: 0 0 4px 4px;
}

/* 简约导航 */
.wangpu_headermenu {
    background-color: var(--nav-bg);
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #d7dbe0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo_wrap {
    height: 60px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo_wrap img {
    width: 32px;
    height: 32px;
}

.logo_wrap span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-left: 8px;
}

.nav_wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.headmenu_item {
    display: flex;
    height: 60px;
    padding: 0 35px;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    transition: all .3s ease;
    cursor: pointer;
}

.headmenu_item:hover {
    color: var(--primary);
}

.headmenu_item.active {
    color: var(--primary);
    font-weight: 500;
}

.nav_usercenter {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 26px;
}

/* 简约表单元素 */
.input {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    transition: all 0.3s;
    font-size: 14px;
    width: 100%;
}

.input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(61, 127, 255, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 16px;
}

/* 通用工具类 */
.mt-10 { margin-top: 10px; }
.mr-10 { margin-right: 10px; }
.mb-10 { margin-bottom: 10px; }
.ml-10 { margin-left: 10px; }
.m-20 { margin: 20px; }
.p-20 { padding: 20px; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }
.text-hint { color: var(--text-hint); }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary); }
.bg-white { background-color: white; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-center { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.flex-between { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}
.flex-column {
    display: flex;
    flex-direction: column;
}

/* 响应式工具类 */
@media (max-width: 1200px) {
    .hidden-lg { display: none !important; }
}

@media (max-width: 992px) {
    .hidden-md { display: none !important; }
}

@media (max-width: 768px) {
    .hidden-sm { display: none !important; }
} 