/* Tag Page Styles */

/* Term Header Styles (for both categories and tags) */
.term-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    width: 100%;
}

.term-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.3;
}

.term-stats {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.3125;
}

.stat-item {
    display: inline-block;
}

.stat-separator {
    margin: 0 5px;
    color: var(--text-muted);
}

.follow-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.3125;
}

.follow-button:hover {
    background-color: var(--primary-hover);
}

.follow-button.following {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.follow-button.following:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.follow-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .term-title {
        font-size: 20px;
    }

    .term-stats {
        font-size: 13px;
    }

    .follow-button {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .stat-separator {
        margin: 0 5px;
    }
}
