/* ============================================================================
 * shared/onboarding/kubernetes-join/style.css
 * ----------------------------------------------------------------------------
 * Migrated to zen v0.1 (dual-classes). Component styling is inherited from
 * zen/components/*.css — this file holds module-specific positioning and
 * the K8s cluster decorative wrapper only.
 * ============================================================================ */

/* ── Cluster K8s container (visuel : rectangle pointillé englobant Pod + API) */
.k8s-cluster {
    position: absolute;
    left: 4%; top: 22%;
    width: 40%; height: 60%;
    border: 1.5px dashed rgba(59, 130, 246, 0.45);
    border-radius: 16px;
    z-index: 0;
    pointer-events: none;
}
.k8s-cluster-label {
    position: absolute;
    top: -14px; left: 18px;
    background: var(--bg);
    padding: 2px 10px;
    font-size: 0.75rem;
    color: var(--blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}
.k8s-cluster-logo {
    position: absolute;
    top: 12px; right: 14px;
    width: 30px; height: 30px;
    color: var(--blue);
    opacity: 0.55;
}

/* ── Pod agent (dans le cluster) ────────────────────────────────────────── */
#box-pod {
    left: 8%; top: 38%;
    width: 16%; height: 26%;
}
#box-pod h3 { color: var(--orange); }
#box-pod .sub {
    font-size: 0.78rem; color: var(--gray);
    font-family: 'Courier New', monospace;
}

/* ── K8s API Server (dans le cluster) ───────────────────────────────────── */
#box-k8sapi {
    left: 27%; top: 32%;
    width: 15%; height: 22%;
}
#box-k8sapi h3 { color: var(--blue); }
#box-k8sapi .sub {
    font-size: 0.74rem; color: var(--gray);
    font-family: 'Courier New', monospace;
}

/* ── Proxy Service ──────────────────────────────────────────────────────── */
#box-proxy {
    left: 52%; top: 30%;
    width: 16%; height: 40%;
}
#box-proxy .sub {
    font-size: 0.8rem; color: var(--gray);
    font-family: 'Courier New', monospace;
}

/* ── Auth Service ───────────────────────────────────────────────────────── */
#box-auth {
    left: 78%; top: 38%;
    width: 16%; height: 26%;
}
#box-auth h3 { color: var(--green); }
#box-auth .sub {
    font-size: 0.8rem; color: var(--gray);
    font-family: 'Courier New', monospace;
}

/* ── Terminal (logs du pod) ─────────────────────────────────────────────── */
#box-term {
    left: 4%; top: 4%;
    width: 40%; height: 16%;
    font-size: 0.8rem;
}
#box-term .tbody,
#box-term .zen-term__body {
    padding: 8px 12px;
    line-height: 1.55;
    font-size: 0.82rem;
}

/* ── Token card ─────────────────────────────────────────────────────────── */
#tok {
    min-width: 160px;
    text-align: center;
    letter-spacing: 0.3px;
}

/* ── Notes pro/con (HUD reveal à la fin) ────────────────────────────────── */
.o-notes {
    position: fixed;
    left: 50%; bottom: 92px;
    transform: translateX(-50%);
    display: flex; gap: 24px;
    z-index: 10;
    opacity: 0; transition: opacity 0.6s;
    pointer-events: none;
}
.o-notes.show { opacity: 1; }
.o-note {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    background: rgba(13, 17, 23, 0.8);
    font-family: 'Courier New', monospace;
}
.o-note.pro { color: var(--green);  border-color: rgba(0,230,118,0.4); }
.o-note.con { color: var(--yellow); border-color: rgba(251,191,36,0.4); }

/* ── Check icon inside the status pill (replaces the "✓" emoji) ─────────── */
.zen-status__check {
    width: 10px; height: 10px;
    margin-left: 4px;
    vertical-align: -1px;
    stroke-width: 2.5;
}
