body {
    background-color: #f8f9fa;
    font-family: 'Microsoft YaHei', sans-serif;
}





/* 验证码样式 */
.captcha-image {
    height: 38px;
    border: 1px solid #ced4da;
    border-left: none;
    cursor: pointer;
}

.input-group #refreshCaptcha {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}




/* 登录页面样式 */
.login-page {
    background-color: #f8f9fa;
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}

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

.login-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-card .card-header {
    border-radius: 10px 10px 0 0 !important;
}

.login-card .form-control:focus {
    border-color: #2575fc;
    box-shadow: 0 0 0 0.25rem rgba(37, 117, 252, 0.25);
}


/* 查询页面样式 */
.query-card {
    max-width: 600px;
    margin: 50px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: none;
}

/* 后台管理样式 */
.sidebar {
    min-height: 100vh;
    padding: 20px;
    position: fixed;
    width: 16.666667%;
}

.main-content {
    margin-left: 16.666667%;
    width: 83.333333%;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link i {
    margin-right: 10px;
}

.table th {
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        min-height: auto;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
}