/* ══════════════════════════════════════════════════════════════════════
   seeTheCodeChatlogStyles.css
   TNT | See the Code | Chatlog
   Created: 11/06/2026
   Color identity: Matrix green #00b800
   ══════════════════════════════════════════════════════════════════════ */

:root {
    --stc-green:      #00b800;
    --stc-green-dim:  rgba(0, 184, 0, 0.10);
    --stc-bg:         #020a02;
    --stc-mid:        #061206;
    --stc-card:       #071a07;
    --stc-border:     rgba(0, 184, 0, 0.16);
    --stc-light:      rgba(200, 240, 200, 0.88);
    --stc-muted:      rgba(200, 240, 200, 0.45);
    --stc-amber:      #f5a623;
}

body {
    background: var(--stc-bg);
    color: var(--stc-light);
    font-family: 'Inter', sans-serif;
}

/* ── Back bar ─────────────────────────────────────────────────────── */
.stc-back-bar {
    background: #010301;
    padding: 0.55rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 2px solid var(--stc-green);
    font-size: 0.88rem;
}

.stc-back-bar a { color: var(--stc-green); font-weight: 700; text-decoration: none; transition: color 0.15s; }
.stc-back-bar a:hover { color: #fff; }
.stc-back-label { color: rgba(255,255,255,0.28); font-size: 0.80rem; font-style: italic; }

/* ── Hero ─────────────────────────────────────────────────────────── */
#hero {
    min-height: 32vh;
    background:
        linear-gradient(to right, rgba(2,10,2,1) 0%, rgba(2,10,2,0.88) 18%, rgba(0,40,0,0.68) 50%, rgba(2,10,2,0.88) 82%, rgba(2,10,2,1) 100%),
        url('../../images/cipherMatrix.jpg') center 35% / cover no-repeat;
    background-color: #010301;
    padding: 3.5rem 1rem 2.5rem;
    border-bottom: 1px solid var(--stc-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content { text-align: center; max-width: 700px; margin: 0 auto; }

.hero-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--stc-green);
    margin-bottom: 0.5rem;
    opacity: 0.88;
}

.hero-title {
    font-family: 'Boogaloo', cursive;
    font-size: clamp(1.9rem, 5vw, 3rem);
    color: #fff;
    margin-bottom: 0.55rem;
    text-shadow: 0 0 20px rgba(0,184,0,0.22);
    line-height: 1.12;
}

.hero-title .stc-accent { color: var(--stc-green); }

.hero-subtitle {
    font-size: clamp(0.88rem, 2vw, 1rem);
    color: var(--stc-muted);
    line-height: 1.65;
}

.hero-subtitle a { color: var(--stc-green); text-decoration: none; font-weight: 700; }
.hero-subtitle a:hover { color: #fff; }

/* ── Log container ────────────────────────────────────────────────── */
.log-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

/* ── Aside box ────────────────────────────────────────────────────── */
.aside-box {
    background: var(--stc-card);
    border: 1px solid var(--stc-border);
    border-left: 4px solid var(--stc-green);
    border-radius: 0 10px 10px 0;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: var(--stc-muted);
    line-height: 1.72;
}

.aside-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--stc-green);
    margin-bottom: 0.65rem;
}

.aside-box a { color: var(--stc-green); text-decoration: none; font-weight: 700; }
.aside-box a:hover { color: #fff; }

/* ── Log divider ──────────────────────────────────────────────────── */
.log-divider {
    text-align: center;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 184, 0, 0.50);
    margin: 2rem 0 1.1rem;
    position: relative;
}

.log-divider::before, .log-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28%;
    height: 1px;
    background: rgba(0,184,0,0.16);
}

.log-divider::before { left: 0; }
.log-divider::after  { right: 0; }

/* ── SPARK banners ────────────────────────────────────────────────── */
.spark-banner {
    border-radius: 9px;
    padding: 0.9rem 1.15rem;
    margin-bottom: 1.1rem;
    display: flex;
    gap: 0.85rem;
    font-size: 0.88rem;
    line-height: 1.65;
    align-items: flex-start;
}

