﻿/* Homepage */

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

.landing {
    background-color: black;
}




.landing-card {
     margin-left: 20px;
     margin-right: 20px;
     margin-top:20px;
/*     background-color: #272525;*/
     border: 0.0625em solid;
     border-color: #565151;
     border-radius: 0.75em;
     color: #e5e0df;
     font: 1em 'Inter', sans-serif;
     font-weight: 400;
     line-height: 1.5;
     
}

.feature-card {
    margin: 20px;
    min-height: 300px;
    /*     background-color: #272525;*/
    border: 0.0625em solid;
    border-color: #565151;
    border-radius: 0.75em;
    color: #e5e0df;
    font: 1em 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}


.audio-svg {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    position: absolute;
}


path {
    stroke-linecap: square;
    stroke: white;
    stroke-width: 0.5px;
}

.play-svg {
    width: 150px;
    height: auto; /* Adjust height automatically */
    margin-left:auto;
    margin-right:auto;
    margin-top:2em;
}

.player-card {
    background-color: black;
}

.landing-card .h3 {
    font-weight: 700;
}


.footer-banner {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 50vh; /* This makes the banner full height of the viewport */
    background-color: black;
    margin-bottom: 60px;
}

.footer-text{
    font-size: 4rem; /* default size */
    font-weight: 600;
    color: #f8f8f8;
}

   
 

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    .landing-card {
        min-width: 420px;
        margin-left: 50px;
        margin-right: 50px;
        margin-top: 20px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .landing-card {
        min-width: 420px;
        margin-left: 250px;
        margin-right: 250px;
        margin-top: 40px;
    }
}

/* Landing page banner */

.banner {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://pricesquawk.com/wp-content/uploads/trader-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
}

.banner-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top:40px;
    flex-wrap: wrap;
    height: 100%;
    position: relative;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #f8f8f8;
    margin: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    word-wrap: break-word;
    overflow-wrap: break-word;

}

.animate-reveal {
    clip-path: inset(0 100% 0 0);
    animation: bannerReveal 2s ease forwards;
    z-index: 1; /* Higher than the pseudo-element's z-index */
}

@keyframes bannerReveal {
    from {
        clip-path: inset(0 100% 0 0); /* hide text initially */
    }

    to {
        clip-path: inset(0 0 0 0); /* reveal text fully */
    }
}

.title-svg {
    width: 100px;
    height: auto; /* Adjust height automatically */
    fill: #ffffff; /* SVG color inherits from text color */
    z-index: 100;
}


.banner-logo {
    display: block;
    margin: 0 auto;
    width: 50%;
}
/* Additional styles for buttons, etc. */
.banner-subtitle {
    font-size: 2rem; /* default size */
    font-weight: 600;
    color: #f8f8f8;
    margin: 0;
    display: flex;
    align-items: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 20px;
    display: block;
}

.banner-text {
    font-size: 1.5rem; /* default size */
    font-weight: 600;
    color: #f8f8f8;
    margin: 0;
    display: flex;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 1rem;
    display: block;
}
.banner-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    position: absolute;
    bottom: 10%;
    flex-direction: column;
 
}

.scrolling-banner-container {
    width: 100%;
    overflow-x: hidden; /* Enables horizontal scrolling */
    white-space: nowrap;
    position: relative; /* Ensures proper positioning */
    background-color: transparent; /* Optional for visibility */
    display: flex; /* Aligns content */
    align-items: center; /* Centers vertically */
    margin-bottom:20px;
}

.scrolling-banner {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    font-size: 3rem; /* default size */
    font-weight: 600;
    color: #f8f8f8;
    animation: scroll-text 10s linear infinite;
}

/* Add the following at the end of the file */

@keyframes scroll-text {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.start-button {
    font-size: 1rem; /* default size */
    font-weight: bolder;
    min-width: 250px;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease; /* animate the transform */
    display: block;
    margin: 0 auto;
    min-width: 250px;
    max-width: 500px;
}

    .start-button:hover {
        transform: scale(1.1); /* make the button 10% larger */
        cursor: pointer; /* change the cursor to a link click */
    }

.signin-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1rem; /* default size */
    text-decoration: none;
    color: white;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease; /* animate the transform */
}

