html {
    /* background-color: #25252b; */
}

body {
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.transition {
    transition: .3s ease;
}



.hidden {
    display: none !important;
}

.fade {
    visibility: hidden;
    opacity: 0;
}

.line {
    position: relative;
}

.row {
    font-size: 14px;
    color: #838383;
    margin: .4rem 0;
}

input[type=file] {
    width: 100%;
}

code {
    cursor: pointer;
    color: gray;
    background: #fbfbdb;
    border: 1px solid transparent;
    padding: .2rem .4rem;
    border-radius: 6px;
}

#status {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-grid;
    max-width: calc(100% - 50px);
}

.progress-wrap {
    padding-top: 5px;
    color: #5b5b5b;
    height: 120px;
    width: 80%;
}

progress {
    margin-bottom: 15px;
    accent-color: #46973e;
    width: 100%;
    height: 16px;
}

.prgrs-wrap {
    width: 100%;
}

.prgrs {
    overflow: hidden;
    width: 100%;
    height: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 3px;
    position: relative;
}

#prgrs-body-1 {
    background-color: #3cb333;
}

#prgrs-body-2 {
    background-color: #6ec0d7;
}

.prgrs-body {
    height: 100%;
    width: 0;
}


.list {
    position: relative;
    min-width: 350px;
    max-width: 100%;
    max-height: 107px;
    overflow: auto;
    white-space: nowrap;
    color: #616161;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 5px 20px 5px 10px;

}

