/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout.razor.css */

:root[b-st2ves3ose] {
    /*
    --header-background: #007bff;
    --header-text-color: #ffffff;
    --header-link-color: #cce5ff;
    --sidebar-background: #f8f9fa;
    --sidebar-text-color: #343a40;
    --content-background: #ffffff;
    --top-row-background: #ffffff;
    --top-row-border-color: #dee2e6;
    --footer-background: #f8f9fa;
    --footer-text-color: #6c757d;
    --sidebar-width: 10%;
    */
}

/* 1. Global Resets and Full Height Setup */
html[b-st2ves3ose], body[b-st2ves3ose] {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents scrollbars on the body/html, scrolling handled by app-container children */
}

/* 2. Main Application Container */
/* This class should be applied to the root element of your MainLayout.razor file */
.page[b-st2ves3ose] {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Should not scroll; children will manage their scrolling */
    margin: 0;
    border: 1px solid #7f7f7f;
    padding: 0;
}

/* Header Styles */
.page-header[b-st2ves3ose] {
    flex-shrink: 0; /* Prevents header from shrinking */
    /*background-color: var(--header-background);*/
    color: var(--header-text-color);
    margin: 0;
    border-bottom: 1px solid #7f7f7f;
    padding: 0;
    z-index: 1030; /* Ensure header is above other content, common z-index for fixed headers */
}

.page-header-row-1[b-st2ves3ose] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border: 0;
    padding: 0;
}

.page-title[b-st2ves3ose] {
    margin: 0;
    border: 0;
    padding: 0;
    font-weight: 800;
}

.page-header-row-2[b-st2ves3ose] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 0 1rem;
    border: 0;
    padding: 0;
}

.page-subtitle[b-st2ves3ose] {
    margin: 0;
    border: 0;
    padding: 0;
    justify-content: space-between;
}

/* 3. Main Body Row (Sidebar + Content Area) */
.page-center[b-st2ves3ose] {
    display: flex;
    flex-grow: 1; /* Takes up available space between header and footer */
    overflow: hidden; /* Prevents this row from scrolling; children handle their own scroll */
    margin: 0;
    border: none;
    padding: 0;
}

/* 4. Sidebar Styles */
.page-sidebar[b-st2ves3ose] {
    width: auto;
    flex-shrink: 0; /* Prevents sidebar from shrinking */
    height: 100%; /* Full height of .body-row */
    /*background-color: var(--sidebar-background);
    color: var(--sidebar-text-color);*/
    overflow: auto; /* Allows vertical scrolling WITHIN the sidebar */
    margin: 0;
    border: none;
    padding: 0;
    align-content: start
    /*border-right: 1px solid var(--top-row-border-color);*/
}

/* 5. Content Column (Wraps Top-Row and Main Scrollable Content) */
.page-content[b-st2ves3ose] {
    flex-grow: 1; /* Takes remaining width next to sidebar */
    display: flex;
    flex-direction: column;
    height: 100%; /* Full height of .body-row */
    overflow: auto; /* hidden prevents this column from scrolling */
    /*background-color: var(--content-background);*/ /* Background for the entire content area */
    margin: 0;
    border: 0;
    padding: 0;
}

/* 6. Top Row within Content Column (e.g., for breadcrumbs, secondary nav) */
.page-content-top-row[b-st2ves3ose] {
    flex-shrink: 0; /* Prevents .top-row from shrinking */
    display: flex;
    align-items: center;
    text-align: center;
    /* px-4 utility class usually provides horizontal padding (padding-left: 1.5rem; padding-right: 1.5rem;) */
    /* If not using a utility class, add padding here: e.g., padding: 0.5rem 1.5rem; */
    min-height: 3.5rem; /* Ensure it has some height, adjust as needed */
    /*border-bottom: 1px solid var(--top-row-border-color);*/
    /*background-color: var(--top-row-background);*/
    margin: 0;
    border: 0;
    padding: 0;
}

