@import url('/static/css/fonts.css');

body {
    font-family: 'Manrope', sans-serif;
    background-color: #F0F9FF;
    color: #0F1115;
}

/* Material Icons */
.material-symbols-outlined {
    vertical-align: middle;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #D4F232;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8d127;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 24px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
    color: #666;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f4f6;
    transition: all 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    background: #e5e7eb;
    color: #000;
}

/* Markdown Content Styling */
.js-markdown-target p {
    margin-bottom: 1.5em;
    line-height: 1.7;
}

.js-markdown-target ul, .js-markdown-target ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    list-style-position: outside;
}

.js-markdown-target li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

/* Ensure strong/bold tags are visible */
.js-markdown-target strong, .js-markdown-target b {
    font-weight: 700;
    color: #111827; /* gray-900 */
}

/* Lists styling to match theme better */
.js-markdown-target ul {
    list-style-type: disc;
}

.js-markdown-target ol {
    list-style-type: decimal;
}

/* Remove margin from last element */
.js-markdown-target > *:last-child {
    margin-bottom: 0;
}
