/**
 * Selection Studio — Base Variables & Layout Shell
 * Location: /studio/css/variables.css
 */

:root {
    --bg-dark: #0b1116;
    --bg-workspace: #121a21;
    --bg-panel: #0f171e;
    --bg-input: #121f2d;
    --border: rgba(255, 255, 255, 0.06);
    --text-main: rgba(255, 255, 255, 0.9);
    --muted: rgba(255, 255, 255, 0.4);
    --gold: #d4b483;
    --accent-blue: #2775ff;
}

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

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-dark);
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

#studio-shell {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* --- STUDIO THREE-COLUMN LAYOUT GRID --- */
.studio-grid {
    display: grid;
    grid-template-columns: 260px minmax(480px, 1fr) minmax(420px, 35%);
    height: calc(100vh - 52px);
    width: 100vw;
}

.panel-shared {
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    background: var(--bg-panel);
}

/* Scrollbars */
.panel-shared::-webkit-scrollbar {
    width: 6px;
}

.panel-shared::-webkit-scrollbar-track {
    background: transparent;
}

.panel-shared::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.panel-shared::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.simulator-panel {
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding: 0 !important;
}

.simulator-view-box {
    flex: 1;
    width: 100%;
    background: #000;
    margin: 0;
    padding: 0;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    display: block;
}