/* 7. Main Scrollable Content Area */
/* This is where @Body (page content) is rendered */
.page-content-body[b-st2ves3ose] {
    flex-grow: 1; /* Takes available vertical space within .content-column */
    /*overflow-y: auto;*/ /* CRITICAL: Enables vertical scrolling for page content */
    /* px-4 utility class usually provides horizontal padding. */
    /* Add vertical padding here or ensure px-4 also covers it. */
    margin: 0;
    border: 0;
    padding: 1.5rem;
    /* background-color is inherited from .content-column or can be set specifically if different */
}

/* Footer Styles */
.page-footer[b-st2ves3ose] {
    flex-shrink: 0; /* Prevents footer from shrinking */
    /*background-color: var(--footer-background);
    color: var(--footer-text-color);*/
    text-align: center;
    margin: 0 1rem;
    border-top: 1px solid #7f7f7f;
    padding: 0;
}

.page-footer-row-1[b-st2ves3ose] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border: 0;
    padding: 0;
}

.page-footer-row-2[b-st2ves3ose] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border: 0;
    padding: 0;
}

.language-menu-scrollable[b-st2ves3ose] {
    max-height: 240px;
    overflow-y: scroll;
}


.bg-image-transparent-only[b-st2ves3ose] {
    position: relative; /* Required for the pseudo-element to be positioned correctly */
    z-index: 1; /* Ensures content is above the background */
}

    .bg-image-transparent-only[b-st2ves3ose]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Set the image and its properties */
        /* background-image: url('icons/BallNoText.png');*/
        background-image: url('/Images/Logo_GlobalDigitalCurrency_Front.jpg');
        background-size: cover;
        background-position: center;
        /* Set the transparency of the background only */
        opacity: 0.10;
        /* Place the background behind the content */
        z-index: -1;
    }

.corner-selector[b-st2ves3ose] {
    background: none;
    border: none;
    /*: var(--header-text-color);*/
    cursor: pointer;
    margin: 0.25rem 0.05rem;
    border: 0;
    padding: 0;
    font-size: 1.0em;
}

    .corner-selector:hover[b-st2ves3ose] {
        opacity: 0.8;
    }

.tight[b-st2ves3ose] {
    margin: 0;
    border: 0;
    padding: 0;
}

.tight-line[b-st2ves3ose] {
    margin: 0;
    padding: 0;
}


/* Blazor Error UI - Ensure it remains visible */
#blazor-error-ui[b-st2ves3ose] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1060; /* High z-index to be on top */
}

    #blazor-error-ui .dismiss[b-st2ves3ose] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu.razor.css */
.nav-menu[b-m2pcmv77he] {
    /*background: #f8f9fa;*/ /* Light grey background */
    width: auto; /* Default width */
    height: 100%; /* Take full height of its container */
    transition: width 0.3s ease;
    overflow-x: auto; /* Hide content when collapsing */
    /*padding-top: 1rem;*/
    /*border-right: 1px solid #7f7f7f;*/
}

    .nav-menu.collapsed[b-m2pcmv77he] {
        width: 0; /* Collapse by setting width to 0 (Bullshit!  Doesn't fucking work!  Whether or not if the menu is showing, the space is always reserved (i.e. collapsing does not provide more space to center content) */
        padding-left: 0;
        padding-right: 0;
    }

    .nav-menu .nav-flex-column[b-m2pcmv77he] {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .nav-menu .nav-item[b-m2pcmv77he] {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
        white-space: nowrap; /* Prevent text wrapping during collapse */
    }

        .nav-menu .nav-item:first-of-type[b-m2pcmv77he] {
            padding-top: 1rem;
        }

        .nav-menu .nav-item:last-of-type[b-m2pcmv77he] {
            padding-bottom: 1rem;
        }

        .nav-menu .nav-item .nav-link[b-m2pcmv77he] {
            /*color: #333;*/
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
            /*width: 100%;*/
        }

    .nav-menu .nav-link.active[b-m2pcmv77he] {
        /*background-color: rgba(0, 123, 255, 0.25);
        color: #007bff;*/
    }

    .nav-menu .nav-link:hover[b-m2pcmv77he] {
        /*background-color: rgba(0, 0, 0, 0.1);
        color: #333;*/
    }

    .nav-menu .oi[b-m2pcmv77he] { /* Open Iconic icons */
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-rxlv7fcbdp],
.components-reconnect-repeated-attempt-visible[b-rxlv7fcbdp],
.components-reconnect-failed-visible[b-rxlv7fcbdp],
.components-pause-visible[b-rxlv7fcbdp],
.components-resume-failed-visible[b-rxlv7fcbdp],
.components-rejoining-animation[b-rxlv7fcbdp] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-rxlv7fcbdp],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-rxlv7fcbdp],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-rxlv7fcbdp],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-rxlv7fcbdp],
#components-reconnect-modal.components-reconnect-retrying[b-rxlv7fcbdp],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-rxlv7fcbdp],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-rxlv7fcbdp],
#components-reconnect-modal.components-reconnect-failed[b-rxlv7fcbdp],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-rxlv7fcbdp] {
    display: block;
}


