/* 主样式 */
body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #495057;
    background-color: #f8f9fa;
}

.login-page {
    background-color: #f8f9fa;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 15px;
}

.login-box {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo i {
    color: #007bff;
}

/* 主内容区 */
.content-wrapper {
    margin-left: 250px;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* 侧边栏 */
.main-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    z-index: 1038;
    transition: all 0.3s;
}

.sidebar {
    height: calc(100vh - 110px);
    overflow-y: auto;
}

/* 卡片样式 */
.card {
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

/* 小工具样式 */
.small-box {
    border-radius: 5px;
    position: relative;
    display: block;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    color: #fff;
}

.small-box:hover {
    text-decoration: none;
    color: #fff;
}

.small-box .icon {
    transition: all .3s linear;
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
    font-size: 70px;
    color: rgba(0,0,0,0.15);
}

.small-box:hover .icon {
    font-size: 75px;
}

/* 表格样式 */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .content-wrapper {
        margin-left: 0;
    }
    
    .main-sidebar {
        transform: translateX(-250px);
    }
}