/* Pinboard Style CSS */
body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 0;
    background: white;
    color: #333;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles */
.pinboard-header {
    background: #f5f5f5;
    border-bottom: 1px solid #ccc;
    padding: 8px 15px;
}

.header-top {
    margin-bottom: 5px;
}

.site-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.username {
    font-size: 13px;
    color: #666;
}

.header-nav {
    font-size: 13px;
}

.header-nav a {
    color: #0066cc;
    margin: 0 2px;
}

.header-search {
    margin-top: 8px;
}

.search-form {
    font-size: 13px;
}

.search-form label {
    color: #666;
    margin-right: 5px;
}

.search-form input[type="text"] {
    padding: 2px 4px;
    border: 1px solid #ccc;
    font-size: 13px;
}

.search-mine, .search-all {
    padding: 2px 8px;
    margin-left: 5px;
    border: 1px solid #ccc;
    background: #f0f0f0;
    font-size: 12px;
    cursor: pointer;
}

.search-mine:hover, .search-all:hover {
    background: #e0e0e0;
}

/* Main Container */
.pinboard-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    gap: 20px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 200px;
    flex-shrink: 0;
}

/* Page Header */
.page-header {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.page-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.rss-link {
    float: right;
    font-size: 12px;
    color: #0066cc;
}

/* Bookmark Controls */
.bookmark-controls {
    margin-bottom: 15px;
    font-size: 13px;
}

.bookmark-controls a {
    color: #0066cc;
}

/* Bookmark List */
.bookmarks-list {
    margin-bottom: 20px;
}

.bookmark-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.bookmark-item:last-child {
    border-bottom: none;
}

.bookmark-header {
    margin-bottom: 3px;
}

.bookmark-title {
    font-size: 13px;
    font-weight: bold;
    color: #0066cc;
    margin-right: 8px;
}

.bookmark-url {
    font-size: 12px;
    color: #666;
}

.bookmark-description {
    font-size: 13px;
    color: #333;
    margin: 3px 0;
    line-height: 1.4;
}

.bookmark-meta {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.bookmark-tags {
    margin-right: 10px;
}

.bookmark-tags .tag {
    color: #0066cc;
    margin-right: 3px;
}

.bookmark-date {
    margin-right: 5px;
}

.bookmark-user {
    color: #0066cc;
    margin: 0 3px;
}

.copy-link {
    color: #0066cc;
    font-size: 11px;
    margin-left: 5px;
}

/* No bookmarks message */
.no-bookmarks {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Pagination */
.pagination {
    margin-top: 20px;
    text-align: left;
    font-size: 13px;
}

.pagination a {
    color: #0066cc;
}

/* Sidebar */
.sidebar {
    font-size: 12px;
}

.section-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 3px;
}

/* Tag Cloud */
.tag-cloud {
    margin-bottom: 20px;
}

.tag-cloud .tags {
    line-height: 1.6;
}

.tag-cloud .tag {
    color: #0066cc;
    margin-right: 8px;
    font-size: 12px;
}

.tag-cloud .tag.size-1 { font-size: 10px; }
.tag-cloud .tag.size-2 { font-size: 11px; }
.tag-cloud .tag.size-3 { font-size: 12px; }
.tag-cloud .tag.size-4 { font-size: 13px; }
.tag-cloud .tag.size-5 { font-size: 14px; }
.tag-cloud .tag.size-6 { font-size: 15px; }

.view-all {
    margin-top: 8px;
    font-size: 11px;
}

.view-all a {
    color: #0066cc;
}

/* Stats */
.stats {
    margin-bottom: 20px;
}

.stat-line {
    margin-bottom: 3px;
}

.stat-label {
    color: #666;
}

.stat-value {
    color: #333;
    font-weight: bold;
}

/* Following List */
.following-list {
    margin-bottom: 20px;
}

.user-item {
    margin-bottom: 5px;
}

.username {
    color: #0066cc;
    margin-right: 5px;
}

.remove-link {
    color: #999;
    font-size: 10px;
}

.no-following {
    color: #666;
    font-style: italic;
}

/* Network Stats */
.network-stats {
    margin-bottom: 20px;
}

/* Forms */
input[type="text"], input[type="email"], input[type="password"], textarea {
    padding: 4px 6px;
    border: 1px solid #ccc;
    font-size: 13px;
    font-family: Verdana, Arial, sans-serif;
}

input[type="submit"], button {
    padding: 4px 12px;
    border: 1px solid #ccc;
    background: #f0f0f0;
    font-size: 12px;
    cursor: pointer;
    font-family: Verdana, Arial, sans-serif;
}

input[type="submit"]:hover, button:hover {
    background: #e0e0e0;
}

/* Footer */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid #ccc;
    padding: 20px 0;
    background: #f5f5f5;
    font-size: 11px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .pinboard-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .sidebar {
        width: auto;
        order: -1;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-search {
        margin-top: 10px;
    }
}

/* Pinboard-style URL patterns */
.tag-header {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
}

.tag-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.tag-stats {
    color: #666;
    font-size: 0.9rem;
}

/* Tag cloud styles */
.tag-size-1 { font-size: 11px; }
.tag-size-2 { font-size: 12px; }
.tag-size-3 { font-size: 14px; }
.tag-size-4 { font-size: 16px; }
.tag-size-5 { font-size: 18px; }
.tag-size-6 { font-size: 20px; }

.pinsurf-tagcloud a {
    margin-right: 0.5rem;
    line-height: 1.8;
    color: #0066cc;
}

.pinsurf-tagcloud a:hover {
    text-decoration: underline;
}

/* User profile enhancements */
.profile-header h1 span {
    font-weight: normal;
}

/* Tag filtering indication */
.current-tag-filter {
    background: #fff3cd;
    padding: 0.5rem 1rem;
    border: 1px solid #ffeaa7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Related tags section */
.related-tags {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 4px;
}

.related-tags h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #666;
}

.tag-list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    padding: 0.25rem 0.5rem;
    background: #e0e0e0;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
}

.tag-link:hover {
    background: #d0d0d0;
    text-decoration: none;
}