/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: #f4f7fe;
    color: #333;
        background-image: url('../img/cp/zt_bj.png'); /* A placeholder, replace with the actual wave image */
    background-size: cover;
}
html {
  font-size: 16px !important;
}
.background-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
 

    z-index: -1;
    opacity: 0.5;
}

.containergbk2 {
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 20px;
    

}

/* Header */
.main-header {
    text-align: center;
    margin-bottom: 20px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
 
}

.logo {
    width: 90px; /* Adjust as needed */
    height: 90px; /* Adjust as needed */
    margin-right: 20px;
}

.main-header h1 {
    font-size: 2.5rem;
    color: #357AC0;
    letter-spacing: -0.56px;



font-weight: 600;


    margin: 0;
}

.search-bar {
    display: flex;
    border: 2px solid #357AC0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 40px;
}

.search-bar input {
    flex-grow: 1;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    outline: none;
}
/* self修改 */
.search-bar button {
    background-color: #357AC0;
    color: white;
    border: none;
    padding: 5px 30px;
    cursor: pointer;
    font-size: 1.1rem;
}

.search-bar button:hover {
    background-color: #1565c0;
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    gap: 30px;
}

/* Sidebar */
.sidebar {
     width: 28%;
    /* width: 300px; */
    flex-shrink: 0;
}

.widget {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.2rem;
    color: #357AC0;
    margin: 0 15px;
    white-space: nowrap;
}

.title-line-left,
.title-line-right {
    /* width: 35%; */
}

/* .title-line-right {
    transform: scaleX(-1);
} */

.widget p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #171717;
    text-indent: 1.5rem;




font-style: normal;
font-weight: 400;

letter-spacing: -0.176px;
}

/* Subscription Form */
.subscription-form .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.subscription-form .category-item {
    width: calc(35% - 10px);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    padding-top: 5px;
    min-height: 25px;
}

.subscription-form input[type="checkbox"] {
    margin-right: 5px;
}

.subscription-form .input-group {
    display: flex;
    align-items: center;
    position: relative;

   
    margin-bottom: 10px;
    height: 40px; /* 统一高度 */
    overflow: hidden; /* 防止子元素溢出 */
    border-radius:  6px;
border: 1px solid  #EBEBEB;


/* regular-shadow常规阴影/x-small */
box-shadow: 0 1px 2px 0 rgba(10, 13, 20, 0.03);
}

.subscription-form .input-group .iconfont {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 1;
}

.subscription-form .input-group input {
    /* flex-grow: 1; */
    border: none;
    outline: none;
    background-color: transparent;
    padding: 8px 8px 8px 35px;
    height: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
    width: 70%;
}

.subscription-form .btn-get-code {
    white-space: nowrap;
    font-size: 0.9rem;
    /* padding: 0 15px; */
    border: none;
    border-left: 1px solid #ddd;
    background-color: transparent;
    cursor: pointer;
    color: #335CFF;
    height: 100%;
    flex-shrink: 0;
    height: 10px;
    line-height: 6px;
}

.subscription-form .form-actions {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-top: 15px;
}

