:root {
    --bg: #0d1117;
    --bg-panel: #161b22;
    --bg-terminal: #0d1117;
    --text: #c9d1d9;
    --text-muted: #8b949e;
    --accent: #4caf50;
    --accent-green: #3fb950;
    --accent-red: #f85149;
    --accent-yellow: #d29922;
    --border: #30363d;
    --diff-basico: #3fb950;
    --diff-facil: #89b4fa;
    --diff-intermedio: #d29922;
    --diff-dificil: #fab387;
    --diff-experto: #f85149;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Menlo', monospace;
    background: var(--bg);
    color: var(--text);
    height: 100vh;
    overflow: hidden;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    background: var(--bg-panel);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(76,175,80,0.05);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

header h1 {
    font-size: 17px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.docker-official-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #f05033;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: 2px;
    transition: opacity 0.15s;
}

.docker-official-link:hover {
    opacity: 0.7;
}

.docker-official-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

#help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
}

#help-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(76,175,80,0.08);
}

.help-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

#status-bar {
    display: flex;
    gap: 8px;
    align-items: center;
}

#user-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px 3px 3px;
    border-radius: 20px;
    background: rgba(76,175,80,0.08);
    border: 1px solid rgba(76,175,80,0.25);
    transition: all 0.15s;
    cursor: pointer;
    position: relative;
}

#user-info:hover {
    background: rgba(76,175,80,0.15);
    border-color: rgba(76,175,80,0.4);
}

#user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

#user-name {
    font-size: 12px;
    color: var(--text);
    font-weight: 500;
    white-space: nowrap;
}

#user-info .chevron-icon {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}

#user-info:hover .chevron-icon {
    color: var(--text);
}

#user-menu.open ~ .chevron-icon,
#user-info:has(#user-menu.open) .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    margin-top: 6px;
    min-width: 160px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 4px;
    z-index: 100;
}

.dropdown-menu.open {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    transition: all 0.15s;
}

.dropdown-item:hover {
    background: rgba(248,81,73,0.1);
    color: var(--accent-red);
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

#session-status {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
}

/* Session chip — LED parpadeante */
#session-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px 3px 3px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    min-height: 30px;
}

#session-chip:hover {
    filter: brightness(1.15);
}

#session-chip .session-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 7px;
    margin-right: 3px;
}

#session-chip #session-label {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Estado: sesión activa — LED verde parpadeante */
.session-connected {
    background: rgba(63,185,80,0.08);
    border: 1px solid rgba(63,185,80,0.25);
}
.session-connected #session-label { color: var(--accent-green); }
.session-connected .session-led {
    background: var(--accent-green);
    box-shadow: 0 0 6px rgba(63,185,80,0.6);
    animation: led-pulse 2s ease-in-out infinite;
}

/* Estado: inactividad detectada — LED amarillo parpadeante */
.session-warning {
    background: rgba(210,153,34,0.08);
    border: 1px solid rgba(210,153,34,0.25);
}
.session-warning #session-label { color: var(--accent-yellow); }
.session-warning .session-led {
    background: var(--accent-yellow);
    box-shadow: 0 0 6px rgba(210,153,34,0.5);
    animation: led-pulse-warn 1s ease-in-out infinite;
}

@keyframes led-pulse-warn {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(210,153,34,0.5); }
    50% { opacity: 0.3; box-shadow: 0 0 2px rgba(210,153,34,0.2); }
}

/* Estado: desconectado / no autenticado — LED rojo sólido */
.session-disconnected {
    background: rgba(248,81,73,0.08);
    border: 1px solid rgba(248,81,73,0.2);
}
.session-disconnected #session-label { color: var(--accent-red); }
.session-disconnected .session-led {
    background: var(--accent-red);
    box-shadow: 0 0 4px rgba(248,81,73,0.4);
}

@keyframes led-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(63,185,80,0.6); }
    50% { opacity: 0.4; box-shadow: 0 0 3px rgba(63,185,80,0.3); }
}

button {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-panel);
    color: var(--text);
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
    transition: all 0.15s;
}

