/* HBK ORCID Publications Styles */

:root {
    --hbk-primary: #1a1a2e;
    --hbk-secondary: #16213e;
    --hbk-accent: #0f3460;
    --hbk-highlight: #e94560;
    --hbk-text: #2d3436;
    --hbk-text-light: #636e72;
    --hbk-bg: #ffffff;
    --hbk-card-bg: #f8f9fa;
    --hbk-border: #e0e0e0;
    --hbk-shadow: rgba(0, 0, 0, 0.08);
}

/* Container */
.hbk-orcid-publications {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Filter Buttons */
.hbk-orcid-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.hbk-filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--hbk-border);
    background: var(--hbk-bg);
    color: var(--hbk-text);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hbk-filter-btn:hover {
    border-color: var(--hbk-accent);
    color: var(--hbk-accent);
    transform: translateY(-2px);
}

.hbk-filter-btn.active {
    background: var(--hbk-primary);
    border-color: var(--hbk-primary);
    color: white;
}

/* Publication List */
.hbk-orcid-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Publication Card */
.hbk-publication-card {
    background: var(--hbk-bg);
    border: 1px solid var(--hbk-border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hbk-publication-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--hbk-accent), var(--hbk-highlight));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hbk-publication-card:hover {
    box-shadow: 0 10px 30px var(--hbk-shadow);
    transform: translateY(-3px);
    border-color: var(--hbk-accent);
}

.hbk-publication-card:hover::before {
    opacity: 1;
}

/* Card Header */
.hbk-pub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hbk-pub-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hbk-accent);
    background: rgba(15, 52, 96, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.hbk-pub-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--hbk-highlight);
    background: rgba(233, 69, 96, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Title */
.hbk-pub-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--hbk-text);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

/* Journal */
.hbk-pub-journal {
    font-size: 14px;
    color: var(--hbk-text-light);
    margin: 0 0 16px 0;
    font-style: italic;
}

/* Links */
.hbk-pub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hbk-border);
}

.hbk-pub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hbk-doi-link {
    background: var(--hbk-card-bg);
    color: var(--hbk-text) !important;
    border: 1px solid var(--hbk-border);
}

.hbk-doi-link:hover {
    background: var(--hbk-accent);
    color: white !important;
    border-color: var(--hbk-accent);
}

.hbk-view-link {
    background: linear-gradient(135deg, #e94560, #ff6b6b) !important;
    color: white !important;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.3);
}

.hbk-view-link:hover {
    background: linear-gradient(135deg, #ff6b6b, #e94560) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.4);
    transform: translateX(3px);
}

/* Error State */
.hbk-orcid-error {
    text-align: center;
    padding: 40px;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 12px;
    color: #c53030;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hbk-publication-card {
    animation: fadeIn 0.4s ease forwards;
}

.hbk-publication-card:nth-child(1) {
    animation-delay: 0.05s;
}

.hbk-publication-card:nth-child(2) {
    animation-delay: 0.1s;
}

.hbk-publication-card:nth-child(3) {
    animation-delay: 0.15s;
}

.hbk-publication-card:nth-child(4) {
    animation-delay: 0.2s;
}

.hbk-publication-card:nth-child(5) {
    animation-delay: 0.25s;
}

/* Responsive */
@media (max-width: 768px) {
    .hbk-orcid-publications {
        padding: 10px;
    }

    .hbk-publication-card {
        padding: 18px;
    }

    .hbk-pub-title {
        font-size: 16px;
    }

    .hbk-pub-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hbk-pub-links {
        flex-direction: column;
    }

    .hbk-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .hbk-orcid-publications {
        --hbk-text: #f5f5f5;
        --hbk-text-light: #b0b0b0;
        --hbk-bg: #1e1e1e;
        --hbk-card-bg: #2d2d2d;
        --hbk-border: #404040;
        --hbk-shadow: rgba(0, 0, 0, 0.3);
    }
}

/* ========================================
   YÖKSİS DATA STYLES
   ======================================== */

.hbk-yoksis-container {
    margin: 2rem 0;
    font-family: inherit;
}

.hbk-yoksis-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hbk-yoksis-tab {
    padding: 12px 24px;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hbk-yoksis-tab:hover {
    border-color: #0f3460;
    color: #0f3460;
}

.hbk-yoksis-tab.active {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-color: #e94560;
    color: white;
}

.hbk-yoksis-content {
    display: none;
}

.hbk-yoksis-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hbk-yoksis-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hbk-yoksis-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #0f3460, #e94560);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hbk-yoksis-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #0f3460;
}

.hbk-yoksis-card:hover::before {
    opacity: 1;
}

.hbk-yoksis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hbk-yoksis-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f3460;
    background: rgba(15, 52, 96, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.hbk-yoksis-date {
    font-size: 14px;
    font-weight: 700;
    color: #e94560;
    background: rgba(233, 69, 96, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.hbk-yoksis-title {
    margin: 0 0 0.75rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.hbk-yoksis-meta {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.hbk-yoksis-status {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: white !important;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hbk-yoksis-empty {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-style: italic;
}