.header-buttons-landing {
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        gap: 30px;
        align-items: center;
    }

.docs-landing, .signin-landing {
    text-decoration: none;
    color: white;
    font-weight:bold;
    font-size: 1.5rem; /* default size */
}

.docs-landing:hover, .signin-landing:hover {
    transform: scale(1.1); /* make the button 10% larger */
    cursor: pointer; /* change the cursor to a link click */
}

.signin-landing {

  /*  background-color: #007bff;*/
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease; /* animate the transform */
}

    .signin-button:hover {
        transform: scale(1.1); /* make the button 10% larger */
        cursor: pointer; /* change the cursor to a link click */
    }

.banner-animation {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 250px;
    height: 250px;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.banner-svg {
    fill: #ffffff;
    opacity: 0;
    animation: showPath 4s infinite;
    animation-timing-function: linear;
}

@keyframes showPath {
    0%, 90%, 100% {
        opacity: 0;
    }

    5%, 25% {
        opacity: 1;
    }
    /* path1 visible */
    30%, 50% {
        opacity: 1;
    }
    /* path2 visible */
    55%, 75% {
        opacity: 1;
    }
    /* path3 visible */
}

#path1 {
    animation-delay: 0s;
}

#path2 {
    /* Starts after path1 finishes */
    animation-delay: 1s;
}

#path3 {
    /* Starts after path2 finishes */
    animation-delay: 2s;
}

.card-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x-fast mandatory; /* This ensures that the scroll will snap to the elements (cards) */
    -webkit-overflow-scrolling: touch; /* This is for smooth scrolling on iOS devices */
}

.card {
    flex: 0 0 auto; /* This prevents the cards from growing or shrinking */
    scroll-snap-align: start; /* This aligns the cards at the start of the container when scrolling */
    width: 100vw; /* Make the card's width equal to 100% of the viewport width */
    height: 100vh; /* Make the card's height equal to 100% of the viewport height */
    margin-right: 0; /* Optional: adjust based on your layout, might not need spacing if cards are full-screen */
}

/* Optional: to hide scrollbar but still keep the scrolling functionality */
.card-container::-webkit-scrollbar {
    display: none;
}

.card-container {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}


@media (max-width: 575px) {
    .banner-button-container {
        width: 100%;
    }

    .banner-logo {
        width: 100%;
    }

    .banner-animation {
        top: -40px;
        width: 175px;
        height: 175px;
    }


    .footer-banner {
        margin-left: 20px;
        margin-right: 20px;
    }

    .banner-subtitle {
        font-size: 1.5rem;
    }

    .banner-text {
        font-size: 1.0rem;
    }

    .signin-landing {
        font-size: 1rem;
    }
    .scrolling-banner {
        font-size: 1rem;
    }
}
/* Small devices (landscape phones, 576px and up) */
@media ((min-width: 576px) and (max-width: 767px)) {
    .banner-title {
        font-size: 5rem;
    }

    .banner-logo {
        width: 100%;
    }


    .banner-subtitle {
        font-size: 1.5rem;
    }

    .banner-text {
        font-size: 1.0rem;
    }
    .start-button {
        font-size: 1.25rem;
        margin-bottom: 40px;
    }

    .landing-card {
        min-width: 420px;
        margin-left: 50px;
        margin-right: 50px;
        margin-top: 20px;
    }

    .banner-animation {
        width: 175px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media ((min-width: 768px) and (max-width: 991px)) {
    .banner-title {
        font-size: 3rem;
    }

    .banner-logo {
        width: 100%;
    }

    .banner-subtitle {
        font-size: 2rem;
    }

    .banner-text {
        font-size: 1.5rem;
    }

    .start-button {
        font-size: 1.5rem;
    }

    .banner-animation {
        width: 175px;
    }
}

/* Large devices (desktops, 992px and up) */
@media ((min-width: 992px) and (max-width: 1199px)) {
    .banner-title {
        font-size: 4rem;
    }

    .banner-subtitle {
        font-size: 2rem;
    }

    .banner-text {
        font-size: 1.5rem;
    }

    .start-button {
        font-size: 1.75rem;
    }

    .landing-card {
        min-width: 420px;
        margin-left: 250px;
        margin-right: 250px;
        margin-top: 40px;
    }
    .banner-animation {
        width: 200px;
    }
 }


/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .banner-title {
        font-size: 6rem;
    }

    .banner-subtitle {
        font-size: 2rem;
    }

    .banner-text {
        font-size: 1.5rem;
    }

    .start-button {
        font-size: 2rem;
    }

    .banner-animation {
        width: 225px;
    }
}



#blazor-error-ui {
    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: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 700ms linear infinite;
    position: relative;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.rz-row.blurred{
    filter: blur(3px);
}

.widget-button {
    width: 100%;
    margin: 10px;
}



.progress {
    margin: 20px auto;
    padding: 0;
    width: 90%;
    height: 50px;
    overflow: hidden;
    background: #04AA6D;
    border-radius: 6px;
}

.bar {
    position: relative;
    float: left;
    min-width: 1%;
    height: 100%;
    background: #ff0000;
}

.percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin: 0;
    font-family: tahoma,arial,helvetica;
    font-size: 12px;
    color: white;
}

