html, body {
    height: 100%;
    width: 100%;
    font-size: 16px;
    color: #666;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
    padding-top: 60px;
    background: #fff;
}
.container{
    padding: 0px 15px;
}

/* 顶部相关开始 */
.navbar-brand {
    line-height: 60px;
    padding: 0px 15px;
}

.navbar-white {
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.navbar-white .navbar-header {
    width: 100%;
}

.navbar-white .navbar-brand {
    width: 100%;
    text-align: center;
    height: 60px;
    font-size: 1em;
}

.navbar-white .navbar-nav {
    height: 60px;
    display: flex;
    align-items: center;
    display: none;
}

.navbar-white .navbar-nav > li {
    display: flex;
    align-items: center;
    height: 60px;
}

.navbar-white .navbar-nav > li > a {
    line-height: 1;
    color: #555;
    padding: 0 15px;
    border-right: 1px solid #e0e0e0;
}

.navbar-white .navbar-nav > li:last-child > a {
    border-right: none;
}

.navbar-white .navbar-nav > li > a:hover {
    color: #007bff;
}

.nav-hotline {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 15px;
    color: #ff6b6b;
}

.nav-hotline .glyphicon {
    margin-right: 5px;
    color: #ff6b6b;
}

.nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

/* 顶部相关结束 */

/* 底部相关开始 */
.footer {
    background-color: #222222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-top: 0px;
}

.footer p {
    margin: 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.5);
}

.footer a:hover {
    color: #fff;
}
/* 底部相关结束 */

/* 左右布局开始 */
.left-sidebar {
    display: none;
}

/* 左右布局结束 */

/* 空记录状态 */
.empty-state {
    text-align: center;
    padding: 15px;
    color: #999;
    position: relative;
}

.empty-state img {
    width: 95%;
    height: auto;
}

.empty-state p {
    position: absolute;
    top: 65%;
    left: 15px;
    right: 15px;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover, a:focus {
    text-decoration: none;
}

a:active,
a:focus {
    border: none;
    outline: none;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}
.pagination > li > a, .pagination > li > span {
    height: 2em;
    line-height: 1.9em;
    min-width: 2em;
    padding: 0px;
}

.pagination-section {
    text-align: center;
    padding: 15px;
}

.pagination {
    justify-content: center;
    margin: 0;
}

.pagination .page-item .page-link {
    color: #666;
    border-radius: 5px;
    margin: 0 2px;
    border: 1px solid #e0e0e0;
}

.pagination .page-item.active .page-link {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
}

/* 登录弹窗样式 */
.login-modal {
    padding: 20px;
}

.login-modal .modal-form {
    padding: 10px 0;
}

.login-modal .form-group {
    margin-bottom: 20px;
}

.login-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9em;
}

.login-modal .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 0.9em;
    background: #f8f8f8;
}

.login-modal .form-input:focus {
    outline: none;
    border-color: #ff6b6b;
    background: #fff;
}

.login-modal .slider-verify {
    position: relative;
    width: 100%;
    height: 40px;
    background: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
    user-select: none;
}

/* 任务一：提示文字标签 */
.login-modal .slider-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.85em;
    z-index: 1;
}

/* 任务二：滑块滑过的区域背景色 */
.login-modal .slider-track {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    border-radius: 5px;
    height: 100%;
    background: #ffd9d9;
    z-index: 2;
}

.login-modal .slider-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    font-size: 0.9em;
    z-index: 3;
    user-select: none;
}

.login-modal .slider-btn:hover {
    background: #f8f8f8;
}

.login-modal .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.login-modal .radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
}

.login-modal .radio-label input[type="radio"] {
    margin-right: 5px;
}

.login-modal .form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
}

.login-modal .submit-btn {
    width: 100%;
    padding: 15px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-modal .submit-btn:hover {
    background: #ff5252;
}

/* layer 弹窗自定义样式 */
.layer-login-skin .layui-layer-title {
    background: #f5f5f5;
    color: #333;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
}

.layer-login-skin .layui-layer-content {
    padding: 0;
    font-size: 1em;
}

.layer-login-skin .layui-layer-btn{
    text-align: center;
    font-size: 1em;
}

@media (min-width: 768px) and (max-width: 1200px) {
    html, body {
        font-size: 24px;
    }

    .empty-state img {
        width: 65%;
    }
}

@media (min-width: 1024px) and (max-width: 1200px){
    html, body {
        font-size: 32px;
    }

    .empty-state img {
        width: 65%;
    }
}

@media (min-width: 1200px) {
    html, body {
        font-size: 16px;
    }

    .navbar-white .navbar-nav {
        display: block;
    }

    .navbar-white .navbar-header {
        width: 300px;
    }

    .navbar-white .navbar-brand {
        text-align: left;
    }

    .user-layout {
        display: flex;
        margin-bottom: 15px;
    }

    .empty-state img {
        width: 45%;
    }

    .pagination > li > a, .pagination > li > span {
        height: 44px;
        line-height: 44px;
        min-width: 44px;
    }
    
    /* 左侧导航 */
    .left-sidebar {
        display: block;
        width: 220px;
        background: #fff;
        padding: 15px 0;
        margin-top: 15px;
        border-radius: 0.5em;
    }
    
    .sidebar-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .sidebar-menu li {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        color: #666;
        cursor: pointer;
        transition: background 0.3s;
        border-left: 3px solid transparent;
    }
    
    .sidebar-menu li.active {
        background: #fff;
        color: #ff6b6b;
        border-left-color: #ff6b6b;
    }
    
    .sidebar-menu li .glyphicon {
        margin-right: 10px;
        font-size: 0.9em;
    }

    /* 右侧内容区域 */
    .right-content {
        flex: 1;
    }
}