/* GLOBAL */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: #fff;
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 10px #1A4564;
    border-radius: 15px;
}

a {
    text-decoration: none;
    color: rgb(0,129,188);
}

td, p, ul, ol {
    line-height: 1.7;
}

ul, ol {
    padding-bottom: 10px;
}

ul li, ol li {
    line-height: 1.7 !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

ul li {
    padding-top: 2px;
    padding-bottom: 2px;
}

ol li {
    padding-top: 5px;
    padding-bottom: 5px;
}

ul li ul, ol li ol {
    padding-top: 10px;
    padding-bottom: 10px;
}

h1, h2 {
    border-bottom: 1px solid #E4E7EB;
    width: 90%;
}

h2 {
    padding-bottom: 5px;
}

[aria-hidden="true"] {
    display: none;
}

svg[aria-hidden="true"] {
    display: inline;
}

i[class^="fa"][aria-hidden="true"] {
    display: inline;
}

input[type="radio"]{
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    /* For iOS < 15 */
    background-color: #e6eef8;
    /* Not removed via appearance */
    margin: 0;
    color: rgb(71, 130, 203);
    width: 1.35em;
    height: 1.35em;
    border: 0.15em solid rgb(71, 130, 203);
    border-radius: 50%;
    display: inline-grid;
    place-content: center;
}

input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em rgb(71, 130, 203);
    /* Windows High Contrast Mode */
    background-color: rgb(71, 130, 203);
}

input[type="radio"]:checked::before {
    transform: scale(1);
}

input[type="radio"]:focus {
    outline-offset: max(2px, 0.15em);
}