/* Tape Pressure */

.view-tab-price-value {
    font-family: cursive;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    color: var(--rz-text-body1-color)
}

view-tab-chart {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.view-tab-chart-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.view-tab-chart-row-title {
    font-family: cursive;
    font-size: 30px;
    width: 100px;
}



/*.view-tab-chart-row-sell, .view-tab-chart-row-buy, .view-tab-chart-row-disable {
    margin-right: 8px;
    height: 3em;
    width: 2em;
    border-radius: 5px;
    border: 1px solid silver;
}*/

.fade-transition {
    transition: background-color 0.5s linear;
}

:root {
    --rz-switch-checked-background-color: var(--rz-primary);
/*    --rz-base-background-color: black; !important
    --rz-body-background-color: black; !important*/
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1); /* Increase for a more noticeable effect */
    }
}


.modal {
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px); /* Adjust the px value to increase/decrease the blur effect */
    z-index: 9999;
}

.modal-content {
    display: flex; /* Updated via Blazor for showing the modal */
    position: relative;
    justify-content: center;
    align-items: center;
    height: 100%;
    animation: pulse 2s infinite;
    padding: 20px;
    background: none;
    border: none;
}

.svg-play-button {
    animation: playPulse 2s infinite ease-in-out;
    cursor: pointer;
}


.svg-play-button:hover {
    /* Optional: scale up the button slightly on hover for visual feedback */
    transform: scale(1.1); /* Adjust scale as needed */
    animation: none;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
}


/* Trade Sound Indicator Widget */



.sound-bar-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-circles {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 10px;
    padding-bottom: 10px;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.5s, opacity 0.5s;
    opacity: 0.6;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 2px;
    border: 0px solid silver;
}


.sell {
    background-color: var(--rz-primary-dark); /* shades of lightcoral */
}

.buy {
    background-color: var(--rz-primary-light); /* shades of forestgreen */
}

/* Animation for pulsing (fading in and out) */
@keyframes pulse {
    from {
        opacity: 0.6; /* start with decreased opacity */
    }

    to {
        opacity: 1; /* finish with full opacity */
    }
}

@keyframes rotateCircle {
    to {
        transform: rotate(15deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    70% {
        transform: translateY(-10px);
    }

    90% {
        transform: translateY(-5px);
    }
}

@keyframes stretchOvalVertical0 {
    to {
        height: 110%;
        clip-path: ellipse(50% 75% at 50% 50%);
    }
}

@keyframes stretchOvalVerticalMiddle1 {
    to {
        height: 130%;
        clip-path: ellipse(50% 75% at 50% 50%);
    }
}

@keyframes stretchOvalVerticalLeftRight1 {
    to {
        height: 115%;
        clip-path: ellipse(50% 75% at 50% 50%);
    }
}

@keyframes stretchOvalVerticalMiddle2 {
    to {
        height: 150%;
        clip-path: ellipse(50% 75% at 50% 50%);
    }
}


@keyframes stretchOvalVerticalLeftRight2 {
    to {
        height: 125%;
        clip-path: ellipse(50% 75% at 50% 50%);
    }
}

@keyframes stretchOvalVerticalMiddle3 {
    to {
        height: 180%;
        clip-path: ellipse(50% 75% at 50% 50%);
    }
}


@keyframes stretchOvalVerticalLeftRight3 {
    to {
        height: 140%;
        clip-path: ellipse(50% 75% at 50% 50%);
    }
}

@keyframes analyzing {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-40px);
    }
}

