
/* ************************************************************************* */
/* General                                                                   */
/* ************************************************************************* */

html {
    color-scheme: light;
    height: 100%;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

body,
input {
    background-color: #FFFFFF;
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 16px;
    margin: 0px;
    padding: 0px;
}

body {
    height: 100%;
    overflow: hidden;
}

h1 {
    font-size: 1.5em;
    clear: left;
    padding-top: 2em;
}

h2 {
    font-size: 1.2em;
    clear: left;
}

img {
    border: 0px;
    vertical-align: middle;
}

a {
    color: #4A69C4;
}

a:hover {
    text-decoration: underline;
}

pre {
    display: block;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 0.9em;
    line-height: 1.45;
    padding: 1em 1.15em;
    margin: 0.85em 0;
    border: 1px solid rgba(74, 105, 196, 0.22);
    border-left: 0.35em solid #4a69c4;
    border-radius: 0.35em;
    background-color: #f4f6fb;
    color: #1e2433;
    box-shadow: 0 0.1em 0.35em rgba(40, 60, 120, 0.08);
    overflow-x: auto;
    white-space: pre;
    scrollbar-width: thin;
    scrollbar-color: #8fa3d4 #e4e9f4;
}

pre::-webkit-scrollbar {
    height: 0.65em;
    width: 0.65em;
}

pre::-webkit-scrollbar-track {
    background: #e4e9f4;
    border-radius: 0.25em;
}

pre::-webkit-scrollbar-thumb {
    background: #8fa3d4;
    border-radius: 0.25em;
}

pre::-webkit-scrollbar-thumb:hover {
    background: #6d84c4;
}

code,
span.code {
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 0.88em;
    display: inline;
    padding: 0.12em 0.4em;
    margin: 0 0.05em;
    border: 1px solid rgba(74, 105, 196, 0.28);
    border-left: 1px solid rgba(74, 105, 196, 0.28);
    border-radius: 0.3em;
    background-color: #eef2fb;
    color: #2a3f8f;
    box-shadow: none;
}

pre code {
    display: inherit;
    font-size: inherit;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    border-radius: 0;
    color: inherit;
}

.nowrap {
    white-space: nowrap;
}

.center {
    text-align: center;
}

#root {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

#content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#header {
    position: relative;
    flex-shrink: 0;
    padding: 0px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    background: rgba(32, 100, 196, 0.9);
    background: linear-gradient(to bottom, rgba(32, 100, 196, 0.9) 0%, rgba(77, 167, 253, 0.9) 100%);
    box-shadow: 0px 0px 3em black;
    z-index: 9999;
}

#header-placeholder {
    display: none;
}

#header-logo {
    display: block;
    position: absolute;
    padding-left: 60px !important;
    margin: 0px;
    background-image: url('/images/icon.png');
    background-repeat: no-repeat;
    background-size: 40px 40px;
    background-position: 10px center;
    height: 40px;
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.2);
}

#mobile-menu {
    display: none;
}

#header-links {
    position: absolute;
    right: 0px;
}

#theme-switch {
    position: absolute;
    right: 0.35em;
    top: 0;
    height: 40px;
    display: flex;
    align-items: center;
    z-index: 10000;
}

#theme-switch ~ #header-links {
    right: 2.75em;
}

#theme-switch-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.25em;
    background: rgba(0, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05em;
    line-height: 1;
    cursor: pointer;
    text-shadow: 1px 1px #333;
}

#theme-switch-toggle:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
}

#theme-switch-menu {
    position: absolute;
    top: calc(100% + 0.35em);
    right: 0;
    min-width: 9.5em;
    padding: 0.35em;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.35em;
    background: #ffffff;
    box-shadow: 0 0.4em 1.2em rgba(0, 0, 0, 0.25);
}

#theme-switch-menu[hidden] {
    display: none;
}

#theme-switch-menu button {
    display: flex;
    align-items: center;
    gap: 0.65em;
    width: 100%;
    margin: 0;
    padding: 0.55em 0.7em;
    border: none;
    border-radius: 0.25em;
    background: transparent;
    color: #1e2433;
    font-family: inherit;
    font-size: 0.95em;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

#theme-switch-menu button:hover,
#theme-switch-menu button:focus-visible {
    background: rgba(74, 105, 196, 0.12);
}

#theme-switch-menu button.active {
    background: rgba(74, 105, 196, 0.18);
    font-weight: 700;
}

#theme-switch-menu .theme-switch-icon {
    display: inline-flex;
    width: 1.25em;
    justify-content: center;
    flex-shrink: 0;
}

