/* WorkCircle Design System — Calm, minimal, builder-focused */

:root {
    --wc-bg: #f8f7f4;
    --wc-surface: #ffffff;
    --wc-border: #e8e5df;
    --wc-text: #1a1915;
    --wc-muted: #6b6860;
    --wc-accent: #3d6b4f;       /* Forest green — calm, grounded */
    --wc-accent-hover: #2e5340;
    --wc-accent-light: #edf3ef;
    --wc-warn: #c47a1e;
    --wc-danger: #b84040;
    --wc-rep: #c47a1e;
    --wc-radius: 10px;
    --wc-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }

body.wc-body {
    background: var(--wc-bg);
    color: var(--wc-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---- Navbar ---- */
.wc-navbar {
    background: var(--wc-surface);
    border-bottom: 1px solid var(--wc-border);
    padding: .75rem 0;
}
.wc-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--wc-accent) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wc-logo-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--wc-accent);
    border-radius: 50%;
}
.wc-navbar .nav-link {
    color: var(--wc-text) !important;
    font-weight: 500;
}
.wc-navbar .nav-link:hover { color: var(--wc-accent) !important; }

/* Right cluster (Log in / Join, profile links): vertical alignment */
.wc-navbar .navbar-nav.ms-auto .nav-link {
    display: inline-flex;
    align-items: center;
}

/* Join: .wc-btn-sm + Bootstrap .nav-link padding stacked badly; normalize */
.wc-navbar .nav-link.wc-btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0;
}

/* ---- Cards ---- */
.wc-card {
    background: var(--wc-surface);
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius);
    box-shadow: var(--wc-shadow);
}

/* ---- Buttons ---- */
.wc-btn-primary {
    background: var(--wc-accent);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background .15s;
}
.wc-btn-primary:hover { background: var(--wc-accent-hover); }

.wc-btn-outline {
    background: transparent;
    color: var(--wc-accent) !important;
    border: 1.5px solid var(--wc-accent);
    border-radius: 6px;
    font-weight: 600;
}
.wc-btn-outline:hover { background: var(--wc-accent-light); }

.wc-btn-ghost {
    background: transparent;
    color: var(--wc-muted) !important;
    border: 1.5px solid var(--wc-border);
    border-radius: 6px;
}
.wc-btn-ghost:hover { border-color: var(--wc-muted); }

.wc-btn-sm {
    padding: .25rem .75rem;
    font-size: .85rem;
    border-radius: 5px;
    border: 1.5px solid var(--wc-accent);
    color: var(--wc-accent);
    font-weight: 600;
    text-decoration: none;
}

/* ---- Form inputs ---- */
.wc-input:focus {
    border-color: var(--wc-accent);
    box-shadow: 0 0 0 3px rgba(61,107,79,.15);
    outline: none;
}

/* ---- Links ---- */
.wc-link { color: var(--wc-accent); text-decoration: none; font-weight: 500; }
.wc-link:hover { text-decoration: underline; }
.wc-link-dark { color: var(--wc-text); text-decoration: none; font-weight: 600; }
.wc-link-dark:hover { color: var(--wc-accent); }

/* ---- Hero ---- */
.wc-hero { padding-top: 3rem; padding-bottom: 3rem; }

/* ---- Badges ---- */
.wc-tag-badge {
    background: var(--wc-accent-light);
    color: var(--wc-accent);
    font-weight: 500;
    border-radius: 4px;
}
.wc-circle-badge {
    background: var(--wc-accent-light);
    color: var(--wc-accent);
    font-size: .8rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
}
.wc-circle-badge:hover { background: var(--wc-accent); color: #fff; }
.wc-joined-badge {
    background: var(--wc-accent);
    color: #fff;
    font-size: .75rem;
    border-radius: 4px;
}
.wc-rep-badge {
    display: inline-block;
    background: #fef3e2;
    color: var(--wc-rep);
    font-weight: 600;
    font-size: .85rem;
    padding: 4px 12px;
    border-radius: 20px;
}
.wc-rep-micro {
    background: #fef3e2;
    color: var(--wc-rep);
    font-size: .75rem;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 600;
}

/* ---- Profile ---- */
.wc-avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--wc-accent);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wc-status-box {
    background: var(--wc-accent-light);
    border-left: 3px solid var(--wc-accent);
    font-size: .9rem;
}

/* ---- Threads ---- */
.wc-thread-item {
    background: var(--wc-surface);
    border: 1px solid var(--wc-border);
    transition: border-color .15s;
}
.wc-thread-item:hover { border-color: var(--wc-accent); }
.wc-reply-card {
    background: var(--wc-bg);
    border: 1px solid var(--wc-border);
}

/* ---- Manifesto / Strikethrough ---- */
.wc-manifesto {
    background: var(--wc-accent-light);
    border: 1px solid #c9dbd1;
}
.wc-strike-badge {
    background: #fff;
    border: 1px solid var(--wc-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .9rem;
    color: var(--wc-muted);
    text-decoration: line-through;
}

/* ---- Misc ---- */
.wc-divider { border-color: var(--wc-border); }
.wc-icon { font-size: 2rem; }
.wc-in-progress-dot { color: var(--wc-warn); font-weight: 600; }
.wc-empty-state { color: var(--wc-muted); }
.wc-body-text { line-height: 1.75; }
.wc-footer { background: var(--wc-surface); border-top: 1px solid var(--wc-border); }
