/* style.css - Reset and Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #111; /* Dark background so you see the canvas */
    overflow: hidden;
}

/* Header Styling */
.navbar {
    height: 60px;
    background: #18191b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #333;
    z-index: 10;
}

/* Layout Container */
.main-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar Tabs (The narrow black bar) */
.sidebar-tabs {
    width: 72px;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    border-right: 1px solid #222;
}

.tab {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    font-size: 11px;
    cursor: pointer;
    color: #888;
    transition: 0.2s;
}

.tab:hover {
    color: #fff;
    background: #252627;
}

/* Asset Panel (The white part) */
.panel {
    width: 300px;
    background: #ffffff;
    padding: 20px;
    overflow-y: auto;
    color: #333;
}

/* Workspace (Where the canvas sits) */
.workspace {
    flex: 1;
    background: #ebecf0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

canvas {
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Inspector Panel (Right side) */
.inspector {
    width: 250px;
    background: #ffffff;
    border-left: 1px solid #ddd;
    padding: 20px;
    color: #333;
}

/* Buttons and Inputs */
button {
    cursor: pointer;
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.btn-save {
    background: #8b3dff;
    color: white;
    border: none;
    font-weight: bold;
}