﻿/* 学术检索页面专用样式 */
.academic-search-container {
    max-width: 1200px;
}

.academic-card {
    border-radius: 0;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.academic-card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    padding: 1rem 1.5rem;
}

    .academic-card-header h2 {
        font-size: 1.4rem;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
    }

    .academic-card-header p {
        font-size: 0.9rem;
        color: #7f8c8d;
        margin: 0.2rem 0 0;
    }

/* 检索行样式 */
.search-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.logic-operator {
    width: 100px;
    margin-right: 10px;
}

.search-field {
    width: 150px;
    margin-right: 10px;
}

.search-input {
    flex: 1;
}

/* 限定条件样式 */
.limit-conditions {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    border: 1px solid #eee;
}

.limit-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.limit-label {
    width: 100px;
    font-weight: 500;
    text-align: right;
    padding-right: 15px;
}

.limit-input {
    width: 120px;
    margin-right: 10px;
}

.limit-separator {
    width: 30px;
    text-align: center;
}

.limit-checkboxes {
    flex: 1;
}

/* 表单控件样式 */
.academic-select {
    border-radius: 3px;
    border: 1px solid #ccc;
    height: 38px;
    font-size: 0.9rem;
}

.academic-input {
    border-radius: 3px;
    border: 1px solid #ccc;
    height: 38px;
    font-size: 0.9rem;
    padding: 0.375rem 0.75rem;
}

.academic-textarea {
    border-radius: 3px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
}

/* 按钮样式 */
.academic-search-btn {
    padding: 0.5rem 2rem;
    font-weight: 500;
    border-radius: 3px;
    margin-right: 10px;
}

.academic-reset-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 3px;
}

.academic-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    margin: 0 5px;
    border-radius: 3px;
}

/* 专业检索语法帮助 */
.syntax-help table {
    font-size: 0.85rem;
}

.syntax-help th {
    background-color: #e9ecef;
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-row {
        flex-wrap: wrap;
    }

    .logic-operator,
    .search-field {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .limit-row {
        flex-wrap: wrap;
    }

    .limit-label {
        width: 100%;
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .limit-input {
        width: 45%;
    }
}
.search-row {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

    .search-row:hover {
        background-color: rgba(0, 0, 0, 0.02);
    }

    .search-row:not(:last-child) {
        margin-bottom: 0.8rem;
        border-bottom: 1px dashed #eee;
        padding-bottom: 0.8rem;
    }