/* 期刊详情页样式 */

/* 期刊标题区域 */
.journal-detail-header {
    text-align: center;
    padding: 40px 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.journal-detail-header h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.journal-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.badge.core {
    background-color: #e74c3c;
    color: white;
}

.badge.monthly {
    background-color: #3498db;
    color: white;
}

.badge.impact {
    background-color: #2ecc71;
    color: white;
}

/* 本页导航 */
.page-navigation {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.page-navigation nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.page-navigation nav ul li {
    list-style: none;
}

.page-navigation nav ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.page-navigation nav ul li a:hover,
.page-navigation nav ul li a:focus {
    color: #3498db;
    background-color: #f8f9fa;
}

.page-navigation nav ul li a.active {
    color: #3498db;
    border-bottom-color: #3498db;
    background-color: #f0f7fc;
}

/* 主要内容区域 */
.journal-detail-content {
    margin-bottom: 50px;
}

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

.section-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #3498db;
}

/* 期刊信息区域 */
.journal-info-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.journal-cover-large {
    flex-shrink: 0;
    width: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cover-image {
    width: 100%;
    height: auto;
    display: block;
}

.journal-basic-info {
    flex: 1;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid #eee;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 12px 0;
    vertical-align: top;
}

.info-label {
    font-weight: 600;
    color: #555;
    width: 120px;
}

.info-value {
    color: #333;
    line-height: 1.6;
}

/* 期刊简介区域 */
.journal-intro-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* 收稿要求区域 */
.submission-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.submission-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.submission-item h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.submission-item h3 i {
    color: #2ecc71;
}

.submission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submission-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.6;
}

.submission-list li::before {
    content: "•";
    color: #3498db;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* 联系方式区域 */
.contact-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 20px;
    color: #3498db;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-text strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 3px;
}

.contact-text span,
.contact-text a {
    color: #666;
}

.contact-text a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* 在线投稿区域 */
.submission-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.submission-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23555' width='18px' height='18px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 文件上传样式 */
.file-upload {
    position: relative;
    overflow: hidden;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    opacity: 0;
    cursor: pointer;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 4px;
    color: #666;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.file-label:hover {
    background-color: #e9ecef;
    border-color: #3498db;
    color: #3498db;
}

/* 表单提交按钮 */
.form-submit {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn {
    background-color: #3498db;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
}

.submit-btn:hover {
    background-color: #2980b9;
}

.reset-btn {
    background-color: #95a5a6;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
}

.reset-btn:hover {
    background-color: #7f8c8d;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .journal-info-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .journal-cover-large {
        width: 240px;
    }
    
    .contact-info-box {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .journal-detail-header {
        padding: 30px 20px;
    }
    
    .journal-detail-header h1 {
        font-size: 28px;
    }
    
    .section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .page-navigation nav ul {
        flex-direction: column;
    }
    
    .page-navigation nav ul li a {
        border-bottom: 1px solid #eee;
        border-radius: 0;
    }
    
    .page-navigation nav ul li:last-child a {
        border-bottom: none;
    }
    
    .info-table {
        font-size: 14px;
    }
    
    .info-label {
        width: 100px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-submit {
        flex-direction: column;
    }
    
    .submit-btn,
    .reset-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .journal-detail-header h1 {
        font-size: 24px;
    }
    
    .journal-badges {
        gap: 10px;
    }
    
    .badge {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .section {
        padding: 15px;
    }
    
    .contact-info-box {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        padding: 12px;
    }
}

/* 投稿说明样式 */
.submission-notes {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin-top: 15px;
}

.notes-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.notes-header i {
    color: #3498db;
    font-size: 18px;
}

.notes-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
}

.notes-list {
    padding-left: 25px;
    margin: 0;
}

.notes-list li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.notes-list li:last-child {
    margin-bottom: 0;
}