.MainBody {
    margin: 0;
    font-family: Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
    background: #0f0f0f;
    color: #d4d4d4;
}

.stylemain {
    position: relative;
    z-index: 10;
    max-width: 95rem; /*72*/
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
}

/*Изменения для уменьшенной версии сайта мобильной версии*/
@media screen and (orientation: portrait) {
    .stylemain {
        padding: 5rem 0rem 4rem;
    }

    .page[b-wso1gdezkq] {
        flex-direction: initial;
    }

    .px-4 {
        padding-right: .1rem !important;
        padding-left: .1rem !important;
    }
}


/*круги на заднем фоне*/
.Decorativeblurs-left {
    pointer-events: none;
    position: fixed;
    border-radius: 9999px;
    filter: blur(140px);
    z-index: -20;
    top: -10rem;
    left: -10rem;
    width: 35rem;
    height: 35rem;
    background: #f97316;
    filter: blur(140px);
    opacity: .25;
}
.Decorativeblurs-right {
    pointer-events: none;
    position: fixed;
    border-radius: 9999px;
    filter: blur(140px);
    z-index: -20;
    bottom: -14rem;
    right: -14rem;
    width: 45rem;
    height: 45rem;
    background: #ea580c;
    filter: blur(180px);
    opacity: .2;
}

/*блок <form/>*/
/*form {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(4px);
    padding: 2.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}*/
    /*акцентная линия для блока <form/>*/
    /*form .top-line {
        position: absolute;
        top: 0;
        left: 1.5rem;
        right: 1.5rem;
        height: 2px;
        background: linear-gradient(15deg,transparent,#ea580cb7,transparent);
        border-radius: 2px
    }
    */

/*полу прозрачный блок с округлением*/
.block-grid {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.div-top-line {
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: linear-gradient(15deg,transparent,#ea580cb7,transparent);
    border-radius: 2px
}

/*поле ввода*/
input {
    padding: .75rem 1rem .75rem .75rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 0.7rem;
    background: rgba(38,38,38,.6);
    color: #fff;
    font-size: .875rem;
}

    /*чекбокс*/
    input[type=checkbox] {
        appearance: none;
        padding: initial;
        width: 1rem;
        height: 1rem;
        border-radius: 4px;
        margin-top: .2rem;
        background: rgba(38, 38, 38, .7);
        border: 1px solid rgba(255, 255, 255, .2);
        cursor: pointer;
    }
        input[type=checkbox]:checked {
            background: #ea580c;
            border-color: #ea580c
        }


/*стили кнопок*/
button {
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1)
}

    button.submit {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        border: none;
        border-radius: 12px;
        padding: .75rem;
        background: linear-gradient(90deg,#ea580c,#f59e0b,#facc15);
        color: #fff;
        font-weight: 500;
        font-size: .875rem
    }
        button.submit.small {

            padding: 0rem;
            background: linear-gradient(90deg, #232323, #4f2e0f, #1a1a1a);
            color: #fff;
            font-weight: 500;
            font-size: .75rem
        }

        button.submit:hover {
            filter: brightness(1.1);
            transform: translateY(-2px)
        }

    button.icon-btn {
        flex: 1;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 12px;
        padding: .75rem;
        background: transparent;
        color: #fff;
        font-weight: 500;
        font-size: .875rem;
        display: flex;
        gap: .75rem;
        align-items: center;
        justify-content: center
    }

        button.icon-btn:hover {
            background: rgba(255,255,255,.05);
            transform: translateY(-2px)
        }
button:focus,button:active:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem #f97316;
}

/*стили Тегов для форума и других вещей*/
/*.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.55rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}*/

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #d7d7d7;
    transition: all 0.2s ease;
}
    .tag:hover {
        background: rgba(234, 88, 12, 0.2);
        border-color: rgba(234, 88, 12, 0.3);
    }

.flex {
    display: flex;
}


/*стиль для блока с активным лейблом и картинкой*/
.form-field {
    position: relative;
    width: 100%;
}

    /* === Стилизация иконки (любой svg или span с svg) === */
    .form-field > svg,
    .form-field > span:has(> svg) {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #ea580c;
        pointer-events: none;
        z-index: 1;
    }

    /* === Поле ввода === */
    .form-field input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        background: rgba(38, 38, 38, 0.6);
        color: #fff;
        font-size: 0.875rem;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        box-sizing: border-box;
    }

    /* Добавляем отступ, если есть иконка (svg или span с svg) */
    .form-field:has(span) input {
        padding-left: 2.75rem;
    }


    /* === Плейсхолдер === */
    .form-field input::placeholder {
        color: #737373;
        text-align: right;
        padding-right: 0.75rem;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .form-field input:focus::placeholder,
    .form-field input:not(:placeholder-shown)::placeholder {
        opacity: 0;
        transform: translateY(-6px) scale(0.9);
    }

    .form-field input:focus {
        outline: none;
        border-color: rgba(234, 88, 12, 0.3);
        box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.4);
    }

    /* === Лейбл === */
    .form-field label {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #a3a3a3;
        font-size: 0.875rem;
        pointer-events: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        left: 1rem;
    }

    /* Сдвигаем лейбл, если есть иконка */
    .form-field:has(span) label {
        padding-left: 1.75rem;
    }

    /* Активное состояние лейбла */
    .form-field input:focus + label,
    .form-field input:not(:placeholder-shown) + label {
        top: -0.35rem;
        left: 1rem;
        font-size: 0.75rem;
        color: #ea580c;
        background: #171717;
        padding: 0 0.25rem;
        border-radius: 4px;
        transform: none;
    }

/*Для div блоков*/
.content-block {
    margin: 0 0 0 0; /*margin: 0 0 24px 0;*/
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/*для компонента qr кода, т.к. он не воспринимает его через razor.css*/
.qrcode-container-svg svg {
    width: 100%;
    height: 100%;
    transform: scale(1.1);
}


/*стиль скролла вверх*/
.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(250, 140, 35, 0.01);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(250, 140, 0, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 0 8px rgba(250, 160, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.2s ease;
    padding: 0;
}

    .scroll-to-top-btn.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-to-top-btn:hover {
        background: rgba(40, 30, 60, 0.95);
        border-color: rgba(220, 180, 255, 0.4);
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(130, 90, 220, 0.4);
    }

.scroll-icon {
    width: 24px;
    height: 24px;
    display: block;
    /*color: #e6d7ff;*/
    transition: color 0.2s ease;
}

.scroll-to-top-btn:hover .scroll-icon {
    color: #ffffff;
}


/* Кастомные полосы прокрутки */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(234, 88, 12, 0.5);
    border-radius: 10px;
    border: 2px solid rgba(30, 41, 59, 0.8);
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(234, 88, 12, 0.7);
    }