/* Basic styles for String Art Canvas and UI elements */

.string-art-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: 'Outfit', sans-serif;
}

canvas.string-art-canvas {
    border-radius: 2px;
    /* Default to Square */
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

canvas.string-art-canvas.square {
    border-radius: 8px;
}

.string-art-controls {
    display: flex;
    gap: 10px;
}

.string-art-btn {
    padding: 8px 16px;
    background: #38bdf8;
    color: #0f172a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.string-art-btn:hover {
    background: #0ea5e9;
    transform: translateY(-1px);
}

.string-art-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.string-art-progress {
    width: 100%;
    max-width: 300px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.string-art-progress-bar {
    height: 100%;
    background: #38bdf8;
    width: 0%;
    transition: width 0.3s;
}