/* --- REGISTRATION STYLES MOVED TO css/ui/register.css --- */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0 !important;
    /* Was -1, causing body to capture clicks? */
    pointer-events: auto;
    /* Ensure clickable */
}

canvas {
    display: block;
    /* Remove inline spacing */
    pointer-events: auto;
}


/* --- LOGIN 2-STEP STATES --- */
.btn-orange {
    background: #ff9900 !important;
    color: white !important;
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.4) !important;
    border: 1px solid #ffcc00 !important;
}

.btn-green {
    background: var(--neon-green) !important;
    color: black !important;
    box-shadow: 0 0 15px var(--neon-green) !important;
    border: 1px solid #ccffcc !important;
    font-weight: bold;
    transform: scale(1.05);
    /* Pulse effect */
}

/* --- EDITOR THEME (Neon Glass) --- */
:root {
    --editor-bg: rgba(13, 17, 23, 0.85);
    /* Dark Blue/Grey */
    --editor-glass: rgba(255, 255, 255, 0.05);
    --editor-border: rgba(255, 255, 255, 0.1);
    --neon-cyan: #00f3ff;
    --neon-pink: #bc13fe;
    --neon-green: #0aff0a;
}

/* Editor Toolbar (Bottom) */
#editor-toolbar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--editor-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--editor-border);
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(0, 243, 255, 0.1);
    /* Cyan Glow */
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.editor-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: none;
    background: var(--editor-glass);
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2sease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.editor-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.editor-btn.active {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(188, 19, 254, 0.2));
    border: 1px solid rgba(0, 243, 255, 0.5);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* Tooltip text */
.editor-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.editor-btn:hover::after {
    opacity: 1;
}

/* Asset Browser (Side Panel) */
#asset-browser {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 250px;
    height: 70vh;
    background: var(--editor-bg);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    border: 1px solid var(--editor-border);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.asset-item {
    background: var(--editor-glass);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.asset-item:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.asset-preview {
    width: 100%;
    height: 80px;
    background: #000;
    border-radius: 8px;
    margin-bottom: 5px;
    background-size: cover;
    background-position: center;
}