/* FOOTER */
.copyright::before {
    background-image: url(../images/icons/wowza-icon-white.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    width: 150px;
    height: 20px;
    transform: scale(1.5);
    content: "";
    position: absolute;
}

/* Footer background color */
.Footer__FooterWrapper-sc-19dn4cx-2,
[class*="Footer__FooterWrapper"] {
    background: rgb(0, 27, 47) !important;
}

/* Footer copyright section background */
.FooterCopyright__FooterCopyrightWrapper-sc-5k4gqv-0,
[class*="FooterCopyright__FooterCopyrightWrapper"],
.Footer__FooterCopyrightWrapper-sc-19dn4cx-0,
[class*="Footer__FooterCopyrightWrapper"] {
    background: rgb(0, 27, 47) !important;
}

/* Footer column styling - for custom Footer component */
li.footer-column-heading {
    color: #fbfbfc !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    border-right: 1px solid #225b84;
    height: 250px;
    padding-bottom: 20px;
}

/* Remove right border from last column */
ul:nth-child(3) li.footer-column-heading {
    border-right: 0;
}

/* Footer link colors - multiple selectors for maximum coverage */
ul[class*="Footer__FooterItems"] li a,
li.footer-link a,
.footer-link a {
    color: #c4c6d1 !important;
    font-weight: 400;
    font-size: 14px;
}

/* Copyright text and links */
.copyright,
.copyright a,
div[class*="FooterCopyright"] .copyright,
div[class*="FooterCopyright"] .copyright a {
    color: #c4c6d1 !important;
}

/* Footer link hover effect */
.FooterItem__FooterLink-sc-weodp0-2:hover,
[class*="FooterItem__FooterLink"]:hover,
.FooterItem__FooterItemWrapper-sc-weodp0-3 a:hover,
[class*="FooterItem__FooterItemWrapper"] a:hover,
li.footer-link a:hover,
.footer-link a:hover,
.copyright a:hover {
    color: #ff8400 !important;
}

/* Orange arrow icons before footer links */
.FooterItem__FooterItemWrapper-sc-weodp0-3::before,
[class*="FooterItem__FooterItemWrapper"]::before {
    content: url(../images/icons/orange-arrow.png);
    vertical-align: -12%;
    margin-right: 8px;
    display: inline-block;
}

/* HOMEPAGE */
/* landing page layout */
.landing-page {
    width: 100%;
}

.jumbotron {
    padding: 0;
    background-image: url(https://www.wowza.com/wp-content/uploads/home-hero-bg-fallback.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 55% 45%;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.jumbotron-content {
    width: 100%;
    margin-top: 100px;
}

.jumbotron h1 {
    width: 42%;
    text-align: center;
    font-size: 4rem;
    padding: 20px;
    margin: auto;
    margin-bottom: 80px;
    border-bottom: none;
    color: #013053;
    font-family: Inter, sans-serif;
    font-weight: 900;
    background-color: rgba(219, 219, 219, 0.6);
    border-radius: 20px;
}

.jumbotron h2 {
    width: 100%;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
    font-size: 1.65rem;
    background-color: #1A4564;
    padding: 15px;
    border-bottom: none;
    color: #D9ECF5;
}

.content-wrapper {
    padding: 25px 0;
}

.tile-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 30px 30px 0px;
    background-color: #c0e1f0;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.wide-tile {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    padding: 0;
    margin: 0 5px 30px;
    text-decoration: none;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wide-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tile-icon {
    width: 80px;
    height: 80px;
    margin: 20px 20px 10px;
}

.tile-content {
    padding: 0 20px 20px;
}

.tile-content h3 {
    font-family: Inter, sans-serif;
    color: #1A4564;
    border-bottom: 2px solid rgba(255, 132, 0, .7);
    font-size: 1.25rem;
    margin: 0 0 10px;
    padding: 10px 0;
}

.tile-content p {
    font-family: Inter, sans-serif;
    color: #65686a;
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
    line-height: 1.7;
}

/* top navigation */
/* Use CSS custom properties to style the navbar */
:root {
    --navbar-bg-color: #000B2F !important;
    --navbar-border: 1px solid !important;
    --navbar-border-color: #225b84 !important;
    --navbar-text-color: white !important;
    --navbar-item-font-weight: 700 !important;
    --navbar-item-font-size: 1.1rem !important;
    --navbar-item-text-color-hover: #ff8400 !important;
}

/* Target the navbar wrapper directly */
.Navbar__NavbarWrapper-sc-14w3yh2-0,
.Navbar__NavbarRow-sc-14w3yh2-1 {
    background: #000B2F !important;
    border-image: linear-gradient(to left, #013053, #225b84) 1;
    border-bottom: 1px solid;
}

/* Target navbar links */
.NavbarItem__NavbarMenuItem-sc-16vobcz-1 {
    letter-spacing: 1px;
}

img[alt="Wowza for Developers logo"] {
    margin-bottom: 0px;
    padding: 0;
}

/* Legacy search input styles (kept for compatibility) */
input#search {
    background-color: #e7eaef;
    border-radius: 10px;
    color: #65686a;
    border: 2px solid;
    font-size: 1.1rem;
}

/* update with package.json changes icon inside search, done for beta-143 */
span.sc-bHnlcS.sc-fatcLD {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='10px' height='10px' x='0' y='0' viewBox='0 0 298.7 298.7' xml:space='preserve'%3E%3Cpolygon fill='%2365686a' points='298.7 30.2 268.5 0 149.3 119.1 30.2 0 0 30.2 119.1 149.3 0 268.5 30.2 298.7 149.3 179.5 268.5 298.7 298.7 268.5 179.5 149.3 '/%3E%3C/svg%3E%0A");
}

input#search:placeholder-shown {
    border-radius: 10px;
    color: #FF8400;
    border: 2px solid;
}

/* New SearchTrigger component styles */
.SearchTrigger__SearchTriggerWrapper-sc-i2ptuf-0,
.SearchTrigger__SearchTriggerButton-sc-i2ptuf-1,
.SearchTrigger__SearchTriggerInput-sc-i2ptuf-2 {
    background-color: #e7eaef !important;
    border: 2px solid #ff8400 !important;
    border-radius: 10px !important;
}

/* Ensure the button and input inherit the correct colors */
.SearchTrigger__SearchTriggerInput-sc-i2ptuf-2 {
    color: #65686a !important;
    font-size: 1.1rem !important;
}

::placeholder {
    font-family: Inter, sans-serif;
    color: #65686a !important;
    font-size: 1.1rem;
}

/* Navbar link styling for specific items */
nav ul li[data-cy="FORUMS"] a {
    margin-left: 20px;
    color: white;
}

nav ul li[data-cy="SUPPORT"] a, nav ul li[data-cy="STATUS"] a {
    color: white;
}

nav a.external-url::after{
    visibility: hidden;
}

/* SIDEBAR */
aside {
    font-weight: 400;
    top: 0px;
}

aside > div {
    padding-bottom: 50px;
}

aside ul, aside ol {
    line-height: 1.35;
}

div[data-cy^="sidebar-item"] {
    padding-right: 60px;
}

/* changes first div */
aside > div:first-child {
    padding-top: 0px;
}

/* update with package.json changes sc class for Resource Management and Analytics in WV API reference, done for beta-143 */
div[data-cy="sidebar-item-Wowza Flowplayer"], div[data-cy="sidebar-item-Wowza Video"], div[data-cy="sidebar-item-Wowza Video (1.x Legacy API)"], span.sc-pKqro {
    font-weight: 700;
    font-size: 1rem;
    margin-top: 15px;
}

/* update with package.json changes hide SDK > Android > API external link icon, done for beta-143 */
i.sc-djTQaJ {
    visibility: hidden;
}

div[data-cy="sidebar-item-<docs/index.md>"] {
    display: none;
}

/* caret for sidebar nav */
i[direction="down"] {
    background-image: url(../images/icons/arrow-down.svg);
    background-size: 30px 13px;
}

i[direction="right"] {
    background-image: url(../images/icons/arrow-down.svg);
    background-size: 30px 13px;
}

/* sdk section */
div[data-cy="sidebar-item-Android SDK"] span:nth-child(1), div[data-cy="sidebar-item-Apple SDK"] span:nth-child(1), div[data-cy="sidebar-item-Smart TV SDKs"] span:nth-child(1), div[data-cy="sidebar-item-React Native SDK"] span:nth-child(1) {
    padding-left: 8px;
    font-weight: 300;
}

div[data-cy="sidebar-item-Android SDK"], div[data-cy="sidebar-item-Apple SDK"], div[data-cy="sidebar-item-Smart TV SDKs"], div[data-cy="sidebar-item-React Native SDK"] {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* update with package.json changes back button for sidebar scoped view, done for beta-143 */
.sc-gFnajm {
    padding-bottom: 20px !important;
    color: white !important;
}

/* update with package.json changes div containing back button for sdk section aside, done for beta-143 */
.sc-eONNys {
    margin-bottom: 0 !important;
}

/* update with package.json changes default back arrow for scoped view, done for beta-143 */
.sc-eONNys svg {
    display: none;
}

/* update with package.json changes updated icon for back button in scoped view, done for beta-143 */
.sc-eONNys::before {
    content: url(../images/icons/back-icon.svg);
    padding-right: 5px;
    vertical-align: middle;
    width: 7%;
    position: fixed;
}

/* update with package.json changes items under separator in scoped view for sdk section, done for beta-143 */
.sc-btwKTd .sc-gAjuZT .sc-dBFDNq {
    margin-left: 20px;
}

/* update with package.json changes button text next to back arrow, done for beta-143 */
.sc-btwKTd button {
    padding-left: 35px;
    font-size: 1rem;
}

div[data-cy="sidebar-item-Developer demos"] + span {
    margin-top: 20px;
}

div[data-cy="sidebar-item-Migration guides"] ~ span, div[data-cy="sidebar-item-tvOS features"] ~ span {
    margin-left: 5px;
    margin-top: 20px;
}

div[data-cy="sidebar-item-Get started"] + ul a, div[data-cy="sidebar-item-iOS features"] + ul a, div[data-cy="sidebar-item-tvOS features"] + ul a, div[data-cy="sidebar-item-iOS (deprecated)"] + ul a, div[data-cy="sidebar-item-tvOS (deprecated)"] + ul a, div[data-cy="sidebar-item-Supported features"] + ul a, div[data-cy="sidebar-item-Migration guides"] + ul a, div[data-cy="sidebar-item-Android (deprecated)"] + ul a {
    padding-left: 15px;
}

/* text in WV REST API version dropdown */
.react-select__menu {
    color: rgb(51, 51, 51);
}

/* TOC */
/* update with package.json changes on this page text, done for beta-143 */
div.sc-jhlPcU {
    color: #1A4564;
    font-size: 1.1rem;
    font-family: Inter, sans-serif;
    padding-top: 35px;
}

/* update with package.json changes toc links, done for beta-143 */
a.sc-cDsqlO {
    color: #65686a;
    font-size: .9rem;
    font-family: Inter, sans-serif;
    line-height: 1.25;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 25px;
}

/* update with package.json changes toc left border, done for beta-143 */
div.sc-ZbTNT {
    border-left: 2px solid rgba(34, 91, 132, 0.431);
    height: auto;
    position: sticky;
    top: 5rem;
    padding-left: 10px;
}

/* PAGE CONTENT */
img[data-class="image-border"] {
    border: 1px solid rgb(204, 204, 204);
}

td span.gatsby-resp-image-background-image {
    display: inline !important;
}

td span.gatsby-resp-image-wrapper img.gatsby-resp-image-image {
    position: relative !important;
}

#react-native-sdk-lifecycle-events-table table thead tr th:first-child{
    width: 300px;
}

#react-native-sdk-value-based-props-table table thead tr th:first-child {
    width: 325px;
}