html[data-theme="dark"] #theme-switch-menu {
    background: #24242a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0.4em 1.2em rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] #theme-switch-menu button {
    color: #e4e4e8;
}

html[data-theme="dark"] #theme-switch-menu button:hover,
html[data-theme="dark"] #theme-switch-menu button:focus-visible {
    background: rgba(141, 180, 255, 0.15);
}

html[data-theme="dark"] #theme-switch-menu button.active {
    background: rgba(141, 180, 255, 0.22);
}

#header-logo,
#header-links a {
    display: inline-block;
    font-size: 1.3em;
    padding: 0px;
    margin: 0px;
    padding-left: 1em;
    padding-right: 1em;
    /*
	margin-left:1em;
	margin-right:1em;
	*/
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 2px 2px #444444;
    background-color: rgba(255, 255, 255, 0);
    transition: color 0.5s, background-color 1s, opacity 0.5s;
    cursor: pointer;
}

#header a:hover {
    color: rgba(255, 255, 255, 1) !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
}

.content {
    padding: 2em;
}

.content1,
.content3 {
    background-color: #444444;
    background-image: url('../images/bg2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    box-shadow: inset 0px 0px 20px black;
    color: white;
    text-shadow: 0px 0px 2px black, 0px 0px 2px black, 0px 0px 2px black, 0px 0px 2px black;
}

.content1 a,
.content1 a:visited,
.content3 a,
.content3 a:visited {
    color: white;
}

#footer {
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    clear: both;
    padding: 0.5em 1em;
    background-color: #222;
    color: #999;
    text-align: center;
    line-height: 1.35em;
    box-shadow: 0px 0px 3em black;
    z-index: 1;
}

#footer a,
#footer a:visited {
    color: #cccccc;
}

#footer-placeholder {
    display: none;
}

#footer-airvpn {
    height: 1.5em;
}

.notes-right {
    float: right;
    margin: 1em;
    padding: 1em;
    box-shadow: 0px 0px 1em rgba(0, 0, 0, 0.2);
    background-color: #fafaff;
}

#man-html {
    text-align: left;
    padding: 1em;
    background-color: white;
}

#article {
    padding: 2em;
}

.report-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1em 2em;
    text-align: center;
    padding: 1em;
}

.report-meta {
    text-align: center;
    line-height: 1.5;
}