@keyframes fade10s {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.fade-animation {
    animation: fade10s 4s forwards;
    will-change: opacity;
}


/* PriceSquawk Widget*/

.bid-offer-price{
    color: white;
    /* Remove any redundant animation properties if present */
     animation: none;
    
}


@keyframes flash {
    0% {
        background-color: transparent;
    }

    50% {
        background-color: var(--rz-primary);
    }
    /* Change color as needed */
    100% {
        background-color: transparent;
    }
}

@keyframes flash-up {
    0% {
        background-color: transparent;
    }

    50% {
        background-color: greenyellow;
    }
    /* Change color as needed */
    100% {
        background-color: transparent;
    }
}

@keyframes flash-down {
    0% {
        background-color: transparent;
    }

    50% {
        background-color: red;
    }
    /* Change color as needed */
    100% {
        background-color: transparent;
    }
}

.flash-effect {
    animation-name: flash;
    animation-duration: 1s; /* Duration of the flash effect */
    animation-fill-mode: both;
}

.flash-up-effect {
    animation-name: flash-up;
    animation-duration: 1s; /* Duration of the flash effect */
    animation-fill-mode: both;
}

.flash-down-effect {
    animation-name: flash-down;
    animation-duration: 1s; /* Duration of the flash effect */
    animation-fill-mode: both;
}

/* Alerts Widget */

.calendar-event-display {
    display: inline-block;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.5s linear;
}

.fade-in {
    opacity: 1;
}

.fade-out {
    opacity: 0;
}

.calendar-event-display.impact-high {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.calendar-event-display.impact-medium {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
}

.calendar-event-display.impact-low {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.alert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.alert-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.alert-time {
    color: #00ccff;
    font-weight: 600;
    min-width: 50px;
}

.alert-countdown {
    color: #00ccff;
    font-weight: 500;
    min-width: 110px;
}

.alert-label {
    color: #ffffff;
    font-weight: 400;
    flex-grow: 1;
}

.alert-past {
    color: #ff4444;
}


.next-alert-display {
    padding: 0.5rem 0.5rem;
    border-radius: 0.25rem;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.next-alert-normal {
    background-color: var(--rz-base-background-color);
    border: 1px solid var(--rz-border-color);
}

.next-alert-warning {
    animation: alert-warning-flash 1s infinite;
}

@keyframes alert-warning-flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
    
        background-color: rgba(0, 0, 0, 0.7);
    }
}

/* Virtual Pit Widget */
.volume-bars {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    width: 75%; 
    height:125px;
    margin-top: 100px;
    
}

.volume-bar {
    height: 20px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid silver;
    margin-top:10px;
}

.volume-bars-horizontal {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-start;
    margin-top: 10px;
    width: 100%;
}

.volume-bar-horizontal {
    height: 20px;
    width: 20px;
    border-radius: 5px;
    border: 1px solid silver;
    margin-right: 4px;
}

.volume-bar-0 {
/*    background-color: var(--rz-secondary);*/
}

.volume-bar-1 {

}
.volume-bar-2 {

}

.volume-bar-3 {

}


/*******************************************
 *                                         *
 *   Landing page css                      *
 *                                         *
 *******************************************/

 #playerCanvas {
    position: relative;
    width: 100%;
    height: 400px;
  }

  .intro-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer-bar {
    height: 1px; /* Height of the horizontal bar */
    background-color: #565151; /* Color of the horizontal bar, change as needed */
    margin-left: 250px; /* Match the margins of your footer */
    margin-right: 250px;
    margin-bottom:10px;
  }

.footer {
   
    padding: 10px 20px;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 250px;
    margin-right: 250px;
  }

  .footer-logo {
    display: flex;
    align-items: center;
  }
  .footer-logo img {
    width: 300px; /* Adjust the size of your logo */
  }

  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 12px;
  }
  .footer p {
    font-size: 12px;
    color: white;
    margin-left: 20px;
  }

  @media (max-width: 992px) {
    .footer-bar {
      margin-left: 0; /* Full width bar on small screens */
      margin-right: 0;
    }
  
    .footer {
      flex-direction: column;
      align-items: center; /* Center align the items in the footer on small screens */
      margin-left: 0; /* Full width footer on small screens */
      margin-right: 0;
      width: 100%;
      padding: 10px 0; /* Adjust padding as needed */
    }
  
    .footer-logo,
    .footer-links {
      justify-content: center;
      width: 100%; /* Full width for logo and links container on small screens */
      margin-bottom: 10px; /* Add some space between logo and links */
    }
  
    .footer-links {
        flex-direction: column;
        align-items: center; /* Center-align the footer links */
        width: 100%; /* Full width for links container on small screens */
    }
  
    .footer a {
      margin: 5px 0; /* Space out links vertically */
    
    }
  
    .footer p {
      text-align: center; /* Center copyright text */
    }
  }


