/**
 * 明准?v2 现代?UI 设计系统 - 兼容版本
 * 适配 IE11+, Chrome 49+, Firefox 52+, Windows 7 浏览? * 基于 .augment/rules/ui-design-system.md 规范
 */

/* ========================================
   1. CSS Reset & Base Styles
   ======================================== */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ========================================
   2. 色彩系统
   ======================================== */

/* 主题? #16baaa (青绿? */
/* 深色变体: #16b777 */
/* 浅色变体: rgba(2, 197, 177, 0.1) */

/* ========================================
   3. 背景装饰系统
   ======================================== */

.modern-bg {
    position: relative;
    min-height: 100vh;
    background: #f9fafb;
    /* 渐变背景 - IE10+ 支持 */
    background: -webkit-linear-gradient(135deg, #f9fafb 0%, #ffffff 50%, rgba(2, 197, 177, 0.05) 100%);
    background: -moz-linear-gradient(135deg, #f9fafb 0%, #ffffff 50%, rgba(2, 197, 177, 0.05) 100%);
    background: -o-linear-gradient(135deg, #f9fafb 0%, #ffffff 50%, rgba(2, 197, 177, 0.05) 100%);
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 50%, rgba(2, 197, 177, 0.05) 100%);
    overflow: hidden;
}

/* 背景装饰?*/
.modern-bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* 大圆形装?(Blob) */
.blob-decoration {
    position: absolute;
    border-radius: 50%;
    -webkit-filter: blur(48px);
    filter: blur(48px);
    opacity: 0.6;
}

.blob-1 {
    top: -160px;
    right: -160px;
    width: 320px;
    height: 320px;
    background: rgba(2, 197, 177, 0.1);
}

.blob-2 {
    top: 33%;
    left: -80px;
    width: 240px;
    height: 240px;
    background: rgba(59, 130, 246, 0.05);
}

.blob-3 {
    bottom: 80px;
    right: 25%;
    width: 384px;
    height: 384px;
    background: rgba(2, 197, 177, 0.05);
}

/* 网格背景 - 使用渐变模拟 */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        -webkit-linear-gradient(0deg, transparent 23px, rgba(128, 128, 128, 0.04) 24px),
        -webkit-linear-gradient(90deg, transparent 13px, rgba(128, 128, 128, 0.04) 14px);
    background-image: 
        -moz-linear-gradient(0deg, transparent 23px, rgba(128, 128, 128, 0.04) 24px),
        -moz-linear-gradient(90deg, transparent 13px, rgba(128, 128, 128, 0.04) 14px);
    background-image: 
        linear-gradient(90deg, transparent 13px, rgba(128, 128, 128, 0.04) 14px),
        linear-gradient(0deg, transparent 23px, rgba(128, 128, 128, 0.04) 24px);
    background-size: 14px 24px;
}

/* 径向光晕 */
.radial-glow {
    position: absolute;
    top: 0;
    left: 25%;
    width: 500px;
    height: 500px;
    background: -webkit-radial-gradient(circle, rgba(2, 197, 177, 0.1) 0%, transparent 70%);
    background: -moz-radial-gradient(circle, rgba(2, 197, 177, 0.1) 0%, transparent 70%);
    background: radial-gradient(circle, rgba(2, 197, 177, 0.1) 0%, transparent 70%);
    -webkit-filter: blur(32px);
    filter: blur(32px);
}

/* ========================================
   4. 毛玻璃效?(Glassmorphism) - 兼容版本
   ======================================== */

/* 导航栏毛玻璃 - 使用半透明背景模拟 */
.glass-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

/* 支持 backdrop-filter 的浏览器使用真实毛玻?*/
@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
    .glass-header {
        background: rgba(255, 255, 255, 0.8);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

/* 登录卡片毛玻?*/
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    -webkit-box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@supports ((-webkit-backdrop-filter: blur(24px)) or (backdrop-filter: blur(24px))) {
    .glass-card {
        background: rgba(255, 255, 255, 0.9);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
    }
}

/* 特性卡片毛玻璃 */
.glass-feature-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(243, 244, 246, 0.5);
    border-radius: 12px;
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@supports ((-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px))) {
    .glass-feature-card {
        background: rgba(255, 255, 255, 0.5);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }
}

.glass-feature-card:hover {
    border-color: rgba(2, 197, 177, 0.3);
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 底部栏毛玻璃 */
.glass-footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    -webkit-box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.1);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
    .glass-footer {
        background: rgba(255, 255, 255, 0.8);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

/* ========================================
   5. 卡片设计
   ======================================== */

.modern-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* 卡片内部装饰 */
.card-decoration-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    background: -webkit-linear-gradient(135deg, rgba(2, 197, 177, 0.1) 0%, transparent 100%);
    background: -moz-linear-gradient(135deg, rgba(2, 197, 177, 0.1) 0%, transparent 100%);
    background: linear-gradient(135deg, rgba(2, 197, 177, 0.1) 0%, transparent 100%);
    border-radius: 50%;
    -webkit-filter: blur(16px);
    filter: blur(16px);
    -webkit-transform: translate(50%, -50%);
    -moz-transform: translate(50%, -50%);
    -ms-transform: translate(50%, -50%);
    -o-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
}

.card-decoration-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 96px;
    height: 96px;
    background: -webkit-linear-gradient(45deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    background: -moz-linear-gradient(45deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    border-radius: 50%;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    -webkit-transform: translate(-50%, 50%);
    -moz-transform: translate(-50%, 50%);
    -ms-transform: translate(-50%, 50%);
    -o-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
}

/* ========================================
   6. 特性卡片组?   ======================================== */

.feature-card {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: -webkit-linear-gradient(135deg, #16baaa 0%, #16b777 100%);
    background: -moz-linear-gradient(135deg, #16baaa 0%, #16b777 100%);
    background: linear-gradient(135deg, #16baaa 0%, #16b777 100%);
    border-radius: 12px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-shrink: 0;
    -moz-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-shadow: 0 10px 15px -3px rgba(2, 197, 177, 0.2);
    -moz-box-shadow: 0 10px 15px -3px rgba(2, 197, 177, 0.2);
    box-shadow: 0 10px 15px -3px rgba(2, 197, 177, 0.2);
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.feature-icon i {
    color: #ffffff;
    font-size: 18px;
}

.feature-content {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.feature-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.feature-desc {
    font-size: 12px;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   7. 布局系统
   ======================================== */

.modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.modern-header {
    height: 64px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.modern-logo {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 12px;
}

.modern-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.modern-logo h1 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.modern-footer {
    padding: 16px 0;
    position: relative;
    z-index: 10;
}

.modern-footer-content {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
}

.modern-footer p,
.modern-footer a {
    font-size: 14px;
    color: #4b5563;
    margin: 0;
    text-decoration: none;
}

.modern-footer a:hover {
    color: #16baaa;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

/* ========================================
   8. 登录页面专用样式
   ======================================== */

.login-page {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

.login-main {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 24px 16px;
    position: relative;
    z-index: 10;
}

.login-content {
    width: 100%;
    max-width: 1200px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 123px;
}

/* 左侧品牌展示?*/
.login-brand {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: none; /* 默认隐藏，大屏显?*/
}

.login-brand-title {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.login-brand-desc {
    font-size: 16px;
    color: #4b5563;
    margin: 0 0 24px 0;
    line-height: 1.75;
}

.login-features {
    margin-bottom: 24px;
}

.login-features .feature-card {
    margin-bottom: 12px;
}

.login-image {
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    -webkit-box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    max-height: 280px;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-transition: -webkit-transform 0.5s ease;
    -moz-transition: -moz-transform 0.5s ease;
    -o-transition: -o-transform 0.5s ease;
    transition: transform 0.5s ease;
}

.login-image:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.login-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: -webkit-linear-gradient(top, transparent 0%, rgba(2, 197, 177, 0.2) 100%);
    background: -moz-linear-gradient(top, transparent 0%, rgba(2, 197, 177, 0.2) 100%);
    background: linear-gradient(to bottom, transparent 0%, rgba(2, 197, 177, 0.2) 100%);
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.login-image:hover .login-image-overlay {
    opacity: 1;
}

/* 右侧登录表单?*/
.login-form-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.login-form-card {
    padding: 24px;
    position: relative;
}

.login-form-header {
    margin-bottom: 24px;
}

.login-form-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
}

.login-form-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* 移动端特性列?*/
.login-features-mobile {
    display: block;
    margin-top: 32px;
}

.login-features-mobile .feature-item {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 12px;
}

.login-features-mobile .feature-item i {
    color: #16baaa;
    font-size: 16px;
}

/* ========================================
   9. 按钮样式增强
   ======================================== */

.modern-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.modern-btn-primary {
    background: #16baaa;
    color: #ffffff;
}

.modern-btn-primary:hover {
    background: #16b777;
    -webkit-box-shadow: 0 4px 6px -1px rgba(2, 197, 177, 0.3);
    -moz-box-shadow: 0 4px 6px -1px rgba(2, 197, 177, 0.3);
    box-shadow: 0 4px 6px -1px rgba(2, 197, 177, 0.3);
}

.modern-link {
    color: #4b5563;
    text-decoration: none;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.modern-link:hover {
    color: #16baaa;
}

/* ========================================
   10. 工具?   ======================================== */

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }

.p-0 { padding: 0; }
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }

/* ========================================
   11. 响应式设?   ======================================== */

/* 大屏?(?024px) */
@media (min-width: 1024px) {
    .login-brand {
        display: block;
    }

    .login-features-mobile {
        display: none;
    }

    .login-form-card {
        padding: 32px;
    }
}

/* 中等屏幕 (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .login-content {
        gap: 32px;
    }

    .modern-container {
        padding: 0 16px;
    }
}

/* 小屏?(<768px) */
@media (max-width: 767px) {
    .login-content {
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .modern-container {
        padding: 0 12px;
    }

    .modern-header {
        height: 56px;
    }

    .modern-logo h1 {
        font-size: 16px;
    }

    .login-brand-title {
        font-size: 24px;
    }

    .login-form-card {
        padding: 20px;
    }

    .modern-footer-content {
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   12. 动画效果
   ======================================== */

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(20px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
        -moz-transform: translateY(20px);
    }
    to {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    -webkit-animation: fadeIn 0.6s ease-out;
    -moz-animation: fadeIn 0.6s ease-out;
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   13. 兼容性修?   ======================================== */

/* IE11 Flexbox 修复 */
.login-content,
.modern-header,
.modern-footer-content,
.feature-card {
    -ms-flex-wrap: wrap;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================
   14. Layui 组件样式增强
   ======================================== */

/* 表单标签样式 */
.layui-form-label {
    font-weight: 500 !important;
    color: #374151 !important;
    padding: 9px 0 !important;
}

/* 输入框样式增?*/
.layui-input,
.layui-textarea {
    border-radius: 8px !important;
    border-color: #e5e7eb !important;
    -webkit-transition: all 0.3s ease !important;
    -moz-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
}

.layui-input:focus,
.layui-textarea:focus {
    border-color: #16baaa !important;
    -webkit-box-shadow: 0 0 0 3px rgba(2, 197, 177, 0.1) !important;
    -moz-box-shadow: 0 0 0 3px rgba(2, 197, 177, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(2, 197, 177, 0.1) !important;
}

/* 按钮样式增强 */
.layui-btn {
    border-radius: 8px !important;
    font-weight: 500 !important;
    -webkit-transition: all 0.3s ease !important;
    -moz-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
}

.layui-btn:hover {
    -webkit-box-shadow: 0 4px 6px -1px rgba(2, 197, 177, 0.3) !important;
    -moz-box-shadow: 0 4px 6px -1px rgba(2, 197, 177, 0.3) !important;
    box-shadow: 0 4px 6px -1px rgba(2, 197, 177, 0.3) !important;
    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    -o-transform: translateY(-1px);
    transform: translateY(-1px);
}

.layui-btn-lg {
    height: 44px !important;
    line-height: 44px !important;
    font-size: 16px !important;
}

/* 输入框前缀图标样式 */
.layui-input-prefix {
    display: -webkit-box !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -moz-box-align: center !important;
    -ms-flex-align: center !important;
    -webkit-align-items: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -moz-box-pack: center !important;
    -ms-flex-pack: center !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
}

.layui-input-prefix .layui-icon {
    color: #9ca3af !important;
    font-size: 16px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* 确保 Layui 图标字体正确加载 */
.layui-icon {
    font-family: "layui-icon" !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* 输入框包装器样式 */
.layui-input-wrap {
    position: relative !important;
    display: -webkit-box !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -moz-box-align: center !important;
    -ms-flex-align: center !important;
    -webkit-align-items: center !important;
    align-items: center !important;
}

.layui-input-wrap .layui-input {
    padding-left: 38px !important;
}

/* 卡片样式 */
.layui-card {
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    -moz-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.layui-card-header {
    border-bottom: 1px solid #e5e7eb !important;
    font-weight: 600 !important;
    color: #111827 !important;
}

/* 表格样式增强 */
.layui-table {
    border-radius: 8px !important;
    overflow: hidden;
}

.layui-table thead tr {
    background-color: #f9fafb !important;
}

.layui-table thead tr th {
    font-weight: 600 !important;
    color: #374151 !important;
}

/* 分页样式 */
.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #16baaa !important;
    border-radius: 6px !important;
}

.layui-laypage a {
    border-radius: 6px !important;
}

.layui-laypage a:hover {
    color: #16baaa !important;
    background-color: rgba(2, 197, 177, 0.1) !important;
}

/* 徽章样式 */
.layui-badge {
    border-radius: 12px !important;
    padding: 4px 12px !important;
    font-weight: 500 !important;
}

.layui-badge.layui-bg-green {
    background-color: #16baaa !important;
}

/* 导航样式增强 */
.layui-nav {
    border-radius: 8px !important;
}

.layui-nav-item a {
    -webkit-transition: all 0.3s ease !important;
    -moz-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
}

.layui-nav-item a:hover {
    background-color: rgba(2, 197, 177, 0.1) !important;
}

/* ========================================
   15. 主页面样式增?   ======================================== */

/* 统计卡片 */
.stats-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.stats-card:hover {
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

.stats-card-header {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #16baaa;
}

.stats-card-body {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
}

.stats-number {
    font-size: 24px;
    font-weight: 700;
    color: #16baaa;
    margin: 0 4px;
}

/* ========================================
   16. 打印优化
   ======================================== */

@media print {
    .modern-bg-decorations,
    .glass-header,
    .glass-footer,
    .login-brand,
    .login-features-mobile {
        display: none !important;
    }

    .modern-bg {
        background: #ffffff !important;
    }

    .glass-card {
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
}

