/* ==========================================================================
   app.css — TaskBoard custom styles
   Built on Bootstrap 5.3 with a warm mineral color palette.
   
   DESIGN TOKENS:
   --starter-ink:       #1d2a38 (dark text)
   --starter-soft:      #5c6b77 (secondary text)
   --starter-line:      rgba(29,42,56,0.1) (borders/dividers)
   --starter-surface:   rgba(255,255,255,0.92) (card backgrounds)
   --starter-bg-top:    #f6efe2 (warm beige top of gradient)
   --starter-bg-bottom: #dcebf0 (cool blue bottom of gradient)
   --starter-primary:   #156f63 (teal — primary action color)
   --starter-primary-dark: #0f564d (darker teal for hover states)
   ========================================================================== */

:root {
    --starter-ink: #1d2a38;
    --starter-soft: #5c6b77;
    --starter-line: rgba(29, 42, 56, 0.1);
    --starter-surface: rgba(255, 255, 255, 0.92);
    --starter-bg-top: #f6efe2;
    --starter-bg-bottom: #dcebf0;
    --starter-primary: #156f63;
    --starter-primary-dark: #0f564d;
}

body {
    margin: 0;
    font-family: "Public Sans", sans-serif;
    color: var(--starter-ink);
    background: linear-gradient(180deg, var(--starter-bg-top) 0%, var(--starter-bg-bottom) 100%);
    min-height: 100vh;
}

/* -- Links -- */
a {
    color: var(--starter-primary-dark);
    text-decoration: none;
}

a:hover {
    color: var(--starter-primary);
}

/* -- Navbar -- */
.starter-nav {
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid var(--starter-line);
    backdrop-filter: blur(12px);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--starter-ink);
}

.nav-link {
    color: var(--starter-soft);
    font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
    color: var(--starter-ink);
}

/* -- Buttons -- */
.btn-primary {
    background: var(--starter-primary);
    border-color: var(--starter-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--starter-primary-dark);
    border-color: var(--starter-primary-dark);
}

/* -- Cards and panels -- */
.hero-panel,
.surface-card {
    border-radius: 24px;
    border: 1px solid var(--starter-line);
    background: var(--starter-surface);
    box-shadow: 0 24px 60px rgba(29, 42, 56, 0.08);
    overflow: hidden;
    padding: 1.5rem 2rem;
}

.hero-panel {
    padding: 2rem;
}

.eyebrow {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(21, 111, 99, 0.1);
    color: var(--starter-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.text-secondary {
    color: var(--starter-soft) !important;
}

/* -- Info cards (used in dashboard stats) -- */
.info-card,
.starter-note {
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid var(--starter-line);
    background: rgba(255, 255, 255, 0.66);
}

/* -- Lists -- */
.starter-list {
    padding-left: 1.1rem;
}

.starter-list li + li {
    margin-top: 0.55rem;
}

code {
    color: inherit;
}

/* -- Tables -- */
.table {
    border-color: var(--starter-line);
}

.table th {
    font-weight: 600;
    color: var(--starter-soft);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom-width: 1px;
}

/* -- Badges -- */
.badge {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* -- List groups -- */
.list-group-item {
    border-color: var(--starter-line);
}

/* -- Form controls -- */
.form-control:focus,
.form-select:focus {
    border-color: var(--starter-primary);
    box-shadow: 0 0 0 0.2rem rgba(21, 111, 99, 0.15);
}

/* -- Typography -- */
.display-5 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.display-6 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* -- Kanban board columns -- */
.kanban-col {
    border-radius: 18px;
    border: 1px solid var(--starter-line);
    background: rgba(255, 255, 255, 0.45);
    min-height: 400px;
    overflow: hidden;
}

.kanban-col-header {
    padding: 1rem 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid var(--starter-line);
}

.kanban-todo {
    background: rgba(108, 117, 125, 0.08);
}

.kanban-in-progress {
    background: rgba(255, 193, 7, 0.1);
}

.kanban-done {
    background: rgba(25, 135, 84, 0.1);
}

.kanban-col-body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kanban-card {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--starter-line);
    background: var(--starter-surface);
    box-shadow: 0 4px 12px rgba(29, 42, 56, 0.06);
    transition: box-shadow 0.2s;
}

.kanban-card:hover {
    box-shadow: 0 8px 24px rgba(29, 42, 56, 0.12);
}

/* -- Responsive adjustments -- */
@media (max-width: 767px) {
    .hero-panel,
    .surface-card {
        border-radius: 20px;
    }
}

/* -- Honeypot anti-bot field (hidden from humans) -- */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* -- TinyMCE content (descriptions rendered on show pages) -- */
.surface-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
