:root {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --col-bg: #111827;
    --text: #f8fafc;
    --muted: #94a3b8;
    --border: #334155;
    --primary: #38bdf8;
    --danger: #f43f5e;
    --bug: #ef4444;
    --feature: #10b981;
    --techdebt: #f59e0b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 1rem 2rem;
    background: var(--col-bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    flex: 1;
    overflow-x: auto;
}

.column {
    background: var(--col-bg);
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
}

.col-header {
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.cards-list {
    padding: 0.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-bug {
    background: var(--bug);
    color: #fff;
}

.badge-feature {
    background: var(--feature);
    color: #fff;
}

.badge-tech_debt {
    background: var(--techdebt);
    color: #000;
}

.badge-p {
    background: #475569;
    color: #fff;
}

.card-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted);
    align-items: center;
}

.branch-tag {
    font-family: monospace;
    background: #0f172a;
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.card-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 0.25rem;
    align-items: center;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-body {
    background: var(--col-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 420px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--muted);
}

.form-control {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 4px;
    padding: 0.5rem;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    padding: 3rem;
}

.auth-card-wrapper {
    display: flex;
    justify-content: center;
}

.auth-form-box {
    width: 100%;
    max-width: 400px;
}

.upcoming-features {
    background: var(--col-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
}

.upcoming-features h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.upcoming-features ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.upcoming-features li {
    color: var(--muted);
    font-size: 0.85rem;
}

.error {
    color: var(--danger);
    font-size: .85rem;
}

.landing-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    flex: 1;
}

.info-panel {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-hero h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.info-hero p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}