/* 通用样式 */
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

a {
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* 导航栏 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
}

/* 卡片 */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: bold;
}

.list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem 1.25rem;
}

.list-group-item:first-child {
    border-top: none;
}

/* 折叠组件 */
.collapse-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.collapse-toggle .toggle-icon {
    transition: transform 0.3s ease;
}

.collapse-toggle[aria-expanded="false"] .toggle-icon {
    transform: rotate(180deg);
}

/* 税种和办理事项样式 */
.bg-soft-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-radius: 20px;
    padding: 4px 10px;
}

.bg-soft-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border-radius: 20px;
    padding: 4px 10px;
}

/* 税种分类列表样式 */
#taxTypeCollapse .list-unstyled li, 
#handlingMatterCollapse .list-unstyled li {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

#taxTypeCollapse .list-unstyled li:last-child,
#handlingMatterCollapse .list-unstyled li:last-child {
    border-bottom: none;
}

#taxTypeCollapse .list-unstyled li:hover,
#handlingMatterCollapse .list-unstyled li:hover {
    background-color: #f8f9fa;
}

#taxTypeCollapse .list-unstyled li a,
#handlingMatterCollapse .list-unstyled li a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    flex-grow: 1;
    padding: 8px 0;
}

#taxTypeCollapse .list-unstyled li a:hover,
#handlingMatterCollapse .list-unstyled li a:hover {
    color: #007bff;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

/* Jumbotron */
.jumbotron {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 搜索框 */
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: #80bdff;
}

/* 徽章 */
.badge {
    font-weight: normal;
    padding: 0.4em 0.6em;
}

.badge-primary {
    background-color: #007bff;
}

.badge-info {
    background-color: #17a2b8;
}

/* 分页 */
.pagination .page-link {
    color: #007bff;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* 案例详情页 */
.case-content, .policy-support {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 页脚 */
footer {
    margin-top: 3rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .breadcrumb {
        padding: 0.5rem 0;
    }
}

/* 登录页面 */
.login-form {
    max-width: 400px;
    margin: 0 auto;
}

/* 高亮显示搜索结果 */
.bg-warning {
    background-color: #ffffcc !important;
    padding: 2px;
}

/* 按钮动效 */
.btn {
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* 点赞和分享按钮 */
.btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
} 