button:hover { border-color: var(--accent); color: var(--accent); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: #238636; color: #ffffff; border-color: #2ea043; font-weight: 600; }
.btn-primary:hover { background: #2ea043; color: #ffffff; }

#btn-logout {
    padding: 6px 14px;
    border: 1px solid rgba(248,81,73,0.3);
    border-radius: 6px;
    background: rgba(248,81,73,0.08);
    color: var(--accent-red);
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.15s;
}

#btn-logout:hover { background: rgba(248,81,73,0.15); border-color: var(--accent-red); }

#btn-login {
    background: #238636;
    color: #ffffff;
    border-color: #2ea043;
    font-weight: 600;
}

#btn-login:hover { background: #2ea043; color: #ffffff; }

main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

#sidebar {
    width: 300px;
    background: var(--bg-panel);
    border-right: 1px solid var(--border);
    padding: 16px;
    overflow-y: auto;
    flex-shrink: 0;
}

#sidebar h2 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#exercise-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.exercise-item {
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
}

.exercise-item:hover { background: rgba(137,180,250,0.1); }
.exercise-item.active { border-color: var(--accent); background: rgba(137,180,250,0.1); }

.exercise-item .ex-diff {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.diff-basico { color: var(--diff-basico); }
.diff-facil { color: var(--diff-facil); }
.diff-intermedio { color: var(--diff-intermedio); }
.diff-dificil { color: var(--diff-dificil); }
.diff-experto { color: var(--diff-experto); }

#level-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.level-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s;
}

.level-pill:hover {
    background: rgba(255,255,255,0.05);
}

.level-pill.active {
    border-color: currentColor;
    font-weight: 600;
}

.level-pill.empty {
    opacity: 0.35;
    cursor: default;
}

.level-pill.empty:hover {
    background: transparent;
}

.level-pill .pill-count {
    font-size: 10px;
    opacity: 0.7;
}

.level-pill.diff-basico { color: var(--diff-basico); }
.level-pill.diff-facil { color: var(--diff-facil); }
.level-pill.diff-intermedio { color: var(--diff-intermedio); }
.level-pill.diff-dificil { color: var(--diff-dificil); }
.level-pill.diff-experto { color: var(--diff-experto); }

#exercise-search {
    width: 100%;
    padding: 6px 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-terminal);
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    outline: none;
}

#exercise-search:focus {
    border-color: var(--accent);
}

#exercise-search::placeholder {
    color: var(--text-muted);
}

#exercise-actions {
    margin-bottom: 12px;
    
    display: flex;
    gap: 8px;
}

#exercise-actions button {
    margin: 0;
}

#verify-results {
    margin-top: 12px;
}

.check-item {
    padding: 6px 10px;
    margin: 4px 0;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-passed { background: rgba(166,227,161,0.1); color: var(--accent-green); }
.check-failed { background: rgba(243,139,168,0.1); color: var(--accent-red); }

#terminal-area {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-terminal);
    overflow: hidden;
}

#terminal-wrapper {
    flex: 2;
    padding: 12px;
    overflow: hidden;
    min-height: 0;
}

#terminal {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

#instructions-area {
    flex: 1;
    border-top: 1px solid var(--border);
    background: var(--bg-panel);
    overflow-y: auto;
    padding: 16px;
    min-height: 0;
    position: relative;
}

#instructions-area h3 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--accent);
}

#instructions-area .instr-desc {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.6;
}

#instructions-area .instr-section-title {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 12px 0 6px;
}

#instructions-area .instr-hint {
    font-family: monospace;
    font-size: 12px;
    color: var(--accent-yellow);
    margin: 2px 0;
}

#instructions-area .instr-diff {
    font-size: 11px;
    margin-bottom: 10px;
}

.muted { color: var(--text-muted); font-size: 13px; }

/* Graph panel */
#graph-sidebar {
    overflow-x: auto;
    width: 440px;
    background: var(--bg-panel);
    border-left: 1px solid var(--border);
    padding: 16px;
    overflow-y: auto;
    flex-shrink: 0;
    position: relative;
}

#graph-sidebar h2 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#graph-panel {
    width: 100%;
}

