/* 
   interactive-shell.css 
   Scoped aesthetic layer for .interactive-embed interiors.
   Inherits layout from lesson.css and typography from theme files.
*/

.interactive-shell-glass {
    background: var(--glass-bg, rgba(255, 255, 255, 0.05));
    backdrop-filter: var(--glass-blur, blur(20px));
    -webkit-backdrop-filter: var(--glass-blur, blur(20px));
    border-radius: var(--radius, 16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    padding: 24px;
    color: var(--text, #f8fafc);
    font-family: inherit;
}

.interactive-shell-footer {
    border-radius: 0;
    border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.interactive-shell-footer .info-box {
    background: transparent;
    padding: 0;
}

.interactive-shell-note {
    display: block;
    margin-top: 6px;
    opacity: 0.8;
    font-size: 0.8em;
}

.shell-header {
    text-align: center;
    margin-bottom: 24px;
}

.shell-header h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--heading-color, var(--text));
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shell-main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

@media (max-width: 850px) {
    .shell-main-grid { grid-template-columns: 1fr; }
}

.sim-viewport {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm, 12px);
    height: 450px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm, 12px);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.metric-label { color: var(--text-light, #94a3b8); font-weight: 600; }
.metric-value { font-family: 'DM Mono', monospace; color: #fff; }

.info-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 14px;
    border-radius: var(--radius-sm, 12px);
    font-size: 0.85rem;
    line-height: 1.5;
}
