html { 
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    font-family: Grotesk, "Helvetica Neue", Helvetica, sans-serif;
    font-size: .9rem;
}

h1 {
    font-size: 3em;
    line-height: .1;
    margin-bottom: 0.8em;
    font-weight: 300;
}

h2 {
    font-size: 1.8em;
    line-height: 1;
    margin-bottom: .2em;
    margin-top: 0.1em;
}

h3 {
    font-size: 1.5em;
    line-height: 1;
    margin-bottom: .1em;
    margin-top: 0.1em;
}

a {
    text-decoration: none;
    color: #36c;
}

a:hover {
    text-decoration: underline;
}

#main {
    margin: 25px auto;
    width: 95%
}

pre.codeBlock, div.codeBlock {
  overflow:auto;
  margin:0 0 1em;
  padding:.5em 1em;
}

pre.codeBlock .codeLine,
pre.codeBlock .line-number,
div.codeBlock .codeLine,
div.codeBlock .line-number {
  font:normal normal 13px/16px monospace;
  font-family: Monaco, monospace;
  color:black;
  display:block;
}

pre.codeBlock.codeBlock span.code, div.codeBlock span.code {
    min-width: 97%;
    display: inline-block;
}

pre.codeBlock .line-number, div.codeBlock .line-number {
  margin:0 1em 0 -1em;
  border-right:1px solid #eee;
  color: #bbb;
  text-align:right;
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  
  -o-user-select: none;
  user-select: none;
  padding-left: 0.2em;
  padding-right: 0.2em;
}

pre.codeBlock .line-number span, div.codeBlock .line-number span {
  display:block;
  padding:0 .5em 0 1em;
}

pre.codeBlock .cl {
  display:block;
  clear:both;
}

div.diffcontainer {
    position: relative;
    margin: 0 auto;
    display: none;
}

div.left {
    width: 40%;
    display: inline-block;
}

div.right {
    width: 40%;
    display: inline-block;
    vertical-align: top;
}

div.center {
    width: 14%;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    margin-top: 20%;
    margin-left: 2%;
	text-align: center;
}
    

pre.codeBlock.left {
    width: 40%;
    display: inline-block;
    vertical-align: top;
}

pre.codeBlock.right {
    width: 40%;
    display: inline-block;
    vertical-align: top;
    margin-left: 1em;
}

ul.toolbar {
    width: 11%;
    display: inline-block;
    right: 10px;
    top: 5em;
    position: absolute;
}

#report .reportTitle {
    border: thin solid lightgray;
    border-radius: 4px;
    margin-bottom: 1em;
    padding: 5px;
    background-color: rgba(50, 57, 88, 0.1);
    color: black;
    width: 15em;
}
    

ul.toolbar li {
    border: thin solid lightgray;
    border-radius: 4px;
    margin-bottom: 1em;
    padding: 5px;
    background-color: rgba(50, 57, 88, 0.1);
    color: black;
    cursor: pointer;
	line-height: 18px;
}

ul.toolbar li code {
    margin: 0 2px;
    padding: 0px 5px;
    border: 1px solid #eaeaea;
    background-color: #f8f8f8;
    border-radius: 3px;
    color: #333;
    line-height: 20px;
	font-family: Monaco, monospace;
	font-size: 0.85em;
}

#buttons {
    white-space: nowrap;
    margin-bottom: 1em;
}

#buttons a {
    color: #8a6d3b;
    font-size: 18px;
}

#buttons a.disabled {
    color: #999;
    cursor: auto;
}

#buttons a.disabled:hover {
    text-decoration: none;
    cursor: default;
}

#prevNextLabel {
    width: 80%;
    text-align: center;
    display: inline-block;
}

div.gutter {
    float: left;
}

div.codeLine span.diff {
    cursor: pointer;
    color: #c00;
}

div.codeLine span.eq_off, div.codeLine span.type_off, div.codeLine span.missing_off {
    cursor: auto;
}

div.codeLine span.eq {
    background: rgba(50, 57, 88, 0.1);
    color: #333;
}

div.codeLine span.type {
    background: rgba(220, 100, 100, 0.1);
}

div.codeLine span.missing {
    background: rgba(0, 160, 80, 0.1);
    color: green;
}

div.codeLine span.selected {
    background: #cef;
    color: #47e;
}

canvas.center {
    position: absolute;
    left: 40%;
    width: 20%;
    height: 100%;
    top: 0;
}

textarea {
    width: 100%;
    min-height: 500px;
    padding: 5px;
    background: #f3f3f3;
    border-radius: 4px;
    resize: vertical;
    white-space: pre;
    word-wrap: normal;
}

