/* Main Layout */
[x-cloak] { display: none !important; }

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling to match macOS */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom scrollbar for lists */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 20px;
}

/* Editor */
.editor-content:focus {
    outline: none;
}

.editor-content ul {
    list-style-type: disc;
    margin-left: 1.5em;
}
.editor-content ol {
    list-style-type: decimal;
    margin-left: 1.5em;
}

.editor-content blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1em;
    color: #6b7280;
    font-style: italic;
}

.editor-content img {
    max-width: 100%;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

/* Typography matching Apple Notes */
.font-system {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
