@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Inter:wght@400;600;700&family=Outfit:wght@700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

code, .mono {
    font-family: 'JetBrains Mono', monospace;
}

.logo-font {
    font-family: 'Outfit', sans-serif;
}

/* The Secret Sauce: Lock the preview container size */
#canvas-container {
    /* width: 320px; -- REMOVED FIXED WIDTH */
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Force the library canvas to always fit the 320px box regardless of internal resolution */
#canvas-container canvas,
#canvas-container svg {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    border-radius: 8px;
}

/* Custom Color Input Styling */
input[type="color"] {
    -webkit-appearance: none;
    padding: 2px;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 6px; /* Match Tailwind rounded-md/lg approx */
}