.list.list-filled {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #ededed;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.file {
    position: relative;
    width: 100%;
    margin: 2px 0;
    letter-spacing: -.3px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

.file-size {
    font-size: 12px;
    color: green;
}

.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-link {
    text-decoration: underline;
    cursor: pointer;
}

.file i {
    top: -5px;
    position: absolute;
    right: -12px;
}

.file .icon-x {
    color: #a55353;
    font-size: 10px;
    cursor: pointer;
}

.file .icon-loader {
    right: -17px;
    top: inherit;
    font-weight: bolder;
    color: #004b7996;
    animation-name: rotate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.file .icon-check {
    color: #009425;
    font-weight: bolder;
    right: -17px;
    top: initial;
}

.link-description {
    font-size: 11px;
    margin-top: 15px;
}

::-webkit-scrollbar {
    width: 5px;
    height: 4px;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    border-radius: 0px;
    border-right: 2px solid #89abbf;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.10);
}













/* LOADER CIRCLE */
.loader-wrap {
    cursor: pointer;
    width: 120px;
    height: 120px;
    position: relative;
}

.loader {
    cursor: pointer;
    display: block;
    position: relative;
    margin: 0;
    box-sizing: border-box;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: transform .3s ease;
    transform-origin: 50% 50%;
    transform: perspective(200px) rotateX(66deg);
    animation: spinner-wiggle 1.2s infinite;
}

.loader:before,
.loader:after {
    transition: transform .3s ease;
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 6px solid #0000001f;
    animation: spinner-spin 1.2s cubic-bezier(0.6, 0.2, 0, 0.8) infinite,
        spinner-fade 1.2s linear infinite;
}

.loader:before {
    border-top-color: #89abbf;
}

.loader:after {
    border-top-color: #ff3d00;
    animation-delay: 0.4s;
}

.highlight .loader:after,
.highlight .loader:before {
    transform: scale(1.5);
}

@keyframes spinner-spin {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes spinner-fade {

    25%,
    75% {
        opacity: 0.1
    }

    50% {
        opacity: 1
    }
}


/* LOADER UP */
.arrow {
    cursor: pointer;
    left: 0;
    right: 0;
    margin: auto;
    top: 27px;
    width: 48px;
    height: 12px;
    margin-top: 40px;
    display: inline-block;
    position: absolute;
}

.arrow-up::after {
    content: '';
    left: 50%;
    top: -47px;
    transform: translate(-50%, 0);
    position: absolute;
    border: 15px solid transparent;
    border-bottom-color: #84cf8a;
    box-sizing: border-box;
    animation: bump 0.4s ease-in-out infinite alternate;
}

.arrow-up::before {
    content: '';
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 0);
    position: absolute;
    width: 12px;
    height: 20px;
    background: #84cf8a;
    border-radius: 2px;
    box-sizing: border-box;
    animation: bump 0.4s ease-in-out infinite alternate;
}

/* LOADER DOWN */
.arrow-down {
    background: #ed6d6d;
    border-radius: 3px;
}

.arrow-down::after {
    content: '';
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
    position: absolute;
    border: 15px solid transparent;
    border-top-color: #ed6d6d;
    box-sizing: border-box;
    animation: bump 0.4s ease-in-out infinite alternate;
}

.arrow-down::before {
    content: '';
    left: 50%;
    bottom: 25px;
    transform: translate(-50%, 0);
    position: absolute;
    width: 12px;
    height: 20px;
    background: #ed6d6d;
    border-radius: 2px;
    box-sizing: border-box;
    animation: bump 0.4s ease-in-out infinite alternate;
}

@keyframes bump {
    0% {
        transform: translate(-50%, 5px);
    }

    100% {
        transform: translate(-50%, -5px);
    }
}

/* WAITING */
.connecting-wrap {
    width: 240px;
    height: 120px;
    position: relative;
    white-space: nowrap;
    padding-top: 95px;
    font-size: 14px;
    color: gray;
}

.candidate-types {
    height: 50px;
    position: absolute;
    display: flex;
    right: 45px;
    margin: auto;
    top: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    cursor: help;
}

.candidate-host {
    color: red;
}

.candidate-stun {
    color: #0078d1;
}

.candidate-turn {
    color: #03c333;
}

.candidate-type {
    font-size: 10px;
    margin: 1px 0;
    border: 1px solid #c9c9c9;
    padding: 1px 3px;
    border-radius: 3px;
    cursor: help;
}

.spinner {
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 48px;
    height: 48px;
    display: inline-block;
    position: absolute;
    border: 3px solid;
    border-color: #ff3d00 #0000 #84cf8a #0000;
    border-radius: 50%;
    box-sizing: border-box;
    animation: 1s rotate linear infinite;
}

.spinner:before,
.spinner:after {
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    border: 10px solid transparent;
    border-bottom-color: #84cf8a;
    transform: translate(-10px, 19px) rotate(-35deg);
}

.spinner:after {
    border-color: #ff3d00 #0000 #0000 #0000;
    transform: translate(32px, 3px) rotate(-35deg);
}

@keyframes rotate {
    100% {
        transform: rotate(360deg)
    }
}











/* FLIP-CARD */

.card-container {

    min-width: 700px;
    height: 400px;
    perspective: 1000px;
}

@media (max-width: 700px) {
    .card-container {
        min-width: 100%;
    }
}

.card {
    background-color: #fffdf9;
    border: solid 1px #e9e9e9;
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    box-shadow: rgb(45 35 66 / 20%) 0 2px 4px, rgb(45 35 66 / 30%) 0 1px 13px -3px, #d6d6e7 0 -1px 0 inset;
    border-radius: 10px;
}

.card.flipped {
    transform: rotateY(180deg);
}

.flipped .card-front {
    pointer-events: none;
}

.card-side {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    text-align: center;
    justify-content: flex-start;
    align-items: center;
}

.card-back {
    /* background-color: #50c878; */

    transform: rotateY(180deg);
}

.card h2 {
    margin-top: 0;
}

.card .caption {
    margin-top: 20px;
    font-family: Tahoma;
    font-weight: bold;
    color: #89abbf;
    font-size: 25px;
    letter-spacing: -.5px;
}

.flip-btn {
    background-color: transparent;
    position: absolute;
    bottom: 3px;
    left: 3px;
    padding: 4px 15px;
    font-size: 16px;
    color: #89abbf;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
}

/* .flip-btn:hover {
    background-color: #4a90e2;
    color: white;
} */









/* SWIPE PANEL */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.info {
    margin: 50px auto;
    text-align: center
}

.info a {
    text-decoration: none;
    color: #016993
}

.info a:hover {
    color: #ad8c02
}

.fa {
    color: #fd6969
}

@media only screen and (max-width: 400px) {
    body {
        font-size: 90%
    }
}

@media only screen and (max-width: 800px) {
    body {
        font-size: 100%
    }
}

@media only screen and (min-width: 1100px) {
    body {
        font-size: 120%
    }
}

/*  ===== Выдвигающаяся верхняя панель
*   =========================================
*   Базовый контейнер выдвижной панели */
.top-panel {
    z-index: 100;
    background: #39464e;
    position: absolute;
    top: -270px;
    left: 0;
    width: 100%;
    height: 270px;
    padding: 10px 20px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    transition: top 400ms cubic-bezier(0.17, 0.04, 0.03, 0.94)
}


/* Переключатель панели */
label.top-btn {
    display: block;
    position: absolute;
    right: 50px;
    top: 0;
    cursor: pointer;
    background: #89abbf;
    width: 50px;
    border-radius: 0 0 5px 5px;
    padding: 8px 5px;
    color: #FFF;
    line-height: 20px;
    font-size: 12px;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    transition: all 400ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    z-index: 9999
}

/* Переключатель при наведении */
label.top-btn:hover {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
}

/* Стрелка переключателя вниз */
/* label.btn:after {
    content: '\f078';
    font: normal 18px/1 FontAwesome;
    text-decoration: inherit
} */

/* Активация панели */
.open:checked~.top-panel {
    top: 0
}

.open:checked~label.top-btn {
    top: 270px
}

/* Смещение контейнера контента страницы */
.open:checked~.container {
    margin-top: 300px
}

.top-btn i {
    display: block;
}

/* Цвет переключателя при клике */
.open:checked+label.top-btn {
    background: #dd6149
}

.open:checked+label.top-btn i {
    transform: rotate(180deg);

}

/* Стрелка переключателя вверх*/
/* .open:checked+label.top-btn:after {
    content: '\f077';
    font: normal 18px/1 FontAwesome
} */







/* BUTTONS */
#create-link-wrap {
    display: flex;
}

.btn {
    cursor: pointer;
    position: relative;
    color: #717171;
    padding: 0 16px;
    margin-right: 5px;
    height: 35px;
    border-radius: 2px;
    line-height: 35px;
    transition: all 0.3s;
}

.btn::before,
.btn::after {
    content: '';
    position: absolute;
    transition: all 0.3s;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.btn span {
    color: #617f91;
    transition: all ease .3s;
    ;
}

.btn:hover span {
    transform: scale(1.2, 1.2);
}

.btn-create-link:hover {
    text-decoration: underline;
}

.btn::before {
    opacity: 0;
    background: #f3f3f3;
    transform: scale(0.1, 0.1);
    z-index: -1;
    border-radius: 5px;
}

.btn:hover::before {
    opacity: 1;
    transform: scale(1, 1);
}

.btn::after {
    transition: all 0.3s;
    border: 1px solid #89abbf6e;
    border-radius: 5px;
}

.btn:hover::after {
    transform: scale(0, 0);
    opacity: 0;
}








/* INPUT */
.input-container {
    position: relative;
    margin: 20px auto;
    width: 200px;
}

.input-container input[type="text"] {
    color: #81a9c1;
    font-size: 20px;
    font-weight: 900;
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 5px 0;
    background-color: transparent;
    outline: none;
}

.input-container .label {
    position: absolute;
    top: 0;
    left: 0;
    color: #ccc;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-container input[type="text"]:focus~.label,
.input-container input[type="text"]:valid~.label {
    top: -17px;
    font-size: 15px;
    color: gray;
}

.input-container .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: gray;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.input-container input[type="text"]:focus~.underline,
.input-container input[type="text"]:valid~.underline {
    transform: scaleX(1);
}



#messages {
    position: fixed;
    padding: 10px;
    width: 350px;
    color: #515050;
    font-size: 14px;
    line-height: 18px;
    top: 0;
    left: 0;
}

.message {
    cursor: pointer;
    position: relative;
    background-color: white;
    margin: 5px;
    padding: 20px 5px 5px 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform .3s ease-in-out;
}

.message-swiped {
    transform: translateX(-350px);
}

#messages i {
    color: #959595;
    position: absolute;
    top: 3px;
    font-size: 12px;
}


.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    text-align: center;
    font-size: 14px;
    color: gray;
}