#graph-svg {
    width: 100%;
    height: 100%;
}

.docker-watermark-graph {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 259px;
    height: 259px;
    opacity: 0.06;
    pointer-events: none;
}

.md-watermark {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 180px;
    height: 180px;
    opacity: 0.06;
    pointer-events: none;
}


/* Onboarding modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
}

.modal-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
}

.modal-body {
    padding: 20px 24px;
}

.modal-body > p {
    text-align: justify;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.modal-info-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.15s;
}

.modal-info-item:hover {
    border-color: rgba(76,175,80,0.25);
}

.modal-info-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.modal-info-icon.led-green {
    background: var(--accent-green);
    box-shadow: 0 0 6px rgba(63,185,80,0.5);
}

.modal-info-icon.clock {
    background: rgba(210,153,34,0.15);
    border: 1px solid rgba(210,153,34,0.3);
}

.modal-info-icon.clock::after {
    content: '\23F0';
    font-size: 13px;
}

.modal-info-icon.exercise {
    background: rgba(137,180,250,0.15);
    border: 1px solid rgba(137,180,250,0.3);
}

.modal-info-icon.exercise::after {
    content: '\270F';
    font-size: 11px;
}

.modal-info-icon.shield {
    background: rgba(76,175,80,0.15);
    border: 1px solid rgba(76,175,80,0.3);
}

.modal-info-icon.shield::after {
    content: '\1F6E1';
    font-size: 11px;
}

.modal-info-item strong {
    font-size: 13px;
    color: var(--text);
    display: block;
    margin-bottom: 2px;
}

.modal-info-item p {
    text-align: justify;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.modal-chip {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    background: rgba(248,81,73,0.1);
    border: 1px solid rgba(248,81,73,0.2);
    color: var(--accent-red);
    font-size: 11px;
}

.modal-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.modal-level-pill {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid;
}

.modal-level-pill.level-basico {
    background: rgba(63,185,80,0.12);
    border-color: rgba(63,185,80,0.3);
    color: var(--diff-basico);
}

.modal-level-pill.level-facil {
    background: rgba(137,180,250,0.12);
    border-color: rgba(137,180,250,0.3);
    color: var(--diff-facil);
}

.modal-level-pill.level-intermedio {
    background: rgba(210,153,34,0.12);
    border-color: rgba(210,153,34,0.3);
    color: var(--diff-intermedio);
}

.modal-level-pill.level-dificil {
    background: rgba(250,179,135,0.12);
    border-color: rgba(250,179,135,0.3);
    color: var(--diff-dificil);
}

.modal-level-pill.level-experto {
    background: rgba(248,81,73,0.12);
    border-color: rgba(248,81,73,0.3);
    color: var(--diff-experto);
}

.modal-info-icon.graph {
    background: rgba(63,185,80,0.15);
    border: 1px solid rgba(63,185,80,0.3);
}

.modal-info-icon.graph::after {
    content: '\25C7';
    font-size: 13px;
    color: var(--accent);
}

.modal-info-icon.buttons {
    background: rgba(137,180,250,0.15);
    border: 1px solid rgba(137,180,250,0.3);
}

.modal-info-icon.buttons::after {
    content: '\2611';
    font-size: 12px;
}

.modal-btn-chip {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 6px;
    background: rgba(137,180,250,0.12);
    border: 1px solid rgba(137,180,250,0.25);
    color: #89b4fa;
    font-size: 11px;
    font-weight: 500;
}

.modal-info-icon.help-circle {
    background: rgba(76,175,80,0.15);
    border: 1px solid rgba(76,175,80,0.3);
}

.modal-info-icon.help-circle::after {
    content: '?';
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

.modal-help-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(76,175,80,0.15);
    border: 1px solid rgba(76,175,80,0.3);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    vertical-align: middle;
}

.modal-footer {
    padding: 16px 24px 20px;
    display: flex;
    justify-content: center;
}

.footer-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.footer-sep {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.4;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--accent);
    font-family: monospace;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Privacy modal */
