/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
::before,
::after {
	box-sizing: border-box;
}

html {
	/* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
	font-family:
		system-ui,
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
	line-height: 1.15; /* 1. Correct the line height in all browsers. */
	-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
	tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
}

/*
Sections
========
*/

body {
	margin: 0; /* Remove the margin in all browsers. */
}

/*
Text-level semantics
====================
*/

/**
Add the correct font weight in Chrome and Safari.
*/

b,
strong {
	font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
	font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/*
Tabular data
============
*/

/**
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
	border-color: currentcolor;
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
	padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
	vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/
/* Target scrollbars globally or use a class to scope it */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #a3a3a3 #f3f4f6; /* thumb color, track color */
}

/* WebKit Browsers (Chrome, Edge, Safari) */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: #f3f4f6; /* Tailwind gray-100 */
}

*::-webkit-scrollbar-thumb {
  background-color: #a3a3a3; /* Tailwind gray-400 */
  border-radius: 8px;
  border: 2px solid #f3f4f6; /* creates spacing */
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #737373; /* Tailwind gray-500 */
}

@media (prefers-color-scheme: dark) {
  * {
    scrollbar-color: #52525b #1f2937;
  }
  *::-webkit-scrollbar-thumb {
    background-color: #52525b;
  }
  *::-webkit-scrollbar-track {
    background: #1f2937;
  }
}

summary {
	display: list-item;
}

.markdown-body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif,
				 "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	
	line-height: 1.6;
	padding: 1rem;
  }
  
  /* Headings */
  .markdown-body h1,
  .markdown-body h2,
  .markdown-body h3,
  .markdown-body h4,
  .markdown-body h5,
  .markdown-body h6 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	font-weight: 600;
	line-height: 1.25;
  }
  .markdown-body h1 { font-size: 2em; border-bottom: 1px solid #eaecef; padding-bottom: 0.3em; }
  .markdown-body h2 { font-size: 1.5em; border-bottom: 1px solid #eaecef; padding-bottom: 0.3em; }
  .markdown-body h3 { font-size: 1.25em; }
  
  /* Paragraphs */
  .markdown-body p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
  }
  
  /* Links */
  .markdown-body a {
	color: #0366d6;
	text-decoration: none;
  }
  .markdown-body a:hover {
	text-decoration: underline;
  }
  
  /* Lists */
  .markdown-body ul,
  .markdown-body ol {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding-left: 2em;
  }
  .markdown-body li + li {
	margin-top: 0.25em;
  }
  
  /* Code & Preformatted */
  .markdown-body code {
	background-color: rgba(27,31,35,0.05);
	padding: 0.2em 0.4em;
	margin: 0;
	font-size: 85%;
	border-radius: 3px;
	font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
  }
  .markdown-body pre {
	background-color: #f6f8fa;
	padding: 1em;
	overflow: auto;
	border-radius: 6px;
	font-size: 85%;
	line-height: 1.45;
	margin-top: 1em;
	margin-bottom: 1em;
  }
  .markdown-body pre code {
	background: none;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
  }
  
  /* Blockquotes */
  .markdown-body blockquote {
	margin: 0.8em 0;
	padding-left: 1em;
	color: #6a737d;
	border-left: 0.25em solid #dfe2e5;
  }
  
  /* Horizontal rule */
  .markdown-body hr {
	border: none;
	border-top: 1px solid #e1e4e8;
	margin: 2em 0;
  }
  
  /* Tables */
  .markdown-body table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1em;
	margin-bottom: 1em;
  }
  .markdown-body th,
  .markdown-body td {
	border: 1px solid #dfe2e5;
	padding: 0.6em 1em;
  }
  .markdown-body th {
	background-color: #f6f8fa;
	font-weight: 600;
  }
  
  /* Optional: code blocks with language label */
  .markdown-body .highlight {
	position: relative;
  }
  .markdown-body .highlight pre::before {
	content: attr(data-lang);
	position: absolute;
	top: 0;
	right: 0;
	background: #e1e4e8;
	color: #24292e;
	padding: 2px 8px;
	font-size: 75%;
	border-bottom-left-radius: 6px;
  }
  .markdown-body ul {
	list-style-type: disc;      /* use solid round bullets */
	list-style-position: inside;/* keep bullets inside the content box */
	margin: 0.5em 0;            /* vertical spacing around the list */
	padding-left: 1.5em;        /* indent the list items */
  }
  
  .markdown-body ol {
	list-style-type: decimal;   /* 1., 2., 3., … numbering */
	margin: 0.5em 0;
	padding-left: 1.5em;
  }
  
  .markdown-body li {
	margin-top: 0.25em;         /* small gap between items */
  }
  
  /* If you need to style the marker directly (modern browsers) */
  .markdown-body li::marker {
	font-size: 1em;
	color: #24292e;
  }

.ai-btn {
  background-image: linear-gradient(to right, #0077B5, #00A859);
  transition: background-image 0.3s ease;
}

.ai-btn:hover {
  background-image: linear-gradient(to right, #005f8d, #008f4d);
}
.select2-search__field {
	font-size: 14px !important;
}