/* TABS */
.tab-container {}

.tab-buttons {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-button {
    transition: border .3s ease;
    padding: 5px 10px;
    border: none;
    border-bottom: 3px solid transparent;
    background-color: transparent;
    cursor: pointer;
    font-size: 14px;
    color: white;
}

.tab-button:hover {}

.tab-button.active {
    border-bottom: 3px solid #dd6149;
}

/* Содержимое вкладок */
.tab-panels {
    color: #b7b7b7;
    padding-top: 10px;
    font-size: 14px;
    height: 214px;
    overflow: auto;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panels span {
    display: inline-block;
    width: 140px;
    line-height: 30px;
    cursor: help;
}

.tab-panels p {
    font-size: 12px;
    user-select: none;
}

.tab-panels input {
    color: #b7b7b7;
    margin-top: 5px;
    padding: 3px 10px;
    outline: none;
    border: 1px solid #575757;
    border-radius: 4px;
    background-color: transparent;
}

.tab-panels input::-webkit-outer-spin-button,
.tab-panels input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}







/* CHECKBOX */
.checkbox-wrapper-7 {
    display: inline-table;
    position: absolute;
    bottom: 0;
    top: 0;
    margin: auto;
    margin-left: 5px;
}

.checkbox-wrapper-7 .tgl {
    display: none;
}

.checkbox-wrapper-7 .tgl,
.checkbox-wrapper-7 .tgl:after,
.checkbox-wrapper-7 .tgl:before,
.checkbox-wrapper-7 .tgl *,
.checkbox-wrapper-7 .tgl *:after,
.checkbox-wrapper-7 .tgl *:before,
.checkbox-wrapper-7 .tgl+.tgl-btn {
    box-sizing: border-box;
}

.checkbox-wrapper-7 .tgl::-moz-selection,
.checkbox-wrapper-7 .tgl:after::-moz-selection,
.checkbox-wrapper-7 .tgl:before::-moz-selection,
.checkbox-wrapper-7 .tgl *::-moz-selection,
.checkbox-wrapper-7 .tgl *:after::-moz-selection,
.checkbox-wrapper-7 .tgl *:before::-moz-selection,
.checkbox-wrapper-7 .tgl+.tgl-btn::-moz-selection,
.checkbox-wrapper-7 .tgl::selection,
.checkbox-wrapper-7 .tgl:after::selection,
.checkbox-wrapper-7 .tgl:before::selection,
.checkbox-wrapper-7 .tgl *::selection,
.checkbox-wrapper-7 .tgl *:after::selection,
.checkbox-wrapper-7 .tgl *:before::selection,
.checkbox-wrapper-7 .tgl+.tgl-btn::selection {
    background: none;
}

.checkbox-wrapper-7 .tgl+.tgl-btn {
    outline: 0;
    display: block;
    width: 3em;
    height: 1.5em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-wrapper-7 .tgl+.tgl-btn:after,
.checkbox-wrapper-7 .tgl+.tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}

.checkbox-wrapper-7 .tgl+.tgl-btn:after {
    left: 0;
}

.checkbox-wrapper-7 .tgl+.tgl-btn:before {
    display: none;
}

.checkbox-wrapper-7 .tgl:checked+.tgl-btn:after {
    left: 50%;
}

.checkbox-wrapper-7 .tgl-ios+.tgl-btn {
    background: #b1b1b1;
    border-radius: 2em;
    padding: 2px;
    transition: all 0.4s ease;
    border: 1px solid #e8eae9;
}

.checkbox-wrapper-7 .tgl-ios+.tgl-btn:after {
    border-radius: 2em;
    background: #fbfbfb;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
}

.checkbox-wrapper-7 .tgl-ios+.tgl-btn:hover:after {
    will-change: padding;
}

.checkbox-wrapper-7 .tgl-ios+.tgl-btn:active {
    box-shadow: inset 0 0 0 2em #e8eae9;
}

.checkbox-wrapper-7 .tgl-ios+.tgl-btn:active:after {
    padding-right: 0.8em;
}

.checkbox-wrapper-7 .tgl-ios:checked+.tgl-btn {
    background: #4592c9;
}

.checkbox-wrapper-7 .tgl-ios:checked+.tgl-btn:active {
    box-shadow: none;
}

.checkbox-wrapper-7 .tgl-ios:checked+.tgl-btn:active:after {
    margin-left: -0.8em;
}







/*HINT STYLE*/
.hint-body {
    position: fixed;
    pointer-events: none;
    background-color: #fffcc7;
    color: #474747;
    border: 1px solid #e7e7e7;
    box-shadow: 1px 1px 1px #dfdfdf;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 12px;
    transition: opacity .2s ease;
    z-index: 1010;
    max-width: 400px;
    cursor: default;
}








/* From Uiverse.io by 00Kubi */
.radio-inputs {
    position: relative;
    display: inline-flex;
    border-radius: 1rem;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-sizing: border-box;

    gap: 2px;
    justify-content: center;
    align-items: baseline;
}

.tab-buttons .radio-inputs {
    position: absolute;
    right: 0;
    top: 2px;
}

.radio-inputs text {
    padding: 2px 8px;
}

.radio-inputs .radio {
    margin: 3px 1px;
    font-size: 12px;
    flex: 1 1 auto;
    text-align: center;
    position: relative;
}

.radio-inputs .radio input {
    display: none;
}

.radio-inputs .radio .name {

    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    border: none;
    
    color: gray;
    font-weight: 500;
    font-family: inherit;
    background-color: #e8e8e8;
    transition: all 0.2s ease;
    overflow: hidden;
}

.radio-inputs .radio input:checked+.name {
    background: linear-gradient(145deg, #4592c9, #4592c9);
    color: white;    
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow:
        inset 2px 2px 5px rgba(0, 0, 0, 0.2),
        inset -2px -2px 5px rgba(255, 255, 255, 0.1),
        3px 3px 8px rgba(59, 130, 246, 0.3);
    transform: translateY(2px);
}

/* Hover effect */
.radio-inputs .radio:hover .name {
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
}



/* Animation */
.radio-inputs .radio input:checked+.name {
    animation: select 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Particles */
.radio-inputs .radio .name::before,
.radio-inputs .radio .name::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.radio-inputs .radio input:checked+.name::before,
.radio-inputs .radio input:checked+.name::after {
    animation: particles 0.8s ease-out forwards;
}

.radio-inputs .radio .name::before {
    background: #60a5fa;
    box-shadow: 0 0 6px #60a5fa;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.radio-inputs .radio .name::after {
    background: #93c5fd;
    box-shadow: 0 0 8px #93c5fd;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Sparkles */
.radio-inputs .radio .name::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(59, 130, 246, 0.3) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.radio-inputs .radio input:checked+.name::after {
    opacity: 1;
    animation: sparkle-bg 1s ease-out forwards;
}

/* Multiple particles */
.radio-inputs .radio input:checked+.name {
    overflow: visible;
}

.radio-inputs .radio input:checked+.name::before {
    box-shadow:
        0 0 6px #60a5fa,
        10px -10px 0 #60a5fa,
        -10px -10px 0 #60a5fa;
    animation: multi-particles-top 0.8s ease-out forwards;
}

.radio-inputs .radio input:checked+.name::after {
    box-shadow:
        0 0 8px #93c5fd,
        10px 10px 0 #93c5fd,
        -10px 10px 0 #93c5fd;
    animation: multi-particles-bottom 0.8s ease-out forwards;
}

@keyframes select {
    0% {
        transform: scale(0.95) translateY(2px);
    }

    50% {
        transform: scale(1.05) translateY(-1px);
    }

    100% {
        transform: scale(1) translateY(2px);
    }
}

@keyframes multi-particles-top {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    40% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px) scale(0);
        box-shadow:
            0 0 6px transparent,
            20px -20px 0 transparent,
            -20px -20px 0 transparent;
    }
}

@keyframes multi-particles-bottom {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    40% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0);
        box-shadow:
            0 0 8px transparent,
            20px 20px 0 transparent,
            -20px 20px 0 transparent;
    }
}

@keyframes sparkle-bg {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Ripple effect */
.radio-inputs .radio .name::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(255, 255, 255, 0.5) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.radio-inputs .radio input:checked+.name::before {
    animation: ripple 0.8s ease-out;
}

@keyframes ripple {
    0% {
        opacity: 1;
        transform: scale(0.2);
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

/* Glowing border */
.radio-inputs .radio input:checked+.name {
    position: relative;
    height: 10px;
}

.radio-inputs .radio input:checked+.name::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.5), rgba(37, 99, 235, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    animation: border-glow 1.5s ease-in-out infinite alternate;
}

@keyframes border-glow {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}










/* SNOW */
#snowfall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Снег не мешает кликам */
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: #8dc4dd;
    font-size: 1.5em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    opacity: 0.8;
    user-select: none;
}