/* Symbol Selector */

.symbol-popup {
    display: none;
    position: absolute;
    height: 300px;
    min-width: 600px;
    padding: 5px;
    border: var(--rz-panel-border);
    background-color: var(--rz-panel-background-color);
}

.symbol-tabs-content {
    overflow: auto;
    max-height: 250px; /* Adjust this value to fit your needs */
}

.symbol-favourite-content {
    overflow: auto;
    max-height: 300px; /* Adjust this value to fit your needs */
}

.symbol-favorites-content {
    overflow: auto;
    max-height: 300px; 
}

@media (max-width: 576px) {
    .symbol-popup {
        max-width: 476px;
    }
}

/* Plans Page */
.plans-payment-buttons{
    min-width: 480px;
}

.special-offer-dialog {
    height: 150px;
    background-color: white;
    color: black;
    border-radius: 0;
}



/* Dashboard */

.dashboard-title {
    margin: 1em;
    font-weight: bold;
    color: var(--rz-secondary);
    display: none;
}

/* Drag and drop styles */
.widget-card {
    cursor: move;
    transition: transform 0.2s ease;
}

.widget-card:active {
    cursor: grabbing;
}

.widget-card.drag-over {
    border: 2px dashed var(--rz-primary);
    background-color: rgba(var(--rz-primary-rgb), 0.1);
}

.widget-card[draggable="true"]:hover {
    transform: scale(1.02);
}

/* Disable drag on mobile */
@media (max-width: 768px) {
    .widget-card {
        cursor: default;
    }
    
    .widget-card[draggable] {
        -webkit-user-drag: none;
        user-drag: none;
    }
}

.global-controls {
    margin: 1em;
    font-weight: bold;
}

.disabled-open-widget-card {
    min-height: 400px;
    display: flex;  
    justify-content: center;
    align-items: center;
}