.modal-privacy {
    max-width: 640px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-body-scroll {
    overflow-y: auto;
    max-height: 60vh;
}

.modal-body-scroll h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 16px;
    margin-bottom: 6px;
}

.modal-body-scroll h3:first-of-type {
    margin-top: 8px;
}

.modal-body-scroll p {
    text-align: justify;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.modal-body-scroll ul {
    margin: 4px 0 10px 20px;
    padding: 0;
}

.modal-body-scroll li {
    text-align: justify;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3px;
}

.privacy-email {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.privacy-email:hover {
    text-decoration: underline;
}

.privacy-updated {
    font-size: 11px;
    font-style: italic;
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 4px;
}

/* Footer */
footer {
    padding: 4px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.footer-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-privacy {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-version {
    font-size: 12px;
    color: var(--accent);
    font-family: monospace;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Blur effect for sections without session */
.blurred {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

/* Markdown instructions */
.instr-markdown {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
    padding-right: 8px;
}

.instr-markdown h1, .instr-markdown h2, .instr-markdown h3 {
    color: var(--text);
    margin-top: 16px;
    margin-bottom: 8px;
}

.instr-markdown h1 { font-size: 18px; }
.instr-markdown h2 { font-size: 16px; color: var(--accent); }
.instr-markdown h3 { font-size: 14px; }

.instr-markdown p {
    margin-bottom: 10px;
    text-align: justify;
}

.instr-markdown ul, .instr-markdown ol {
    margin: 6px 0 10px 20px;
}

.instr-markdown li {
    margin-bottom: 4px;
}

.instr-markdown code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    background: rgba(255,255,255,0.06);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--accent);
}

.instr-markdown pre {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    overflow-x: auto;
    margin: 8px 0 12px;
}

.instr-markdown pre code {
    background: none;
    padding: 0;
    color: var(--text);
    font-size: 12px;
}

.instr-markdown table {
    border-collapse: collapse;
    width: 100%;
    margin: 8px 0 12px;
    font-size: 12px;
}

.instr-markdown th, .instr-markdown td {
    border: 1px solid var(--border);
    padding: 6px 10px;
    text-align: left;
}

.instr-markdown th {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    font-weight: 600;
}

.instr-markdown strong {
    color: var(--text);
}

.instr-markdown blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    margin: 8px 0;
    color: var(--text-muted);
    font-style: italic;
}

/* Drag handle entre terminal e instrucciones */
#drag-handle {
    height: 8px;
    background: var(--border);
    cursor: row-resize;
    flex-shrink: 0;
    position: relative;
    transition: background 0.15s;
    z-index: 10;
}

#drag-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 3px;
    background: var(--text-muted);
    opacity: 0.5;
    border-radius: 2px;
    transition: opacity 0.15s, width 0.15s;
}

#drag-handle:hover {
    background: var(--accent);
}

#drag-handle:hover::before {
    opacity: 1;
    width: 60px;
    background: #fff;
}

#drag-handle.dragging {
    background: var(--accent);
}

#drag-handle.dragging::before {
    opacity: 1;
    width: 60px;
    background: #fff;
}
/* === Sandbox status panel === */
.sandbox-empty {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    padding: 40px 16px;
    font-family: monospace;
}

.sandbox-section {
    margin-bottom: 16px;
}

.sandbox-section-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.sandbox-icon {
    font-size: 14px;
}

.sandbox-count {
    margin-left: auto;
    background: rgba(36,150,237,0.15);
    color: #2496ed;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}

.sandbox-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sandbox-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
}

.sandbox-item-name {
    font-family: monospace;
    font-size: 12px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.sandbox-item-detail {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.sandbox-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sb-status {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sb-running {
    background: rgba(166,227,161,0.15);
    color: var(--accent-green);
}

.sb-stopped {
    background: rgba(243,139,168,0.15);
    color: var(--accent-red);
}

.sb-ports, .sb-size, .sb-driver {
    font-family: monospace;
    font-size: 10px;
    color: var(--text-muted);
}

.sandbox-empty-row {
    font-size: 12px;
    color: var(--text-muted);
    padding: 6px 0;
    font-style: italic;
}