.report-delete {
    display: inline-block;
    padding: 0.7em 1.35em;
    margin: 0;
    border: 1px solid #8a3338;
    border-radius: 0.35em;
    background: linear-gradient(to bottom, #d45c62 0%, #b03e44 100%);
    color: #ffffff;
    font-size: 0.95em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    box-shadow: 0 0.15em 0.45em rgba(120, 30, 35, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
    cursor: pointer;
}

a.report-delete,
a.report-delete:visited {
    color: #ffffff;
    text-decoration: none;
}

a.report-delete:hover,
a.report-delete:focus {
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(to bottom, #e0686e 0%, #c04950 100%);
    border-color: #7a2a30;
    box-shadow: 0 0.25em 0.65em rgba(120, 30, 35, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

a.report-delete:active {
    transform: translateY(0);
    box-shadow: 0 0.1em 0.3em rgba(80, 20, 25, 0.4),
                inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.report-log {
    white-space: pre-wrap;
    word-break: break-word;
}

/* OS section boxes: auto-wrapped from ## Windows|Linux|MacOS|Android */
.os-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25em;
    margin: 1.5em 0;
    clear: both;
}

@media (min-width: 48em) {
    .os-sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 72em) {
    .os-sections {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.os-box {
    background-color: #fcfcfc;
    box-shadow: 0 0.3em 1.5em 0 rgba(0, 0, 0, 0.08);
    padding: 1em 1.25em 1.25em;
    border-radius: 0.2em;
    border-top: 0.2em solid #c0c0c3;
    min-width: 0;
}

.os-box h2 {
    display: flex;
    align-items: center;
    gap: 0.45em;
    margin: 0 0 0.75em 0;
    padding: 0;
    font-size: 1.15em;
    clear: none;
}

.os-box h2 img {
    height: 1.35em;
    width: auto;
    flex-shrink: 0;
}

.os-box p:last-child,
.os-box ul:last-child,
.os-box ol:last-child,
.os-box pre:last-child {
    margin-bottom: 0;
}

.os-windows {
    border-top-color: #5b9bd5;
}

.os-linux {
    border-top-color: #6a9a6a;
}

.os-macos {
    border-top-color: #8a8a8a;
}

.os-android {
    border-top-color: #5fad7a;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15em, 18em);
    gap: 1.5em 2em;
    align-items: start;
}

.support-main {
    min-width: 0;
}

.support-category {
    clear: none;
    font-size: 1.25em;
    margin: 1.25em 0 0.65em 0;
    padding-top: 0;
}

.support-category:first-child {
    margin-top: 0;
}

.support-faqs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85em;
    margin: 0 0 1.25em 0;
}

.support-aside,
#support_forums {
    float: none;
    width: auto;
    box-sizing: border-box;
    background-color: #fcfcfc;
    padding: 1.15em 1.25em 1.35em;
    border-radius: 0.35em;
    box-shadow: 0 0.3em 1.5em 0 rgba(0, 0, 0, 0.08);
    text-align: center;
}

.support-aside img,
#support_forums img {
    float: none;
    display: block;
    margin: 0 auto 0.85em auto;
}

.support-aside p,
#support_forums p {
    text-align: left;
    margin: 0 0 0.75em 0;
    line-height: 1.45;
    font-size: 0.95em;
}

.support-forums-btn,
a.support-forums-btn,
a.support-forums-btn:visited {
    display: inline-block;
    margin-top: 0.75em;
    padding: 0.65em 1.15em;
    border: 1px solid #3a5aab;
    border-radius: 0.35em;
    background: linear-gradient(to bottom, #5a7fd4 0%, #4a69c4 100%);
    color: #ffffff;
    font-size: 0.95em;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0.15em 0.4em rgba(40, 70, 140, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

a.support-forums-btn:hover,
a.support-forums-btn:focus {
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(to bottom, #6b8de0 0%, #5574d0 100%);
    box-shadow: 0 0.25em 0.55em rgba(40, 70, 140, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

#support_forums_link {
    /* kept as id on CTA for any old hooks */
}

.support_faq {
    width: 14em;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75em 0.85em;
    margin: 0;
    box-shadow: 0 0.3em 1.5em 0 rgba(0, 0, 0, 0.08);
    background-color: #fcfcfc;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    text-align: center;
    border-radius: 0.3em;
    border: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.3;
}

.os-box .support-faqs {
    margin-bottom: 0;
}

.os-box .support_faq {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.65);
}

.support_faq img {
    max-height: 2em;
    margin-right: 0.75em;
    float: none;
}

.support_faq:hover {
    background-color: #ffffff;
    transform: scale(1.04);
    text-decoration: none;
    box-shadow: 0 0.4em 1.6em 0 rgba(0, 0, 0, 0.12);
}

#support_body {
    /*padding:2em;*/
}

#article h1 {}

@media only screen and (max-width: 1000px) {}

@media only screen and (max-width: 1000px) {
    #mobile-menu {
        position: absolute;
        top: 0em;
        right: 0.2em;
        display: block;
        color: white;
        cursor: pointer;
        opacity: 0.7;
        font-size: 2em;
        z-index: 1;
    }
    #mobile-menu:hover {
        opacity: 1;
        transition: opacity 0.5s;
    }
    #header-links {
        background-color: rgba(0, 0, 0, 0.8);
        box-shadow: 0px 0px 1em black;
        opacity: 0;
        display: none;    
        padding-top: 3em;
        padding-bottom: 2em;
        z-index: 0;
    }
    #header-links a {
        display: block;
    }
    #header-links.mobile-menu-open {
        opacity: 1;
        display: block;
    }
    #support_forums {
        float: none;
        width: auto;
    }
    .support-layout {
        grid-template-columns: 1fr;
    }
    .support-aside {
        order: -1;
    }
    #footer {
        font-size: 2vw;
    }
    #theme-switch {
        right: 2.4em;
    }
    #theme-switch ~ #header-links {
        right: 0;
    }
}

/* ************************************************************************* */
/* Dark theme (data-theme resolved to dark; preference may be auto/dark)     */
/* ************************************************************************* */

html[data-theme="dark"] body,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background-color: #1a1a1e;
    color: #e4e4e8;
}

html[data-theme="dark"] a {
    color: #8db4ff;
}

html[data-theme="dark"] #header {
    background: rgba(18, 40, 72, 0.95);
    background: linear-gradient(to bottom, rgba(18, 40, 72, 0.95) 0%, rgba(28, 70, 120, 0.95) 100%);
    box-shadow: 0px 0px 2em rgba(0, 0, 0, 0.8);
}

html[data-theme="dark"] .content1,
html[data-theme="dark"] .content3 {
    background-color: #121214;
    box-shadow: inset 0px 0px 24px rgba(0, 0, 0, 0.85);
}