#react-native-sdk-flowplayer-ref-table table thead tr th:first-child, #react-native-sdk-react-context-table table thead tr th:first-child {
    width: 375px;
}

#react-native-sdk-ad-events-table table thead tr th:first-child, #react-native-sdk-error-events-table table thead tr th:first-child {
    width: 420px;
}

/* admonitions */
:root {
    --admonition-heading-transform: uppercase;
}

/* Target admonition heading div */
div[class*="Admonition__Heading"] {
    text-transform: uppercase !important;
}

.admonition-content {
    font-size: .9rem;
    font-weight: 400;
    color: #65686a;
}

.admonition-content ul {
    padding-left: 2em;
}

.admonition-content ul li {
    padding-right: 25px;
}

div.admonition.admonition-attention {
    margin: 20px 0;
}

.admonition.admonition-attention + h5 {
    font-size: 1rem;
    color: #65686a;
}

div.admonition.admonition-attention::before, div.admonition.admonition-warning::before, div.admonition.admonition-success::before, div.admonition.admonition-danger::before {
    top: 35px;
}

div.admonition.admonition-attention {
    border-left: solid 3px;
    border-color: rgb(71, 130, 203);
    border-radius: 0;
}

div.admonition.admonition-warning {
    border-left: solid 3px;
    border-color: rgb(212, 173, 3);
    border-radius: 0;
}

