/* Base styles for Eko Sampa */
body.eko-sampa-page {
    height: 100vh;
    overflow: hidden;
    background: #f8fafc;
}

body.eko-sampa-page #page,
body.eko-sampa-page .site,
body.eko-sampa-page .site-content,
body.eko-sampa-page .content-area,
body.eko-sampa-page .entry-content {
    height: 100%;
}

[contenteditable]:focus {
    outline: none;
}

.eko-sampa-shell {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f8fafc;
}

.eko-sampa-scroll {
    overflow-y: auto;
    min-height: 0;
}

.eko-sampa-preview-frame {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eko-sampa-preview-stage {
    border: 1px solid #cbd5e1;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}

#canvas-container {
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
}

.sampa-loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4f46e5;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
