/* 期刊搜索 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
}
.journContainer {
    min-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #163A61;
    margin-bottom: 30px;
    height: 64px;
    width: 100%;
    box-shadow: 0px 4px 12px 0px rgba(129, 125, 117, 0.04), 0px 4px 8px 0px rgba(129, 125, 117, 0.08), 0px 4px 4px 0px rgba(129, 125, 117, 0.08);
}

.nav {
    font-size: 16px;
    display: flex;
}

.nav a {
    margin-right: 20px;
    color: #FFF;
    text-decoration: none;
}

.nav a.active{
    color: #F09708;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.filter-group {
    display: none;
    margin-right: 20px;
    /* margin-bottom: 10px; */
    /* display: flex; */
    align-items: start;
}

.filter-group label {
    display: block;
    /* margin-bottom: 5px; */
    font-size: 14px;
    color: #666;
    margin-right: 10px;

}

.filter-group input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    width: 80px;
    height: 20px;
}
.filter-group input:focus{
    outline: none !important;
}

.filter-group .if-confirm{
    margin-left: 6px;
    font-size: 12px;
    padding: 0 4px;
    cursor: pointer;
}

/* 新添加的选项按钮样式 */
.option-group {
    display: flex;
    flex-direction: row;
    margin-right: 30px;
}

.option-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    text-align: left;
    width: 100px;
}

.option-items {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    width: calc(100% - 90px);
}

.option-item {
    padding: 0 8px;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.option-item:hover {
    color: #007AFF;
}

.option-item.selected {
    color: #007AFF;
}

.oa-list-wrap{
    margin-left: 130px;
    width: 40%;
}

.oa-list-wrap .option-title{
    width: 70px;
}

/* .oa-list-wrap .option-items{
    margin-left: 40px;
} */

/* .oa-list-wrap  */

.search-box {
    display: flex;
    margin-top: 20px;
    max-width: 50%;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    overflow: hidden;
}

.search-box.focused {
    border: 1px solid #007AFF;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd !important;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-box input:focus,
.search-box input:focus-visible,
.search-box input:focus-within {
    outline: none !important;      /* 移除轮廓线（Chrome/Firefox/Edge 等） */
    box-shadow: none !important;   /* 移除阴影（如 Bootstrap 等框架可能添加的） */
    border-color: initial; /* 恢复默认边框颜色（可选） */
}

.search-box button {
    padding: 10px 20px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
}

.search-box button:hover {
    background: #007AFF;
    color: white;
    border-color: #007AFF;
}

.pagination button:hover:not(.active) {
    background: #f5f5f5;
}

.journal-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.journal-table th, .journal-table td {
    padding: 16px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.journal-table td{
    color: #666;
}
.journal-table tbody{
    font-size: 12px;
}

.journal-table th {
    background-color: #fafafa;
    font-weight: 500;
    color: #333;
}

.journal-table tr:hover {
    background-color: #f5f5f5;
}

.text-right{
    text-align: right !important;
    padding-right: 30px !important;
}

.journal-name{
    color: #007AFF;
    cursor: pointer;
    text-decoration: none;
}

.order-box{
    display: inline-block;
    margin-left: 6px;
    position: relative;
    top: 3px;
}
.order-box .up, .order-box .down{
    position: relative;
    width: 10px;
    height: 8px;
    line-height: 12px;
    cursor: pointer;
}
.order-box .down{
    margin-top: 2px;
}
.order-box .up img, .order-box .down img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: inline;
}

.oa-yes {
    color: #52c41a;
}

.oa-no {
    color: #f5222d;
}

.cost-yes {
    color: #faad14;
}

.container{
    min-width: 1200px;
    margin: 0 auto;
    width: 80%;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 20px;
    padding: 20px 10px 20px 0;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.page-btn:hover {
    border-color: #007AFF;
    color: #007AFF;
}

.page-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
}

.page-btn.disabled:hover {
    border-color: #eee;
    color: #ccc;
}

.page-btn.active {
    background-color: #007AFF;
    border-color: #007AFF;
    color: white;
}

.page-ellipsis {
    width: 36px;
    height: 36px;
    margin: 0 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
}

.nonew-line{
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}