.spark-icon { font-size: 1.3rem; flex-shrink: 0; padding-top: 0.05rem; }

.spark-s { background: rgba(0,184,0,0.10); border-left: 4px solid var(--stc-green); color: rgba(200,240,200,0.88); }
.spark-p { background: rgba(50,128,204,0.10); border-left: 4px solid #3280cc; color: rgba(200,224,242,0.88); }
.spark-a { background: rgba(245,166,35,0.10); border-left: 4px solid var(--stc-amber); color: rgba(255,235,185,0.88); }
.spark-k { background: rgba(156,85,230,0.10); border-left: 4px solid #9c55e6; color: rgba(230,200,255,0.88); }

/* ── Chat turns ───────────────────────────────────────────────────── */
.chat-turn {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.3rem;
    align-items: flex-start;
}

.chat-speaker {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.22em 0.65em;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 0.45rem;
    white-space: nowrap;
}

.speaker-user { background: rgba(0,184,0,0.20); color: var(--stc-green); }

.chat-bubble {
    font-size: 0.88rem;
    line-height: 1.74;
    padding: 0.9rem 1.15rem;
    border-radius: 0 10px 10px 10px;
}

.bubble-user { background: rgba(0,184,0,0.08); border: 1px solid rgba(0,184,0,0.20); color: rgba(200,240,200,0.88); }
.bubble-user p:last-child { margin-bottom: 0; }
.bubble-user code { background: rgba(0,184,0,0.15); color: #7dff7d; padding: 1px 5px; border-radius: 3px; font-size: 0.87em; }

/* ── Critique box ─────────────────────────────────────────────────── */
.critique-box {
    background: rgba(245,166,35,0.07);
    border: 1px solid rgba(245,166,35,0.22);
    border-left: 4px solid var(--stc-amber);
    border-radius: 0 10px 10px 0;
    padding: 1.15rem 1.4rem;
    margin-bottom: 1.3rem;
    font-size: 0.88rem;
    line-height: 1.74;
    color: rgba(255,255,255,0.80);
    position: relative;
}

.critique-label {
    font-weight: 700;
    font-size: 0.87rem;
    color: var(--stc-amber);
    margin-bottom: 0.85rem;
}

.prompt-grade {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-family: 'Boogaloo', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.grade-a      { color: var(--stc-green); }
.grade-a-plus { color: #40ff40; }
.grade-a-minus{ color: #80d880; }
.grade-b-plus { color: var(--stc-amber); }
.grade-b      { color: #e0a030; }

.prompt-check {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    font-size: 0.88rem;
    line-height: 1.68;
}

.check-icon { flex-shrink: 0; font-size: 0.95rem; padding-top: 0.1rem; }

/* ── Decision box ─────────────────────────────────────────────────── */
.decision-box {
    background: var(--stc-card);
    border: 1px solid var(--stc-border);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1.3rem;
    font-size: 0.88rem;
    color: var(--stc-muted);
    line-height: 1.72;
}

.decision-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--stc-green);
    margin-bottom: 0.65rem;
}

.decision-box code { background: rgba(0,184,0,0.14); color: #7dff7d; padding: 1px 5px; border-radius: 3px; font-size: 0.87em; }
.decision-box a    { color: var(--stc-green); text-decoration: none; font-weight: 700; }
.decision-box a:hover { color: #fff; }

/* ── Code snap ────────────────────────────────────────────────────── */
pre.code-snap {
    background: #010f01;
    border: 1px solid rgba(0,184,0,0.18);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.82rem;
    color: #7dff7d;
    overflow-x: auto;
    margin: 0.65rem 0;
    white-space: pre-wrap;
}

/* ── Bottom nav buttons ───────────────────────────────────────────── */
.log-container .text-center a { margin: 0.2rem; }