.subscription-form .btn {
    padding: 8px 0;
    flex: 1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-cancel {
    background-color: #e0e0e0;
    color: #333;
}

.btn-subscribe {
    background-color: #357AC0;
    color: white;
}

.btn-my-subscription {
    background-color: #4caf50;
    color: white;
}

.reading-points {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
   
}
 .reading-points .active {
        color: #357AC0 !important;
   
    }
.reading-points li {
    margin-bottom: 15px;
}

.reading-points .point-title {
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
}

.reading-points .point-address {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.reading-points .point-address img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.map img {
    width: 100%;
    border-radius: 4px;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
    position: relative;
    min-height: 1140px;//self
}

.tabs-container {
    position: relative;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    position: relative;
}

.tab-link {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 2px solid transparent;
}

.tab-link.active {
    color: #357AC0;
    border-bottom-color: #357AC0;
}
/* self修改 */
.gazette-status {
    width: 99px;
    height: 30px;
    position: absolute;
    right: 0;
    top: -6px;
    z-index: 1;
    /* transform: translateY(-50%); */
   
    color: #999;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 自定义标签栏 */
.custom-tabs-header {
    /* position: relative; */
    display: flex;
    height: 40px;
    z-index: 10;
    box-sizing: border-box;
    background: #ecf3fc;
    /* margin-bottom: 20px; */
  
}

/* 单个标签样式 */
.custom-tab {
    position: relative;
    flex: 1;
    max-width: 200px;
    height: 40px;
    margin-right: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: visible;
}

/* 标签内容区域 */
.tab-contents {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #5C5C5C;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    height: 40px !important;
    font-size: 18px;
}


/* 激活状态通用样式 */
.custom-tab.active {
    top: -10px;
    transform: translateY(0);
   background: linear-gradient(0deg, #FFF 49.06%, #E2F0FF 97.86%);
stroke-width: 1px;
stroke: #FFF;
border-top-left-radius: 6px;
    height: 60px;
}

.activelabe {
    color: #357AC0 !important;
    font-size: 20px;
    font-weight: 700;
}

.activelabe::after {
    content: '';
    position: absolute;
    width: 34px;
    height: 25px;
    background-image: url('../img/cp/icon-tab-text.png');
    background-size: cover;
    top: 21px;
    right: 26%;
}
/* 不同激活状态的斜切效果 */
.custom-tab.active.active1::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 100%;
    background: inherit;
    transform: skewX(14deg);
    border-radius: 0 5px 0 0;
}

.custom-tab.active.active2::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 100%;
    background: inherit;
    transform: skewX(14deg);
    border-radius: 0 5px 0 0;
}

.custom-tab.active.active2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 20px;
    height: 100%;
    background: inherit;
    transform: skewX(-14deg);
    border-radius: 5px 0 0 0;
}

.custom-tab.active.active3::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 20px;
    height: 100%;
    background: inherit;
    transform: skewX(-14deg);
    border-radius: 5px 0 0 0;
}

.document-section h3 {
    font-size: 1.1rem;
    color: #171717;
    border-left: 4px solid #357AC0;
    padding-left: 10px;
    letter-spacing: -0.27px;
    margin-bottom: 15px;

   
}

.document-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-section li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 15px;
}

.meta-info {
    /* display: flex;
    align-items: center;
    justify-content: flex-end; */
    width: 150px; /* Adjust width as needed */
    flex-shrink: 0;
}

.document-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #7B7B7B;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.document-section li:hover::before {
    background-color: #357AC0;
}

.document-section li:last-child {
    border-bottom: none;
}

.document-section a {
    flex-grow: 1;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}

.document-section a:hover {
    color: #357AC0;
}

.document-section .date {
    flex-shrink: 0;
    width: 100px;
    text-align: right;
    margin-left: 20px;
    font-size: 0.9rem;
    color: #999;
}

.document-section .tag-ban {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    text-align: center;
    margin-left: 15px;
    background-color: #C0DB22;
    color: #fff;
    font-size: 0.8rem;

    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.document-section .special-link {
    color: #357AC0;
    font-weight: 500;
}

.document-section li:has(a.special-link)::before {
    background-color: #357AC0;
}

.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.archive-filter select {
    padding: 8px 30px 8px 12px;
    border: 1px solid #357AC0;
    border-radius: 4px;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.41 0.590088L6 5.17009L10.59 0.590088L12 2.00009L6 8.00009L0 2.00009L1.41 0.590088Z' fill='%23357AC0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: #357AC0;
}

.archive-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-generated {
    background-color: #FFECEC;
    color: #F56C6C;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.pdf-download {
color: #A3A3A3;



font-size: 14px;

font-weight: 400;
    /* text-decoration: none; */
    display: flex;
    align-items: center;
    gap: 5px;
}

.pdf-download .iconfont {
    font-size: 14px;

}



/* Right Column */
.right-column {
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
     html {
        font-size: 14px; /* 在中等屏幕上缩小基准字体 */
    }

    .content-wrapper {
        flex-direction: column-reverse;
    }

    .sidebar {
        width: 100%;
    }

    .main-header h1 {
        font-size: 1.5rem;
    }

    .header-top {
        justify-content: flex-start;
    }

    .search-bar {
        width: 100%;
    }
    
    .background-wave {
        background-size: cover;
    }
}
