/*
Theme Name: Daige
*/
body { 
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sidebar Styles - Based on User Reference Image */

/* Archives (List Style inside Card) */
.sidebar-archives ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}

.sidebar-archives ul li:last-child {
    border-bottom: none;
}

.sidebar-archives ul li:hover {
    background-color: #f9fafb; /* gray-50 */
}

.sidebar-archives ul li a {
    color: #1f2937; /* gray-800 */
    font-weight: 600;
    text-decoration: none;
    flex-grow: 1;
}

.sidebar-archives ul li span {
    color: #9ca3af; /* gray-400 */
    font-size: 0.875rem; /* 14px */
}


/* Cloud Style (Categories & Tags - Floating Buttons) */

/* Target the <li> elements if Z-Blog outputs a list, or <a> if div */
.sidebar-cloud li {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-cloud a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #374151; /* gray-700 */
    padding: 8px 16px;
    border-radius: 12px; /* Smooth rounded corners */
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Hover Effect for Cloud Items */
.sidebar-cloud a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    color: #3b82f6; /* blue-500 */
}

/* Count inside Cloud Items (if present) */
.sidebar-cloud a span {
    display: none; /* Often cleaner to hide count in tag cloud, or style it minimally */
}

/* Specific Tweak for Tags (Smaller, more compact) */
#divTags .sidebar-cloud a {
    padding: 6px 12px;
    font-size: 0.8125rem; /* 13px */
    color: #4b5563;
}

#divTags .sidebar-cloud a:hover {
    background-color: #3b82f6;
    color: white;
}

/* Category Specific Tweaks (Larger, bold) */
#divCatalog .sidebar-cloud a {
    min-width: 80px;
    text-align: center;
}
