[v-cloak] {
    display: none;
}

* {
    box-sizing: border-box;
    margin: 0;
}

#app {
    width: 100%;
}

/* 问政列表 */
#loginContent {
    position: absolute;
    left: initial;
    right: 40px;
    top: 4px;
    font-size: 16px;
    display: flex;
    width: max-content;
    align-items: center;
    z-index: 2000;
}

.qa-container {
    width: 1280px;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
}

.qa-list {
    /* flex: 1; */
    width: 926px;
    margin-top: 70px;
    background: #FFFFFF;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.08);
    margin-right: 10px;
    padding: 0 20px;
}

.qa-list .el-tabs__item {
    min-width: 100px;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
}

.qa-list .el-tabs__item.is-active span {
    display: inline-block;
    width: 60px;
    height: 20px;
    line-height: 20px;
    background: linear-gradient(0deg, rgba(222, 54, 47, .3), #fff 100%);
    border-radius: 8px;
    color: #DE362F;
}

.qa-list .el-tabs__active-bar {
    top: 0;
    background: #D7001D;
}

.qa-list .el-tabs__nav-wrap::after {
    display: none;
}

.qa-list .scroll-container {
    width: 100%;
    height: 616px;
    position: relative;
}

.qa-list .table-header {
    display: flex;
    height: 46px;
    background: #F2F2F2;
    border-radius: 6px;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    position: sticky;
    top: 0;
}

.qa-list .table-cell {
    height: 46px;
    line-height: 46px;
    text-align: left;
    padding: 4px;
}

.qa-list .table-title {
    /* flex: 1; */
    width: 485px;
    padding-left: 30px;
    display: flex;
    cursor: pointer;
}

.qa-list .table-title .group-name {
    color: #A20002;
}

.qa-list .table-title .qa-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qa-list .table-groupName {
    width: 100px;
}

.qa-list .table-aStatus {
    width: 100px;
}

.qa-list .table-publishtime {
    width: 180px;
}

.qa-list .table-body {
    font-weight: 400;
    font-size: 14px;
    color: #333333;
    height: 530px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.qa-list .table-body .table-row:nth-child(2n) {
    background: #F9F9F9;
    border-radius: 6px;
}

.qa-list .table-body .table-row {
    display: flex;
}

.qa-list .table-body .table-row:hover {
    background-color: #f5f7fa;
}

/* 分页 */
.scroll-container .el-pagination .el-pagination__total,
.el-pagination .el-pager li {
    font-size: 14px;
    color: #949596;
}

.el-pagination .el-pager li.active {
    background: #F9E9EB;
    border-radius: 4px;
    color: #D7001D;
}

.el-pagination .el-pager .number {
    min-width: 20px;
    margin: 0 5px;
}

.qa-list .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading {
    text-align: center;
    margin-top: 20px;
    color: #999;
}

/* 我的问政 */
.qa-submit {
    width: 350px;
}

.qa-submit .to-qa {
    width: 330px;
    height: 70px;
    line-height: 70px;
    background: url('../img/qa/qa_button.png') no-repeat;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    color: #FFFEFE;
    cursor: pointer;
    margin: 0 auto;
}

.qa-submit .my-qa-list {
    margin-top: 3px;
    width: 350px;
    height: 676px;
    background: url('../img/qa/my_qa_bg.png') no-repeat;
    padding: 26px 30px;
    position: relative;
}

.qa-submit .my-qa-list h3 {
    font-weight: 400;
    font-size: 16px;
    color: #000000;
}

.qa-submit .my-qa-list .login-box {
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    letter-spacing: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qa-submit .my-qa-list .login-box span {
    color: #D7001D;
    cursor: pointer;
}

.my-qa-list .scroll-container {
    width: 100%;
    height: 600px;
    overflow-y: auto;
}

.my-qa-list .my-qa-item {
    width: 100%;
    height: 70px;
    padding: 10px 0;
}

.my-qa-list .my-qa-item .my-qa-title {
    height: 30px;
    font-weight: 400;
    font-size: 14px;
    color: #333333;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.my-qa-item .my-qa-title .item-icon {
    width: 8px;
    height: 8px;
    background: rgba(197, 44, 41, 0);
    border-radius: 50%;
    border: 2px solid #C52C29;
    margin-right: 6px;
}

.my-qa-item .my-qa-title .qa-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-qa-item .my-qa-info {
    display: flex;
    padding-left: 20px;
    align-items: center;
}

.my-qa-item .my-qa-info .my-qa-time {
    font-weight: 400;
    font-size: 14px;
    color: #666666;
}

.my-qa-item .my-qa-info .my-qa-status {
    font-weight: 400;
    font-size: 12px;
    margin-left: 14px;
}

.my-qa-item .my-qa-info .my-qa-status-1 {
    color: #E66476;
}

.my-qa-item .my-qa-info .my-qa-status-3 {
    color: #92c100;
}

.my-qa-item .my-qa-info .my-qa-status-2,
.my-qa-item .my-qa-info .my-qa-status-4,
.my-qa-item .my-qa-info .my-qa-status-5 {
    color: #666666;
}

/* 问政详情 */
.qa-detail-container {
    max-width: 1280px;
    min-width: 1000px;
    margin: 20px auto 0;
    padding: 0 20px;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
}

.qa-detail-container .qa-detail-header {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding-left: 26px;
    margin: 40px 0 25px 0;
    font-weight: 400;
    font-size: 18px;
    color: #000000;
    background: url('../img/qa/qa_header_bg.png') no-repeat;
    background-size: 48px 48px;
}

.qa-detail-container .qa-detail-content {
    border: 1px solid #eee;
}

.qa-detail-content .qa-detail-section {
    width: 100%;
    display: flex;
    border-bottom: 1px solid #eee;
}

.qa-detail-content .qa-detail-section .qa-detail-label {
    width: 200px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAFA;
    border-right: 1px solid #eee;
}

.qa-detail-content .qa-detail-section .qa-detail-value {
    flex: 1;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.qa-detail-content .qa-detail-section .qa-detail-value:last-child {
    border: none;
}

.qa-detail-section .qa-detail-attachments {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.qa-detail-attachments .attachment-item {
    width: 160px;
    height: 160px;
    margin: 5px;
    box-sizing: border-box;
}

.qa-detail-attachments .attachment-item img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.qa-detail-attachments .attachment-item video {
    width: 160px;
    height: 160px;
    border-radius: 8px;
}

/* 提交问政 */
.qa-submit-container {
    width: 800px;
    margin: 20px auto 0;
    padding: 0 20px;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
}

.qa-submit-container .qa-submit-header {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding-left: 26px;
    margin: 40px 0 25px 0;
    font-weight: 400;
    font-size: 18px;
    color: #000000;
    background: url('../img/qa/qa_header_bg.png') no-repeat;
    background-size: 48px 48px;
}

.qa-submit-container .el-radio__input.is-checked .el-radio__inner {
    border-color: #D7001D;
    background: #D7001D;
}

.qa-submit-container .el-radio__input.is-checked+.el-radio__label {
    color: #D7001D;
}

.qa-submit-container .el-textarea .el-input__count {
    right: 16px;
}

.qa-submit-footer {
    text-align: center;
}

.qa-submit-footer .el-button--primary {
    width: 200px;
    height: 48px;
    background: #D7001D;
    border-color: #D7001D;
}

.qa-submit-footer .el-button--primary:focus,
.qa-submit-footer .el-button--primary:hover {
    background: #c30b24;
    border-color: #c30b24;
    color: #FFF;
}

/* 滚动条轨道样式 */
.qa-container ::-webkit-scrollbar {
    width: 8px;
    /* 设置滚动条宽度 */
}

/* 滚动条滑块样式 */
.qa-container ::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* 滚动条轨道（背景）样式 */
.qa-container ::-webkit-scrollbar-track {
    background-color: transparent;
}

/* 滚动条轨道hover状态样式 */
.qa-container ::-webkit-scrollbar-track:hover {
    background-color: transparent;
    /* 设置轨道hover状态时的背景颜色 */
}

/* 滚动条滑块hover状态样式 */
.qa-container ::-webkit-scrollbar-thumb:hover {
    background-color: #c1c1c1;
    /* 设置滑块hover状态时的背景颜色 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 移动端布局调整 */
    .qa-container {
        width: 100%;
        max-width: 100%;
        margin: 10px auto 0;
        display: flex;
        flex-direction: column;
        padding: 0 10px;
    }

    .qa-list {
        width: 100%;
        margin-top: 50px;
        background: #FFFFFF;
        box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.08);
        margin-right: 0;
        margin-bottom: 20px;
        padding: 10px;
    }

    .qa-list .el-tabs__item {
        min-width: 80px;
        text-align: center;
        font-weight: 400;
        font-size: 14px;
        color: #666666;
    }

    .qa-list .el-tabs__item.is-active span {
        display: inline-block;
        width: 50px;
        height: 18px;
        line-height: 18px;
        background: linear-gradient(0deg, rgba(222, 54, 47, .3), #fff 100%);
        border-radius: 6px;
        color: #DE362F;
    }

    .qa-list .scroll-container {
        width: 100%;
        height: auto;
        min-height: 400px;
        position: relative;
    }

    /* 隐藏PC版表格，显示移动版卡片 */
    .pc-list {
        display: none;
    }

    .mobile-list {
        display: block;
    }

    /* 卡片式列表 */
    .qa-cards {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .qa-card {
        background: #F9F9F9;
        border-radius: 8px;
        padding: 15px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .qa-card:hover {
        background-color: #f5f7fa;
    }

    .qa-card-header {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .qa-card-header .group-name {
        color: #A20002;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .qa-card-header .qa-title {
        font-size: 16px;
        font-weight: 500;
        color: #333;
        line-height: 1.4;
    }

    .qa-card-body {
        font-size: 14px;
        color: #666;
    }

    .qa-card-body > div {
        margin-bottom: 5px;
    }

    /* 分页 */
    .scroll-container .el-pagination {
        text-align: center;
        margin-top: 20px;
    }

    .scroll-container .el-pagination .el-pagination__total,
    .el-pagination .el-pager li {
        font-size: 12px;
        color: #949596;
    }

    .el-pagination .el-pager li.active {
        background: #F9E9EB;
        border-radius: 4px;
        color: #D7001D;
    }

    .el-pagination .el-pager .number {
        min-width: 20px;
        margin: 0 3px;
    }

    .qa-list .loading {
        text-align: center;
        margin-top: 20px;
        color: #999;
    }

    /* 我的问政 */
    .qa-submit {
        width: 100%;
        margin-top: 20px;
    }

    .qa-submit .to-qa {
        width: 100%;
        height: 50px;
        line-height: 50px;
        background: url('../img/qa/qa_button.png') no-repeat center;
        background-size: cover;
        text-align: center;
        font-weight: 400;
        font-size: 16px;
        color: #FFFEFE;
        cursor: pointer;
        border-radius: 8px;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .qa-submit .my-qa-list {
        width: 100%;
        height: auto;
        min-height: 400px;
        background: url('../img/qa/my_qa_bg.png') no-repeat center top;
        background-size: cover;
        padding: 20px;
        border-radius: 8px;
        position: relative;
    }

    .qa-submit .my-qa-list h3 {
        font-weight: 400;
        font-size: 16px;
        color: #000000;
        margin-bottom: 15px;
    }

    .qa-submit .my-qa-list .login-box {
        font-weight: 400;
        font-size: 14px;
        color: #333333;
        letter-spacing: 1px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .qa-submit .my-qa-list .login-box span {
        color: #D7001D;
        cursor: pointer;
    }

    .my-qa-list .scroll-container {
        width: 100%;
        height: auto;
        max-height: 500px;
        overflow-y: auto;
    }

    .my-qa-list .my-qa-item {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .my-qa-list .my-qa-item:last-child {
        border-bottom: none;
    }

    .my-qa-list .my-qa-item .my-qa-title {
        height: auto;
        font-weight: 400;
        font-size: 14px;
        color: #333333;
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-bottom: 8px;
    }

    .my-qa-item .my-qa-title .item-icon {
        width: 6px;
        height: 6px;
        background: rgba(197, 44, 41, 0);
        border-radius: 50%;
        border: 2px solid #C52C29;
        margin-right: 8px;
        flex-shrink: 0;
    }

    .my-qa-item .my-qa-title .qa-title {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .my-qa-item .my-qa-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 14px;
    }

    .my-qa-item .my-qa-info .my-qa-time {
        font-weight: 400;
        font-size: 12px;
        color: #666666;
    }

    .my-qa-item .my-qa-info .my-qa-status {
        font-weight: 400;
        font-size: 12px;
        margin-left: 10px;
    }

    .my-qa-item .my-qa-info .my-qa-status-1 {
        color: #E66476;
    }

    .my-qa-item .my-qa-info .my-qa-status-3 {
        color: #92c100;
    }

    .my-qa-item .my-qa-info .my-qa-status-2,
    .my-qa-item .my-qa-info .my-qa-status-4,
    .my-qa-item .my-qa-info .my-qa-status-5 {
        color: #666666;
    }

    .loading {
        text-align: center;
        margin-top: 20px;
        color: #999;
    }

    /* 滚动条样式 */
    .qa-container ::-webkit-scrollbar {
        width: 6px;
    }

    .qa-container ::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }

    .qa-container ::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .qa-container ::-webkit-scrollbar-track:hover {
        background-color: transparent;
    }

    .qa-container ::-webkit-scrollbar-thumb:hover {
        background-color: #c1c1c1;
    }

    /* 问政详情移动端样式 */
    .qa-detail-container {
        max-width: 100%;
        min-width: auto;
        margin: 10px auto 0;
        padding: 0 10px;
        font-weight: 400;
        font-size: 14px;
        color: #000000;
    }

    .qa-detail-container .qa-detail-header {
        width: 100%;
        height: 40px;
        line-height: 40px;
        padding-left: 20px;
        margin: 20px 0 15px 0;
        font-weight: 400;
        font-size: 16px;
        color: #000000;
        background: url('../img/qa/qa_header_bg.png') no-repeat;
        background-size: 36px 36px;
        background-position: left center;
    }

    .qa-detail-container .qa-detail-content {
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
    }

    .qa-detail-content .qa-detail-section {
        width: 100%;
        display: block;
        border-bottom: 1px solid #eee;
    }

    .qa-detail-content .qa-detail-section:last-child {
        border-bottom: none;
    }

    .qa-detail-content .qa-detail-section .qa-detail-label {
        width: 100%;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        background: #FAFAFA;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 0 15px;
        font-weight: 500;
        font-size: 14px;
    }

    .qa-detail-content .qa-detail-section .qa-detail-value {
        flex: 1;
        padding: 15px;
        border-bottom: none;
        font-size: 14px;
        line-height: 1.5;
    }

    .qa-detail-section .qa-detail-attachments {
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
        justify-content: center;
    }

    .qa-detail-attachments .attachment-item {
        width: 120px;
        height: 120px;
        margin: 5px;
        box-sizing: border-box;
    }

    .qa-detail-attachments .attachment-item img,
    .qa-detail-attachments .attachment-item video {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }

    /* 提交问政移动端样式 */
    .qa-submit-container {
        width: 100%;
        max-width: 100%;
        margin: 10px auto 0;
        padding: 0 15px;
        font-weight: 400;
        font-size: 14px;
        color: #000000;
    }

    .qa-submit-container .qa-submit-header {
        width: 100%;
        height: 40px;
        line-height: 40px;
        padding-left: 20px;
        margin: 20px 0 15px 0;
        font-weight: 400;
        font-size: 16px;
        color: #000000;
        background: url('../img/qa/qa_header_bg.png') no-repeat;
        background-size: 36px 36px;
        background-position: left center;
    }

    .qa-submit-container .el-form-item {
        margin-bottom: 20px;
    }

    .qa-submit-container .el-form-item__label {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 8px;
        display: block !important;
        width: 100% !important;
        text-align: left;
    }

    .qa-submit-container .el-form-item__content {
        margin-left: 0 !important;
    }

    .qa-submit-container .el-input,
    .qa-submit-container .el-select,
    .qa-submit-container .el-textarea {
        width: 100%;
    }

    .qa-submit-container .el-radio-group {
        display: flex;
        gap: 20px;
    }

    .qa-submit-footer {
        text-align: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .qa-submit-footer .el-button--primary {
        width: 100%;
        max-width: 300px;
        height: 44px;
        background: #D7001D;
        border-color: #D7001D;
        font-size: 16px;
    }

    .qa-submit-footer .el-button--primary:focus,
    .qa-submit-footer .el-button--primary:hover {
        background: #c30b24;
        border-color: #c30b24;
        color: #FFF;
    }
}

@media (min-width: 769px) {
    /* PC端显示表格，隐藏卡片 */
    .pc-list {
        display: block;
    }

    .mobile-list {
        display: none;
    }
}