h1:focus {
    outline: none;
}

#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."
    }

.background-svg {
    position: absolute;
    width: 669px;
    height: 538px;
    top: 151.56px;
    left: -484px;
    background: #000D4C;
    filter: blur(191.4px);
}

.background-svg2 {
    position: absolute;
    width: 669px;
    height: 538px;
    top: 388.06px;
    left: 1252px;
    background: #000D4C;
    filter: blur(191.4px);
}

.fw-bold {
    font-weight: 600;
}

.brand-withlogo-text {
    color: #FFFFFF;
    white-space: nowrap;
}

.header-navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    width: 1315px;
    height: 42px;
}

.inside-header {
    flex: none;
    order: 1;
    flex-grow: 1;
}

.navbar-root {
    margin-top: 24px;
}

.navbar-container {
    min-width: 1152px;
    height: 64px;
    display: flex;
    align-items: center;
}

.navbar-menu-item {
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 0 16px;
    transition: color 0.2s;
}

    .navbar-menu-item:hover {
        color: #794AFF;
    }

.navbar-lang {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.my-border {
    border-color: var(--mud-palette-primary) !important;
    border-width: 1px 1px 1px 1px !important;
}

.my-border-grey {
    border-color: #262831 !important;
    border-width: 1px 1px 1px 1px !important;
}

.language-selector {
    position: relative;
    display: inline-block;
    background: var(--mud-palette-background);
    color: white;
    padding: 6px 20px 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-family: Arial,sans-serif;
    font-weight: bold;
    min-width: 60px;
    user-select: none;
}

    .language-selector .arrow {
        margin-left: 8px;
        font-size: 12px;
    }

.language-list {
    list-style: none;
    background: var(--mud-palette-background);
    color: white;
    margin: 0;
    padding: 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: absolute;
    top: 36px;
    left: 0;
    min-width: 60px;
    z-index: 1000;
}

    .language-list li {
        padding: 8px 16px;
        cursor: pointer;
    }

        .language-list li:hover {
            background: #1e2040;
        }

.step-number {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.box-card {
    background: var(--mud-palette-surface);
    color: #fff;
    min-height: 380px;
    border-radius: 12px !important;
}

.how-it-works-vector1 {
    width: 159px;
    height: 169px;
    position: absolute;
    left: -49px;
    top: -66px;
    background: rgba(2, 34, 191, 0.2);
    box-shadow: inset -1px 0px 36px rgba(255, 255, 255, 0.4);
    flex: none;
    order: 4;
    flex-grow: 0;
    z-index: 4;
}

.how-it-works-paper {
    background: radial-gradient(109.88% 100% at 50% 100%, #010725 0%, #000624 51.81%, #041361 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    min-height: 390px;
}

.what-we-offer-paper {
    background: radial-gradient(328.83% 338.43% at 78.99% -147.79%, #010725 0%, #000624 51.81%, #041361 100%);
    min-height: 380px;
}

.top-popular-trading-pairs-paper {
    background: radial-gradient(328.83% 338.43% at 78.99% -147.79%, #010725 0%, #000624 51.81%, #041361 100%);
    min-height: 123px;
}

.wh-text1 {
    color: white !important;
}

.wh-text2 {
    color: #D0D6E0 !important;
}

.wh-text-header {
    color: #8A8F98 !important;
}

.subheading {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    display: flex;
    align-items: center;
}

.paragraph {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}

.normal-text {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.heading24pt {
    font-family: 'El Messiri' !important;
    font-style: normal;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 38px !important;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.02em !important;
}

.headind-Messiri32 {
    font-family: 'El Messiri' !important;
    font-style: normal;
    font-weight: 500 !important;
    font-size: 32px !important;
    line-height: 16px !important;
}

.custom-switch-container {
    position: relative;
    width: 200px;
    height: 40px;
    display: inline-block;
}

.custom-switch-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    z-index: -1;
}

.custom-switch-label {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 130%;
    background-color: var(--mud-palette-background);
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    transition: background-color 0.3s ease;
    font-family: 'Roboto', sans-serif;
    color: #D0D6E0;
    font-size: 14px;
}

.custom-switch-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #8C85FF;
    border-radius: 30px; /* Прямоугольник с закруглёнными углами */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease, background-color 0.3s ease;
    z-index: 2;
    font-weight: normal;
    color: #EFF1FF;
}

    .custom-switch-thumb .custom-switch-text {
        font-size: 14px;
        transition: color 0.3s ease;
    }

.custom-switch-checkbox:checked + .custom-switch-label .custom-switch-thumb {
    left: calc(100% - 94px);
    background-color: #8C85FF;
}

    .custom-switch-checkbox:checked + .custom-switch-label .custom-switch-thumb .custom-switch-text {
        color: #FFFFFF;
    }

/* Текст по бокам (необязательно) */
    .custom-switch-label::before {
    content: "Float Rate";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.custom-switch-label::after {
    content: "Fixed Rate";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.custom-switch-checkbox:checked + .custom-switch-label::before {
    opacity: 0.4;
}

.custom-switch-checkbox:checked + .custom-switch-label::after {
    opacity: 1;
}

.copy-container {
    background: var(--mud-palette-background);
    height: 56px;
    border: 2px solid #222;
    border-radius: 10px;
    padding: 16px 48px 16px 12px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    font-family: inherit;
    font-size: 1.15rem;
}

.copy-label {
    flex: 1;
}

.copy-btn {
    position: absolute;
    right: 16px;
    background: var(--mud-palette-background);
    border: none;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
    padding: 0;
}

    .copy-btn:active {
        color: white;
    }

.footer-container {
    background: var(--mud-palette-background);
    padding-left: 32px;
    padding-right: 32px;
    color: white;
}

.footer-brand {
    font-weight: bold;
}

.footer-title {
    margin-bottom: 16px;
    color: white;
}

.footer-link {
    display: block;
    color: white;
    transition: color 0.2s;
}

    .footer-link:hover {
        color: var(--mud-palette-primary);
    }

.footer-desc {
    max-width: 350px;
    color: #ccc;
}

.step-bars {
    position: relative;
    width: 100%;
    height: 90px;
    background: black;
    padding-top: 0.5rem;
}
.bar {
    position: relative;
    margin: 0 auto;
    height: 26px;
    border-radius: 20px 20px 0 0;
    background: #161718;
}
.bar1 {
    width: 64%;
    top: 58px;
    background: #161718;
    transform: translateY(-58px);
    opacity: 0.4;
}
.bar2 {
    width: 72%;
    top: 26px;
    background: #161718;
    transform: translateY(-26px);
    opacity:  0.5;
}
.bar3 {
    width: 87%;
    top: 0;
    background: #0b0b0c;
}

.button-active {
    width: 36px;
    height: 36px;
    background: #8C85FF;
    border-radius: 8px;
    transform: rotate(180deg);
}

.number-box {
    width: 32px;
    height: 32px;
    color: var(--mud-palette-primary);
    background: var(--mud-palette-surface);
    border-radius: 6px;
}

.castom-paper {
    background: var(--mud-palette-background) !important;
    min-height: 255px;
}

.castom-paper2 {
    background: var(--mud-palette-background) !important;
    min-height: 142px;
    padding: 10px;
    border-color: #262831;
    border-width: 2px 2px 2px 2px;
    border-radius: 12px !important;
}

.castom-paper3 {
    background: var(--mud-palette-background) !important;
    min-height: 40px;
    padding: 2px;
    border-color: var(--mud-palette-primary) !important;
    border-width: 0px 0px 0px 2px;
    border-radius: 3px !important;
}

.castom-paper420 {
    background: var(--mud-palette-background) !important;
    min-height: 400px;
    padding: 20px;
    border-color: var(--mud-palette-error) !important;
    border-width: 1px 1px 1px 1px;
    border-radius: 6px !important;
}

.castom-paper400 {
    background: var(--mud-palette-background) !important;
    min-height: 400px;
    padding: 20px;
    border-color: var(--mud-palette-warning) !important;
    border-width: 1px 1px 1px 1px;
    border-radius: 6px !important;
}

.castom-paper234 {
    background: var(--mud-palette-background) !important;
    min-height: 234px;
    padding: 10px;
    border-color: var(--mud-palette-error) !important;
    border-width: 1px 1px 1px 1px;
    border-radius: 12px !important;
}

.circle {
    width: 32px;
    height: 32px;
    background-color: var(--mud-palette-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-gren {
    width: 32px;
    height: 32px;
    background-color: #0CA475;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame19 {
    min-height: 160px;
    background: linear-gradient(175.61deg, rgba(103, 61, 230, 0.7) 3.53%, #A19BFF 105.87%, #673DE6 198.58%) !important;
    border-radius: 12px !important;
}

.always-glow {
    width: 79.54px;
    height: 79.54px;
    left: calc(50% - 79.54px/2 - 0.23px);
    top: calc(50% - 79.54px/2 - 324.73px);
    filter: drop-shadow(0px 0px 30px #81DDA0);
}

.top-popular-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px !important;
    gap: 10px;
    background: linear-gradient(180deg, rgba(103, 61, 230, 0.7) -13.96%, #A19BFF 94.95%, #673DE6 163.5%);
    border-radius: 30px !important;
    height: 193px;
}

.top-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    gap: 5px;
    border: 1px solid #FFFFFF;
    border-radius: 6px;
    height: 44px;
}

.statistics-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
    border: 1px solid #262831;
    border-radius: 30px;
}

.details-panel {
    background: var(--mud-palette-background) !important;
    color: white !important;
    border-color: #262831 !important;
    border-width: 1px 1px 1px 1px !important;
    border-radius: 10px !important;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.rotating-logo {
    width: 200px;
    height: auto;
    animation: rotateY 3s linear infinite;
    backface-visibility: hidden;
    will-change: transform;
}

@keyframes rotateY {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}


