/* project.bsf-go.com specific styles */

:root {
    --bsf-primary: #0056b3;
    --bsf-secondary: #ff8c00;
    
    /* Light Theme */
    --bg-main: #f3f2ef; /* LinkedIn-like background */
    --bg-card: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --hover-bg: #f3f4f6;
    --link-color: #0a66c2;
}

[data-theme="dark"] {
    --bsf-primary: #3b82f6;
    --bsf-secondary: #f97316;
    
    /* Dark Theme */
    --bg-main: #000000;
    --bg-card: #1d2226;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --hover-bg: #374151;
    --link-color: #71b7fb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

/* Layout */
.project-container {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}

.layout-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .layout-wrapper {
        grid-template-columns: 250px 1fr;
    }
}

@media (min-width: 1024px) {
    .layout-wrapper {
        grid-template-columns: 250px 1fr 300px;
    }
}

/* Cards & Components */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    transition: background-color 0.3s, border-color 0.3s;
}

.feed-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.feed-header {
    padding: 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.feed-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bsf-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-right: 12px;
}

.feed-meta {
    flex: 1;
}

.feed-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.feed-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

.feed-body {
    padding: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-main);
}

.feed-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
}

.btn-action {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-action:hover {
    background-color: var(--hover-bg);
    color: var(--text-main);
}

.btn-primary {
    display: inline-block;
    background-color: var(--bsf-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #004494;
    color: white;
}
[data-theme="dark"] .btn-primary:hover {
    background-color: #2563eb;
}

/* Sidebars */
.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background-color: var(--hover-bg);
    color: var(--text-main);
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    background-color: var(--hover-bg);
    color: var(--text-main);
}

.badge-primary {
    background-color: rgba(10, 102, 194, 0.1);
    color: var(--link-color);
}
[data-theme="dark"] .badge-primary {
    background-color: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

a { color: var(--link-color); text-decoration: none; }
a:hover { text-decoration: underline; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