.open-widget-card {
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.open-widget-card:hover {
    transform: scale(1.1); /* make the button 10% larger */
    cursor: pointer; /* change the cursor to a link click */
}

.open-widget-svg {
    display: flex;
    justify-content: center;
    align-items: center;
    width  : 100%;
    height: 100%;
    margin-top: 2em;
}

.widgets-container {
    display: flex;
    flex-wrap: wrap;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}


.dashboard-attribution{
    position: sticky;
    bottom: 0;
    left: 50%;
    background-color: var(--rz-layout-body-background-color); /* Example background color */
    padding: 10px 0;
    text-align: center;
}

.dashboard-footer-fixed {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: var(--rz-layout-body-background-color); /* Example background color */
    padding: 10px 0;
 
}

.dashboard-attribution a {
    color: var(--rz-primary) !important;
}

/* CryptoSquawk Widget */
.widget-top-row {
    height: 180px;
    padding-bottom: 1em;
    overflow: hidden;
}


.widget-title {

    padding-top: 1em;
    padding-bottom: 1em;
}


.indicator-container {
    width: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.virtual-pit-container {
    min-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.widget-bottom-row {
    width: 100%;
    min-height: 120px;

}

.widget-card {
    scroll-snap-align: start;
    margin: 10px; /* Adjust based on your design */
    min-width: 280px;
    border: var(--rz-card-border);
    border-radius: var(--rz-card-border-radius);
    padding: var(--rz-card-padding);
    position: relative;
}

.widget-card-top {
    position: absolute;
    top: 0.5em;
}

.widget-card-top-left{
    position: absolute;
    top: 0.5em;
    left: 0.5em;
}

.widget-card-top-right{
    position: absolute;
    top: 0.5em;
    right: 0.5em;
}

.widget-card-bottom {
    position: absolute;
    bottom: 0;
}

.widget-card-bottom-left {
    position: absolute;
    bottom: 0.5em;
    left: 0.5em;
}

.widget-card-bottom-right {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
}

@media screen and (max-width: 768px) {

    .widgets-container {
        flex-direction: column;
        flex-wrap: nowrap;
        height: 80vh; /* Adjust if necessary to account for any headers/footers */
        width: calc(100% + 4em); /* Assuming the body padding is 1em on each side */
        margin-left: -2em; /* Offset the left padding */
        margin-right: -2em; /* Offset the right padding */
    }

    .widget-card {
        height: 100vh; /* Make each card take up the full screen height */
        margin-top: 20px; /* Remove margins for full-screen cards */
        border: none;
    }

    .widget-title {
        width: 97vw; /* Assuming the body padding is 1em on each side */
        margin-left: -2em;
        margin-right: -2em;
        background-color: var(--rz-header-background-color);
    }

    .widget-card-top-left {
        margin-top: 10px;
    }

    .widget-card-top-right {
        margin-top:10px;
    }

    .plans-payment-buttons {
        min-width: 270px;
        width: 100%;
    }

    .special-offer-dialog {
        height: 250px;
    }
}

@media (min-width: 769px) {
    .widgets-container {
        flex-direction: row;
    }

    .widget-card {

        min-width: calc(50% - 60px); /* Example for 2 cards in a row, adjust the subtraction value based on your margins */
        height: auto; /* Allow the height to adjust based on content */
    }

    .dashboard-title {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
    }

    .global-controls {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }

}


/* Account Plans Page */

.rz-timeline.rz-timeline-row .rz-timeline-item {
    width: 100%;
}

@media screen and (max-width: 575px) {
    .rz-timeline.rz-timeline-row .rz-timeline-item {
        width: 64px;
    }
}

/* Dashboard footer animations */

/* Spinning Dots Loader */
.spinning-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.spinning-dots .dot {
    width: 8px;
    height: 8px;
    background: #4a9eff;
    border-radius: 50%;
    animation: spin-scale 1.4s infinite ease-in-out;
}

    .spinning-dots .dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .spinning-dots .dot:nth-child(2) {
        animation-delay: -0.16s;
    }

@keyframes spin-scale {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Breathing Circle */
.breathing-circle {
    width: 20px;
    height: 20px;
    background: #4a9eff;
    border-radius: 50%;
    animation: breathe 2s infinite ease-in-out;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Wave Dots */
.wave-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.wave-dots .dot {
    width: 6px;
    height: 20px;
    background: #4a9eff;
    border-radius: 3px;
    animation: wave 1.2s infinite ease-in-out;
}

    .wave-dots .dot:nth-child(1) {
        animation-delay: -1.1s;
    }

    .wave-dots .dot:nth-child(2) {
        animation-delay: -1.0s;
    }

    .wave-dots .dot:nth-child(3) {
        animation-delay: -0.9s;
    }

    .wave-dots .dot:nth-child(4) {
        animation-delay: -0.8s;
    }

    .wave-dots .dot:nth-child(5) {
        animation-delay: -0.7s;
    }

@keyframes wave {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        opacity: 0.5;
    }

    20% {
        transform: scaleY(1.0);
        opacity: 1;
    }
}

/* Combined Text + Animation */
.combined-loader {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #e0e0e0;
    justify-content: center;
    min-height: 60px; /* Give it some height to center against */
}

/* Smooth transition for layout changes */
.widgets-container {
    transition: all 0.3s ease;
}

/* Auto Grid - preserves existing flex-wrap behavior */
.widgets-container.layout-grid-auto {
    /* Inherits existing styles */
}

/* Single Column - centers widgets vertically */
.widgets-container.layout-single-column {
    flex-direction: column;
    align-items: center;
}

.layout-single-column .widget-card {
    width: min(90%, 800px);
    max-width: 800px;
    margin: 20px auto;
}

/* Two Column Grid - desktop only */
@media (min-width: 769px) {
    .widgets-container.layout-two-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
        overflow-y: auto;
    }
    
    .layout-two-column .widget-card {
        width: auto;
        min-width: unset;
        margin: 0;
        height: fit-content;
        min-height: 400px;
    }
    
    /* Four column fallback to two column on tablet screens */
    .widgets-container.layout-four-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
        overflow-y: auto;
    }
    
    .layout-four-column .widget-card {
        width: auto;
        min-width: unset;
        margin: 0;
        height: fit-content;
        min-height: 400px;
    }
}

/* Three Column Grid - desktop only */
@media (min-width: 992px) {
    .widgets-container.layout-three-column {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        padding: 20px;
        overflow-y: auto;
    }
    
    .layout-three-column .widget-card {
        width: auto;
        min-width: unset;
        margin: 0;
        height: fit-content;
        min-height: 350px;
    }
}

/* Four Column Grid - desktop only */
@media (min-width: 1200px) {
    .widgets-container.layout-four-column {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 20px;
        overflow-y: auto;
    }
    
    .layout-four-column .widget-card {
        width: auto;
        min-width: unset;
        margin: 0;
        height: fit-content;
        min-height: 350px;
        grid-column: auto; /* Ensure widgets follow grid order */
    }
    
    /* Optimize layout when sidebar is collapsed */
    .rz-sidebar-collapsed ~ .rz-layout-content .widgets-container.layout-four-column,
    body:has(.rz-sidebar-collapsed) .widgets-container.layout-four-column {
        margin-left: -100px;
        width: calc(100% + 200px);
        max-width: none;
    }
}

/* Featured + Grid - First widget large, rest smaller */
@media (min-width: 769px) {
    .widgets-container.layout-featured-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(350px, auto);
        gap: 20px;
        padding: 20px;
    }
    
    .layout-featured-grid .widget-card:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .layout-featured-grid .widget-card {
        width: auto;
        min-width: unset;
        margin: 0;
        overflow: hidden;
    }
}

/* Trading Desk Layout - 2 large on top, 4 small below */
@media (min-width: 1200px) {
    .widgets-container.layout-trading-desk {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(300px, auto);
        gap: 20px;
        padding: 20px;
    }
    
    /* First two widgets span 2 columns each */
    .layout-trading-desk .widget-card:nth-child(1),
    .layout-trading-desk .widget-card:nth-child(2) {
        grid-column: span 2;
        min-height: 450px;
    }
    
    /* Remaining widgets are single column */
    .layout-trading-desk .widget-card {
        width: auto;
        min-width: unset;
        margin: 0;
        overflow: hidden;
    }
    
    /* Adjust content sizing for smaller widgets */
    .layout-trading-desk .widget-card:nth-child(n+3) {
        min-height: 300px;
    }
    
    .layout-trading-desk .widget-card:nth-child(n+3) .indicator-container {
        min-height: 200px;
    }
}

/* Medium screens fallback to two-column for trading desk */
@media (min-width: 769px) and (max-width: 1199px) {
    .widgets-container.layout-trading-desk {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .layout-trading-desk .widget-card {
        grid-column: span 1 !important;
    }
    
    /* Four column fallback to three column on medium-large screens */
    .widgets-container.layout-four-column {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        padding: 20px;
        overflow-y: auto;
    }
    
    .layout-four-column .widget-card {
        width: auto;
        min-width: unset;
        margin: 0;
        height: fit-content;
        min-height: 350px;
    }
}

/* Mobile always uses single column for all layouts */
@media (max-width: 768px) {
    .widgets-container[class*="layout-"] {
        flex-direction: column !important;
        display: flex !important;
        grid-template-columns: unset !important;
    }
    
    .widgets-container[class*="layout-"] .widget-card {
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        grid-column: unset !important;
        grid-row: unset !important;
    }
}