div.admonition.admonition-success {
    border-left: solid 3px;
    border-color: rgb(103, 174, 110);
    border-radius: 0;
    background-color: rgb(205, 240, 208);
}

div.admonition.admonition-danger {
    border-left: solid 3px;
    border-color: rgb(229, 57, 53);
    border-radius: 0;
}
div.admonition.admonition-attention h5 {
    color: rgb(71, 130, 203);
    text-transform: uppercase;
}

div.admonition.admonition-warning h5 {
    color: rgb(185, 152, 2);
    text-transform: uppercase;
}

div.admonition.admonition-success h5 {
    color: rgb(103, 174, 110);
    text-transform: uppercase;
}

div.admonition.admonition-danger h5 {
    color: rgb(229, 57, 53);
    text-transform: uppercase;
}

/* Apply uppercase transform to all admonition headings */
div.admonition h5,
div.admonition-info h5,
div.admonition-note h5,
div.admonition-alternative h5,
div.admonition-device h5 {
    text-transform: uppercase;
}

.version {
    background-color: rgba(255, 132, 0, 0.9);
    border-radius: 0.375rem;
    color: white;
    padding-top: 0.225rem;
    padding-right: 0.425rem;
    padding-bottom: 0.225rem;
    padding-left: 0.425rem;
    font-weight: bold;
}

