/* ---------------------------------------------------------
   HUISSTIJL — KLEUREN EN TYPOGRAFIE
--------------------------------------------------------- */
:root {
    --bg-dark: #0E0F11;
    --bg-panel: #1A1C20;
    --bg-alt: #14161b;

    --accent-green: #2ECC71;
    --accent-green-soft: #42e88a;
    --accent-navy: #0D1B2A;

    --text-main: #F5F5F5;
    --text-muted: #B0B3BA;

    --border-soft: #2F3238;

    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-fast: 0.18s ease-out;
}

/* ---------------------------------------------------------
   BASIS
--------------------------------------------------------- */
html, body {
    margin: 0;
    height: 100%;
    background-color: var(--bg-dark);
    font-family: "Roboto Mono", ui-monospace, monospace;
    color: var(--text-main);
    overflow: hidden;
}

/* ---------------------------------------------------------
   APP LAYOUT
--------------------------------------------------------- */
#app {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

/* ---------------------------------------------------------
   SIDEBAR
--------------------------------------------------------- */
#sidebar {
    width: 240px;
    padding: 20px;
    background: var(--bg-panel);
    border-right: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

#sidebar h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--accent-green);
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* ---------------------------------------------------------
   TILE QUEUE
--------------------------------------------------------- */
.tileQueue canvas {
    display: block;
    margin: 10px 0;
    border: 1px solid var(--border-soft);
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    transition: box-shadow var(--transition-fast);
}

.tileQueue canvas:hover {
    box-shadow: 0 0 18px rgba(46, 204, 113, 0.12);
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
#checkPlacementsBtn {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-green);
    background: transparent;
    color: var(--accent-green);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

#checkPlacementsBtn:hover {
    background-color: rgba(46, 204, 113, 0.12);
    border-color: var(--accent-green-soft);
    color: var(--accent-green-soft);
}

/* ---------------------------------------------------------
   BOARD
--------------------------------------------------------- */
#board {
    flex: 1;
    display: flex;
    background: var(--bg-alt);
}

#gameCanvas {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--bg-alt);
}