#components-reconnect-modal[b-rxlv7fcbdp] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-rxlv7fcbdp 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-rxlv7fcbdp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-rxlv7fcbdp 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-rxlv7fcbdp]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-rxlv7fcbdp 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-rxlv7fcbdp {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-rxlv7fcbdp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-rxlv7fcbdp {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-rxlv7fcbdp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-rxlv7fcbdp] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-rxlv7fcbdp] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-rxlv7fcbdp] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-rxlv7fcbdp] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-rxlv7fcbdp] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-rxlv7fcbdp] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-rxlv7fcbdp 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-rxlv7fcbdp] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-rxlv7fcbdp {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* 1. The Containing Window */
/* It stays peacefully inside your Blazor layout. No overriding sidebars or footers. */
.media-container[b-8qwc7f1b6j] {
    position: relative;
    width: 100%;
    /* IMPORTANT: If your Blazor layout's main content area doesn't have a hardcoded height, 
       100% won't mean anything and the height will collapse to 0. 
       Adjust this '75vh' value to comfortably fill the space between your top bar and footer. */
    height: 85vh;
    background-color: black;
    overflow: hidden;
}

/* 2. The Media */
/* Absolute positioning takes the media out of the flow. A 4000px image can no longer stretch the container. */
.media-item[b-8qwc7f1b6j] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Expands/shrinks to fit the window exactly, no cropping, no distortion. */
}
/* /Components/Pages/Presentation/Rotation.razor.rz.scp.css */
/* 1. The Containing Window */
/* It stays peacefully inside your Blazor layout. No overriding sidebars or footers. */
.media-container[b-87uit2y445] {
    position: relative;
    width: 100%;
    /* IMPORTANT: If your Blazor layout's main content area doesn't have a hardcoded height, 
       100% won't mean anything and the height will collapse to 0. 
       Adjust this '75vh' value to comfortably fill the space between your top bar and footer. */
    height: 85vh;
    background-color: black;
    overflow: hidden;
}

/* 2. The Media */
/* Absolute positioning takes the media out of the flow. A 4000px image can no longer stretch the container. */
.media-item[b-87uit2y445], .logo-gap[b-87uit2y445] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Expands/shrinks to fit the window exactly, no cropping, no distortion. */
}

/* 3. Animations */
.logo-gap[b-87uit2y445] {
    opacity: 0;
    animation: fadeLogo-b-87uit2y445 6s linear forwards;
}

    .logo-gap.paused[b-87uit2y445] {
        animation-play-state: paused;
        opacity: 1; /* Forces the logo to be visible while paused */
    }

/* 4. Controls & Overlays (Anchored safely inside the relative container) */
/* Controls perfectly centered at the bottom */
.controls-overlay[b-87uit2y445] {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 8px;
    z-index: 10;
    /* NEW: Smooth fade in/out transitions */
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

    /* NEW: Applied by JavaScript after 6 seconds of inactivity */
    .controls-overlay.overlay-hidden[b-87uit2y445] {
        opacity: 0;
        pointer-events: none; /* Prevents invisible buttons from being clicked */
    }

.btn[b-87uit2y445] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

    .btn:hover[b-87uit2y445] {
        background-color: #45a049;
    }

@keyframes fadeLogo-b-87uit2y445 {
    0% {
        opacity: 0;
    }

    16.66% {
        opacity: 1;
    }

    83.33% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