.react-native-sdk-version.version, .wowza-flowplayer-version.version {
    padding-left: 0;
}

.current-version-pill span.android-sdk-version.version::before, .current-version-pill span.apple-sdk-version.version::before, .current-version-pill span.react-native-sdk-version.version::before, .current-version-pill span.wowza-flowplayer-version.version::before {
    content: "Current version: ";
    background-color: #65686A;
    color: white;
    border-radius: 0.375rem 0 0 0.375rem;
    padding-top: 0.225rem;
    margin-right: 7px;
    padding-bottom: 0.225rem;
    padding-left: 0.3rem;
    font-weight: bold;
}

.full-version-text .android-sdk-version.version, .full-version-text .apple-sdk-version.version, .full-version-text .react-native-sdk-version.version, .full-version-text .wowza-flowplayer-version.version {
    background-color: white;
    color: #65686A;
}

.full-version-text .apple-sdk-version.version::before, .full-version-text .react-native-sdk-version.version::before {
    content: "Wowza Flowplayer Apple SDK ";
    display: inline;
    background-color: white;
    color: #65686A;
    padding-left: 0;
}

.full-version-text .android-sdk-version.version::before, .full-version-text .react-native-sdk-version.version::before {
    content: "Wowza Flowplayer Android SDK ";
    display: inline;
    background-color: white;
    color: #65686A;
    padding-left: 0;
}

.full-version-text .react-native-sdk-version.version::before {
    content: "Wowza Flowplayer React Native SDK ";
    display: inline;
    background-color: white;
    color: #65686A;
    padding-left: 0;
}

.full-version-text .wowza-flowplayer-version.version::before {
    content: "Wowza Flowplayer ";
    display: inline;
    background-color: white;
    color: #65686A;
    padding-left: 0;
}

a.endpoint-link code.language-text {
    color: rgb(0, 129, 188)!important;
    font-family: "Courier", monospace;
    font-size: 1rem;
    font-weight: 500;
    background-color: white;
    border: none;
    padding: 0px;
}

.endpoint-link code.language-text {
    color: rgb(0, 129, 188)!important;
    font-family: "Courier", monospace;
    font-size: 1rem;
    font-weight: 500;
    background-color: white;
    border: none;
    padding: 0px;
}

.endpoint-link code.language-text:hover {
    color: #23baff!important;
}

/* update with package.json changes page content alignment, done for beta-143 */
.sc-fuTSoq {
    margin: 0px 60px !important;
}

/* content margins Wowza Video REST API div.sc-hndLF.iWdQWF.redoc-wrap previously */
div.redoc-wrap {
    margin-left: 40px;
    padding-top: 20px;
}

/* code snippets in WV REST API reference docs */
div.redoc-wrap code {
    color: rgb(170, 91, 6);
}

/* update with package.json enum values in span tag WV REST API reference docs, done for beta-143 */
div.redoc-wrap .hTQUGm {
    color: rgb(170, 91, 6);
    font-size: 13px;
}

article h2 {
    font-size: 1.7rem !important;
}

article h3 {
    font-size: 1.4rem !important;
    font-weight: 700;
}

article h4 {
    font-size: 1.2rem !important;
}

article h5 {
    font-size: 1rem !important;
}

article h6 {
    font-size: .8rem !important;
}

article tbody tr td code.language-text {
    overflow-wrap: normal;
}

article strong {
    font-weight: 700 !important;
}

code[class="language-text"] {
    color: rgb(170, 91, 6) !important;
}

.gatsby-highlight .token.boolean, code[class*="language-"] .token.boolean, pre[class*="language-"] .token.boolean {
    color: #a0fbaa !important;
}

