/* DevHub Custom Styles */

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #10141a; }
::-webkit-scrollbar-thumb { background: #31353c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #414752; }

/* Card Layers */
.card-layer-1 {
    background-color: #161b22;
    border: 1px solid #30363d;
}
.card-layer-2 {
    background-color: #1c2128;
    border: 1px solid #30363d;
}

/* Buttons */
.btn-primary {
    background-color: #238636;
    color: white;
    border: 1px solid rgba(240, 246, 252, 0.1);
}
.btn-primary:hover {
    background-color: #2ea043;
    border-color: rgba(240, 246, 252, 0.1);
}
.btn-default {
    background-color: transparent;
    border: 1px solid #30363d;
    color: #dfe2eb;
}
.btn-default:hover {
    background-color: #1c2128;
    border-color: #8b949e;
}

/* Inputs */
.input-dark {
    background-color: #ffffff;
    border: 1px solid #30363d;
    color: #1f2328;
}
.input-dark::placeholder {
    color: #6e7781;
}
.input-dark:focus {
    border-color: #58a6ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2);
}

/* Markdown Body */
.markdown-body h1 {
    font-size: 2em;
    padding-bottom: .3em;
    border-bottom: 1px solid #30363d;
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}
.markdown-body h2 {
    font-size: 1.5em;
    padding-bottom: .3em;
    border-bottom: 1px solid #30363d;
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}
.markdown-body p {
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.5;
}
.markdown-body code {
    padding: .2em .4em;
    margin: 0;
    font-size: 85%;
    background-color: rgba(110,118,129,0.4);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
}
.markdown-body pre {
    padding: 16px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    background-color: #161b22;
    border-radius: 6px;
    border: 1px solid #30363d;
    margin-bottom: 16px;
}
.markdown-body pre code {
    display: inline;
    max-width: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    line-height: inherit;
    word-wrap: normal;
    background-color: transparent;
    border: 0;
}
.markdown-body ul {
    padding-left: 2em;
    margin-top: 0;
    margin-bottom: 16px;
}
.markdown-body li {
    word-wrap: break-all;
}
.markdown-body img {
    max-width: 100%;
    box-sizing: content-box;
    background-color: #0d1117;
}

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.icon-fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Selection */
::selection {
    background-color: #58a6ff;
    color: #003a6b;
}