html[data-theme="dark"] #footer {
    background-color: #0e0e10;
    color: #9a9aa0;
    box-shadow: 0px 0px 2em rgba(0, 0, 0, 0.8);
}

html[data-theme="dark"] #footer a,
html[data-theme="dark"] #footer a:visited {
    color: #c8c8d0;
}

html[data-theme="dark"] pre {
    border-color: rgba(141, 180, 255, 0.22);
    border-left-color: #6d92e0;
    background-color: #1e2230;
    color: #dce3f5;
    box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.4);
    scrollbar-color: #5a6a90 #151822;
}

html[data-theme="dark"] pre::-webkit-scrollbar-track {
    background: #151822;
}

html[data-theme="dark"] pre::-webkit-scrollbar-thumb {
    background: #5a6a90;
}

html[data-theme="dark"] pre::-webkit-scrollbar-thumb:hover {
    background: #7a8eb8;
}

html[data-theme="dark"] code,
html[data-theme="dark"] span.code {
    border-color: rgba(141, 180, 255, 0.35);
    background-color: #2a3148;
    color: #b8d0ff;
    box-shadow: none;
}

html[data-theme="dark"] pre code {
    border: none;
    background-color: transparent;
    color: inherit;
}

html[data-theme="dark"] .notes-right {
    background-color: #24242a;
    box-shadow: 0px 0px 1em rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] #man-html {
    background-color: #24242a;
}

html[data-theme="dark"] .os-box {
    background-color: #24242a;
    box-shadow: 0 0.3em 1.5em 0 rgba(0, 0, 0, 0.35);
    border-top-color: #555560;
}

html[data-theme="dark"] .os-windows {
    border-top-color: #5b9bd5;
}

html[data-theme="dark"] .os-linux {
    border-top-color: #6a9a6a;
}

html[data-theme="dark"] .os-macos {
    border-top-color: #9a9aa0;
}

html[data-theme="dark"] .os-android {
    border-top-color: #5fad7a;
}

html[data-theme="dark"] #support_forums,
html[data-theme="dark"] .support-aside {
    background-color: #24242a;
    box-shadow: 0 0.3em 1.5em 0 rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .support_faq {
    background-color: #24242a;
    box-shadow: 0 0.3em 1.5em 0 rgba(0, 0, 0, 0.35);
    color: #8db4ff;
    border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .os-box .support_faq {
    background-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .support_faq:hover {
    background-color: #2e2e36;
}

html[data-theme="dark"] a.support-forums-btn,
html[data-theme="dark"] a.support-forums-btn:visited {
    color: #ffffff;
    border-color: #2a4580;
    background: linear-gradient(to bottom, #4a69c4 0%, #3452a0 100%);
}

html[data-theme="dark"] a.support-forums-btn:hover,
html[data-theme="dark"] a.support-forums-btn:focus {
    color: #ffffff;
    background: linear-gradient(to bottom, #5a7ad4 0%, #3f60b4 100%);
}

html[data-theme="dark"] .report-log {
    background-color: #141418;
}

html[data-theme="dark"] a.report-delete,
html[data-theme="dark"] a.report-delete:visited {
    color: #ffffff;
    border-color: #5c1e22;
    background: linear-gradient(to bottom, #c24e54 0%, #8a3036 100%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
    box-shadow: 0 0.2em 0.55em rgba(0, 0, 0, 0.55),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] a.report-delete:hover,
html[data-theme="dark"] a.report-delete:focus {
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(to bottom, #d65a60 0%, #9e3a40 100%);
    border-color: #7a282e;
    box-shadow: 0 0.3em 0.75em rgba(0, 0, 0, 0.65),
                0 0 0 1px rgba(255, 140, 140, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ************************************************************************* */
/* A11y: focus + reduced motion                                              */
/* ************************************************************************* */

a:focus-visible,
button:focus-visible,
#mobile-menu:focus-visible {
    outline: 2px solid #4a69c4;
    outline-offset: 2px;
}

#header a:focus-visible,
#theme-switch-toggle:focus-visible,
#mobile-menu:focus-visible {
    outline-color: #ffe08a;
}

html[data-theme="dark"] a:focus-visible,
html[data-theme="dark"] button:focus-visible {
    outline-color: #8db4ff;
}

html[data-theme="dark"] #header a:focus-visible,
html[data-theme="dark"] #theme-switch-toggle:focus-visible,
html[data-theme="dark"] #mobile-menu:focus-visible {
    outline-color: #ffe08a;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}