/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */



.guidssy-top-corner {
    top: calc(var(--spacing)*1);
    right: calc(var(--spacing)*1);
    transform: translate(50%, -50%);
    position: absolute;
    z-index: 10;
    background-color: var(--color-red-600);
    color: var(--color-white);
    font-size: 0.75rem;
    /* 12px */
    border-radius: 9999px;
    /* Full rounded */
}

/* PDF.js viewer styles */
.pdfViewer .page {
    direction: ltr;
    width: 100%;
    height: 100%;
    margin: 1px auto -8px auto;
    position: relative;
    overflow: visible;
    background-clip: content-box;
    background-color: white;
}

.pdfViewer .page canvas {
    margin: 0;
    display: block;
}

.pdfViewer .page .loadingIcon {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

#download,
#secondaryDownload {
    display: none !important;
}

#secondaryToolbarToggle,
#secondaryToolbarToggleButton {
    display: none !important;
}
/* Markdown prose styling */
.prose {
    color: inherit;
}

.prose p {
    margin-bottom: 0.75em;
}

.prose strong {
    font-weight: 600;
    color: inherit;
}

.prose em {
    font-style: italic;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: inherit;
}

.prose h1 { font-size: 1.875rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.125rem; }

.prose ul, .prose ol {
    margin-top: 0.5em;
    margin-bottom: 0.75em;
    padding-left: 1.5em;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.25em;
}

.prose a {
    color: #3b82f6;
    text-decoration: underline;
}

.prose a:hover {
    color: #2563eb;
}

.prose blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1em;
    font-style: italic;
    margin: 1em 0;
    color: #6b7280;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: monospace;
}

.prose pre {
    background-color: #f3f4f6;
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1em 0;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
}

.prose del {
    text-decoration: line-through;
}

.prose mark {
    background-color: #fef08a;
    padding: 0.125rem 0.25rem;
}

.prose-sm {
    font-size: 0.875rem;
    line-height: 1.5;
}

.prose-sm h1 { font-size: 1.5rem; }
.prose-sm h2 { font-size: 1.25rem; }
.prose-sm h3 { font-size: 1.125rem; }
.prose-sm h4 { font-size: 1rem; }
