/* Scientific Research Engine Styles */
.wshc-research-repo-portal {
    max-width: 1000px;
    margin: 40px auto;
    font-family: 'Inter', sans-serif;
}

.repo-header {
    text-align: center;
    margin-bottom: 50px;
}

.repo-header h1 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
}

.search-matrix-container {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.search-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-row input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.repo-grid {
    display: grid;
    gap: 25px;
}

.citation-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.citation-card:hover {
    border-color: #000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.citation-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 11px;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pub-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
}

.pub-meta {
    margin-bottom: 15px;
    font-size: 13px;
}

.pub-type {
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 10px;
}

.pub-abstract {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.pub-legacy {
    font-size: 12px;
    background: #fff9c4;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.pub-actions {
    display: flex;
    gap: 15px;
}

.download-pdf-btn, .copy-citation-btn {
    text-decoration: none;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9f9f9;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s;
}

.download-pdf-btn:hover, .copy-citation-btn:hover {
    background: #000;
    color: #fff;
}

.status-capsule.pending { background: #e3f2fd; color: #1976d2; }
.status-capsule.under_peer_review { background: #e8f5e9; color: #2e7d32; }
.status-capsule.needs_revision { background: #fff3e0; color: #f57c00; }
.status-capsule.published { background: #000; color: #fff; }
.status-capsule.rejected { background: #ffebee; color: #d32f2f; }
.status-capsule.restricted { background: #444; color: #fff; }
.status-capsule.needs_revision { background: #fff3e0; color: #f57c00; }
.status-capsule.under_peer_review { background: #e8f5e9; color: #2e7d32; }

.repo-placeholder {
    text-align: center;
    padding: 60px;
    color: #ccc;
}

.repo-placeholder .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
}