/* style content with iOS and tvOS tags */
#manage-media-playback-apple-sdk h2:nth-child(18)::after, #listen-for-events-apple-sdk h3:nth-child(42)::after, #listen-for-events-apple-sdk h3:nth-child(66)::after, #set-up-the-player-apple-sdk h3:nth-child(4)::after, #subtitles-apple-sdk-ios h2:nth-child(10)::after, aside a[href="#flowplayerviewapi"]::after, aside a[href="#flowplayerviewdelegate"]::after, aside a[href="#player-view-notifications"]::after, aside a[href="#ios-projects"]::after, aside a[href="#enable-the-subtitles-plugin"]::after {
    content: "iOS";
    margin-left: 5px;
    background-color: rgb(255, 132, 0);
    border-radius: 0.375rem;
    color: white;
    padding: 0.125rem 0.375rem;
    font-size: 1em;
}

#manage-media-playback-apple-sdk h2:nth-child(26)::after, #set-up-the-player-apple-sdk h3:nth-child(14)::after, aside a[href="#flowplayermanagerapi"]::after, aside a[href="#tvos-projects"]::after {
    content: "tvOS";
    margin-left: 5px;
    background-color: rgb(255, 132, 0);
    border-radius: 0.375rem;
    color: white;
    padding: 0.125rem 0.375rem;
    font-size: 1em;
}

/* check icon for headings */
#about-the-android-sdk h2:nth-child(8)::after {
    content: url(../images/icons/circle-check.svg);
    padding-left: 7px;
    vertical-align: middle;
    display: inline-block;
    width: 25px;
}

/* code snippets */

.code-wrapper {
    margin: 20px 0;
}

p code.language-text, td code.language-text, ul code.language-text, ol code.language-text {
    color: #aa5b06;
}

.code-wrapper .gatsby-highlight .token.comment, code[class*="language-"] .token.comment, pre[class*="language-"] .token.comment {
    color: #49ab65;
}

.gatsby-highlight .token.boolean, code[class*="language-"] .token.boolean, pre[class*="language-"] .token.boolean {
    color: #a0fbaa;
}

#component-registry-cdn-snippet-html .code-wrapper {
    margin-left: 30px;
    margin-top: 0;
    margin-bottom: 0;
}

#component-registry-cdn-snippet-js .code-wrapper {
    margin-left: 30px;
    margin-top: 0;
}

/* tabbed code snippets */
.snippets-tabs-contents .code-wrapper {
    margin: 0px;
}

.code-snippets-tabs .tab-content.active {
    margin-top: 0px !important;
}

.code-snippets-tabs {
    margin-top: 40px !important;
}

.tab-header {
    font-size: 1.1em;
    font-weight: 600;
    padding-right: 20px !important;
    padding-left: 20px !important;
    padding-bottom: 5px !important;
}

.tab-header.active {
    background-color: #323F4B;
    color: white !important;
    margin-top: 0px;
    font-size: 1.1em;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.snippets-tabs-contents .tab-content.active .code-wrapper .gatsby-highlight pre[class*="language-"], pre[class*="language-"] {
    border-top-left-radius: 0px;
}

.code-snippets-tabs .snippets-tabs-headers span.tab-header[data-snippet-id="empty-tab"] {
    display: none;
}

/* FP release note radio buttons https://codepen.io/5t3ph/pen/VweBgeZ */
#flowplayer-release-radios {
    background-color: #e6eef8;
    padding: 20px;
    line-height: 2;
    border-left: solid 3px;
    border-color: rgb(71, 130, 203);
}

#about-the-android-sdk img {
    padding-top: 25px;
}

#about-the-android-sdk span.gatsby-resp-image-background-image {
    margin-bottom: 25px;
}

#about-the-android-sdk .gatsby-img-attributes {
    display: block !important;
}

.fa-solid.fa-circle-check {
    color: rgb(63, 163, 73);
}

.fa-solid.fa-circle-xmark {
    color: rgb(177, 66, 66);
}

#multi-player-img {
    width: 100%;
}

a[data-cy="next-to"] button {
    line-height: 1.2rem;
    margin-bottom: 25px;
}

/* react-tabs styling */
.react-tabs .react-tabs__tab--selected {
    color: #4782CB;
    font-weight: bold;
    border-color: #fff;
    border-bottom: 4px solid #4782CB;
}

