/* Canvas Styles */
.drawing-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

canvas {
    width: 100%;
    /* Ensure it fits within the parent's content box */
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed var(--glass-border);
    border-radius: 8px;
    cursor: crosshair;
    touch-action: none;
    /* Prevent scrolling on touch */
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.guess-result {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.loading {
    display: inline-block;
    margin-left: 0.5rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}