/* ToMarkdown - Custom styles (Tailwind handles most styling) */

/* Smooth scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #111827;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* Textarea no-resize horizontal */
textarea {
    resize: vertical;
}

/* SEO content section styling */
.seo-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.seo-content h2:first-child {
    margin-top: 0;
}
.seo-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}
.seo-content p {
    color: #9ca3af;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.seo-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}
.seo-content li {
    margin-bottom: 0.25rem;
    line-height: 1.75;
}
.seo-content strong {
    color: #d1d5db;
}

/* Preview panel prose overrides for dark theme */
#markdown-preview h1,
#markdown-preview h2,
#markdown-preview h3,
#markdown-preview h4,
#markdown-preview h5,
#markdown-preview h6 {
    color: #fff;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 700;
}
#markdown-preview h1 { font-size: 1.5rem; }
#markdown-preview h2 { font-size: 1.25rem; }
#markdown-preview h3 { font-size: 1.125rem; }
#markdown-preview p {
    color: #d1d5db;
    margin-bottom: 0.75em;
    line-height: 1.6;
}
#markdown-preview ul,
#markdown-preview ol {
    color: #d1d5db;
    padding-left: 1.5rem;
    margin-bottom: 0.75em;
}
#markdown-preview ul { list-style: disc; }
#markdown-preview ol { list-style: decimal; }
#markdown-preview li { margin-bottom: 0.25em; }
#markdown-preview code {
    background: #1f2937;
    padding: 0.125em 0.375em;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #86efac;
}
#markdown-preview pre {
    background: #111827;
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1em;
}
#markdown-preview pre code {
    background: none;
    padding: 0;
}
#markdown-preview blockquote {
    border-left: 3px solid #4b5563;
    padding-left: 1em;
    color: #9ca3af;
    margin-bottom: 0.75em;
}
#markdown-preview a {
    color: #4ade80;
    text-decoration: underline;
}
#markdown-preview hr {
    border-color: #374151;
    margin: 1.5em 0;
}
#markdown-preview table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}
#markdown-preview th,
#markdown-preview td {
    border: 1px solid #374151;
    padding: 0.5em 0.75em;
    color: #d1d5db;
}
#markdown-preview th {
    background: #1f2937;
    font-weight: 600;
}

/* Drop zone active state */
#drop-zone.drag-active {
    border-color: #4ade80;
    background-color: rgba(31, 41, 55, 0.3);
}

/* Details/summary arrow override */
details summary::-webkit-details-marker {
    display: none;
}
details summary {
    list-style: none;
}