.react-tabs .react-tabs__tab-list {
    border-bottom: 0px;
}

.react-tabs .react-tabs__tab:focus {
    box-shadow: 0 0 0 #fff;
    border-color: #fff;
    border-bottom: 4px solid #4782CB;
}

.react-tabs .react-tabs__tab {
    position: inherit;
}

.react-tabs img {
    padding-top: 20px;
}

.react-tabs p code, .react-tabs li code {
    color: rgb(170, 91, 6);
}

.react-tabs pre {
    border-top-left-radius: 4px;
}

/* VIDEO */
video.mobile {
    margin-top: 25px;
    margin-bottom: 25px;
    clip-path: inset(0.4% 0% 0% 0.57% round 27px);
}

/* 404 */
.button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0081bc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.button-link:hover {
    background-color: #23baff;
    color: white;
}

#page-not-found-text {
    display: flex;
}

#page-not-found-text::before {
    content: url(./images/404-tv-600x600.png);
    transform: scale(.85);
}

#page-not-found > span > img.gatsby-resp-image-image {
    position: relative !important;
    vertical-align: text-top !important;
}

#page-not-found > span > span.gatsby-resp-background-image {
    display: none !important;
    padding-bottom: 0 !important;
    background-image: none !important;
    position: absolute !important;
}

/* update with package.json changes enter section element for 404 content, done for beta-143 */
.sc-cMRZhK section:nth-child(1) {
    margin: auto !important;
}

/* Dark mode: remove border from navbar */
@media (prefers-color-scheme: dark) {
    .Navbar__NavbarRow-sc-14w3yh2-1,
    [class^="Navbar__NavbarRow"] {
        border: none !important;
        border-bottom: none !important;
    }
}

/* Override footer CSS variables globally (for both light and dark modes) */
:root {
    --footer-bg-color: #001B2F !important;
    --footer-text-color: #c4c6d1 !important;
    --footer-link-text-color: #c4c6d1 !important;
    --footer-link-color-hover: #ff8400 !important;
    --footer-title-text-color: #fbfbfc !important;
    --footer-title-text-color-hover: #ff8400 !important;
}

/* Light mode: ensure footer has dark background and light text */
@media (prefers-color-scheme: light) {
    /* Override CSS variables for footer colors */
    :root {
        --footer-bg-color: #001B2F !important;
        --footer-text-color: #c4c6d1 !important;
        --footer-link-text-color: #c4c6d1 !important;
        --footer-link-color-hover: #ff8400 !important;
        --footer-title-text-color: #fbfbfc !important;
        --footer-title-text-color-hover: #ff8400 !important;
    }
    
    /* Force dark background on footer in light mode */
    div[class*="FooterWrapper"],
    [class*="Footer__FooterWrapper"] {
        background: #001B2F !important;
    }
    
    div[class*="FooterCopyright"],
    [class*="Footer__FooterCopyrightWrapper"] {
        background: #000 !important;
    }
    
    /* Footer column headings - light color on dark background */
    li.footer-column-heading {
        color: #fbfbfc !important;
    }
    
    /* Footer links - light color on dark background */
    li.footer-link a,
    .footer-link a,
    ul[class*="Footer__FooterItems"] li a {
        color: #c4c6d1 !important;
    }
    
    /* Copyright text and links */
    .copyright,
    .copyright a {
        color: #c4c6d1 !important;
    }
    
    /* Hover state */
    li.footer-link a:hover,
    .footer-link a:hover,
    .copyright a:hover {
        color: #ff8400 !important;
    }
}

/* Dark mode: also override CSS variables to ensure consistency */
@media (prefers-color-scheme: dark) {
    :root {
        --footer-bg-color: #001B2F !important;
        --footer-text-color: #c4c6d1 !important;
        --footer-link-text-color: #c4c6d1 !important;
        --footer-link-color-hover: #ff8400 !important;
        --footer-title-text-color: #fbfbfc !important;
        --footer-title-text-color-hover: #ff8400 !important;
    }
}