textarea.error {
    border-color: #FBC2C4;
}

pre.error {
    background: #FBE3E4;
    color: #D12F19;
    border: thin solid #FBC2C4;
    border-radius: 4px;
    padding: 1em;
    display: none;
    text-wrap: wrap;
}

span.filterBlock {
    margin-bottom: 1em;
}

span.filterBlock input {
    margin-left: 2em;
}

#report {
    margin-bottom: 1em;
    position: relative;
    height: 4em;
}

#report button {
    display: block;
    position: absolute;
    top: 0;
    left: 56.5%;
    border-color: #36c;
    color: #36c;
}

button {
    font-size: 1.2em;
    color: #333;
    border: 1px solid #333;
    border-radius: 4px;
    background: white;
    padding: .5rem .7rem;
	cursor: pointer;
}

.weak {
    color: #333;
    max-width: 25rem;
    font-size: .9em;
    position: absolute;
    top: 105px;
    left: 56.5%;
    right: 3%;
    padding: 0 1em 0 0;
}

p {
    margin-bottom: 1em;
}

.header {
    height: 8em;
}

span.fileInput {
    margin-left: 2em;
	margin-top: 0.5em;
	display: inline-block;
}

.throbber-loader:not(:required) {
    display: none;
}

.progress .throbber-loader:not(:required) {
    display: block;
    margin: 5px auto;
}

/* SEO Content Styles */
.seo-content {
    margin-top: 3em;
    padding: 2em 0;
    border-top: 1px solid #eee;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.seo-content section {
    margin-bottom: 2.5em;
}

.seo-content h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 1em;
    border-bottom: 2px solid #36c;
    padding-bottom: 0.5em;
}

.seo-content h3 {
    color: #555;
    font-size: 1.4em;
    margin-bottom: 0.8em;
    margin-top: 1.5em;
}

.seo-content h4 {
    color: #666;
    font-size: 1.2em;
    margin-bottom: 0.6em;
    margin-top: 1.2em;
}

.seo-content p {
    line-height: 1.6;
    margin-bottom: 1em;
    color: #444;
}

.seo-content ul, .seo-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.seo-content li {
    margin-bottom: 0.5em;
    line-height: 1.5;
    color: #444;
}

.seo-content pre {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1em;
    margin: 1em 0;
    overflow-x: auto;
}

.seo-content code {
    font-family: Monaco, monospace;
    font-size: 0.9em;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
    margin-top: 1em;
}

.advantage {
    background: #f9f9f9;
    padding: 1.5em;
    border-radius: 8px;
    border-left: 4px solid #36c;
}

.advantage h4 {
    margin-top: 0;
    color: #36c;
}

.faq-item {
    margin-bottom: 1.5em;
    padding: 1em;
    background: #fafafa;
    border-radius: 6px;
    border-left: 3px solid #36c;
}

.faq-item h4 {
    margin-top: 0;
    color: #36c;
}

.faq-item p {
    margin-bottom: 0;
}

/* Site Navigation */
.site-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.site-nav a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.site-nav a:hover {
    background: #e9ecef;
    color: #333;
}

.site-nav a.active {
    background: #36c;
    color: white;
}

.site-nav .nav-indicator {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    color: #999;
    font-style: italic;
}

/* Page Content Styles */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    line-height: 1.6;
}

.page-content section {
    margin-bottom: 2.5rem;
}

.page-content h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #36c;
    padding-bottom: 0.5rem;
}

.page-content h3 {
    color: #555;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.page-content h4 {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    margin-top: 1.2rem;
}

.page-content p {
    margin-bottom: 1rem;
    color: #444;
}

.page-content ul, .page-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: #444;
}

.last-updated {
    font-style: italic;
    color: #666;
    border-left: 4px solid #36c;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #36c;
}

.feature h4 {
    margin-top: 0;
    color: #36c;
}

.license-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 3px solid #6c757d;
    margin-top: 2rem;
}

.license-info h3 {
    margin-top: 0;
    color: #6c757d;
}

.back-to-home {
    text-align: center;
    margin: 3rem 0 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.back-to-home a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #36c;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.back-to-home a:hover {
    background: #2557a7;
}

/* Site Footer */
.site-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: 4rem;
    padding: 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    display: inline-block;
    margin: 0 1rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #36c;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
}

.footer-text p {
    margin: 0.25rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-nav {
        padding: 0.5rem 0;
    }
    
    .site-nav a {
        margin: 0 0.25rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .page-content {
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
    
    .seo-content {
        padding: 1em;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-content h2 {
        font-size: 1.5em;
    }
    
    .seo-content h3 {
        font-size: 1.3em;
    }
}
