*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

/* Generic */
body {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Archivo", sans-serif;
    font-size: 12px;
    background-color: #ecf0f3;
    color: #a0a5a8;
    background-image: url(../../img/img_10.png);
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}
body:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
    background: #00000091;
}
/**/
.main {
    position: relative;
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    height: 100vh;
    padding: 25px;
    overflow: hidden;
}

.access .container{
    /* background: #121418; */
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    padding: 25px;
    backdrop-filter: blur(4px);
    filter: url(#glass-distortion);
    box-shadow: inset 2px 2px 1px 0 rgb(13 13 13 / 6%), inset -1px -1px 1px 1px rgb(4 6 4 / 25%);
    transition: 1.25s;
    background: radial-gradient(ellipse at 90% 10%, rgb(232 162 62 / 16%), #37130021 50%), radial-gradient(ellipse at 80% 70%, rgb(96 165 250 / 9%), #301f1638 50%);
}

.form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    max-width: 72%;
    width: 100%;
}
.form__icon {
    object-fit: contain;
    width: 30px;
    margin: 0 5px;
    opacity: 0.5;
    transition: 0.15s;
}
.form__icon:hover {
    opacity: 1;
    transition: 0.15s;
    cursor: pointer;
}
.form__input {
    width: 350px;
    height: 40px;
    margin: 4px 0;
    padding-left: 25px;
    font-size: 13px;
    letter-spacing: 0.15px;
    border: none;
    outline: none;
    font-family: "Archivo", sans-serif;
    background-color: #ecf0f3;
    transition: 0.25s ease;
    border-radius: 8px;
    box-shadow: inset 2px 2px 4px #d1d9e6, inset -2px -2px 4px #f9f9f9;
}
.form__input:focus {
    box-shadow: inset 4px 4px 4px #d1d9e6, inset -4px -4px 4px #f9f9f9;
}
.form__span {
    margin-top: 30px;
    margin-bottom: 12px;
}
.form__link {
    font-size: 15px;
    margin-top: 25px;
    border-bottom: 1px solid #a0a5a8;
    line-height: 2;
}
.form_title.title {
    font-size: 34px;
    line-height: 3;
    font-family: "Archivo", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.description {
    font-size: 14px;
    letter-spacing: 0.25px;
    text-align: center;
    line-height: 1.6;
}

.button {
    width: 180px;
    height: 50px;
    border-radius: 25px;
    margin-top: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.15px;
    background-color: #4B70E2;
    color: #f9f9f9;
    border: none;
    outline: none;
}

/**/
.a-container {
    z-index: 100;
    left: calc(100% - 40% );
}
.a-container.is-txl{

}
.b-container {
    left: calc(100% - 600px );
    z-index: 0;
    opacity: 0;

}
.b-container.is-txl{
    opacity: 1;
    background: unset;
}


.switch {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    padding: 50px;
    z-index: 200;
    transition: 1.25s;
    background-color: #0b0d10;
    overflow: hidden;
    box-shadow: 4px 4px 10px #0b0d10, -4px -4px 10px #0b0d10;
}
.access .switch{
    display: none;
}
.access .container{
    display: none;
}
.switch__circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: #0b0d10;
    box-shadow: inset 8px 8px 12px #202835, inset -8px -8px 12px #573919;
    bottom: -54%;
    left: -60%;
}
.switch__circle--t {
    top: -30%;
    left: 60%;
    width: 300px;
    height: 300px;
}
.switch__container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    /* width: 400px; */
    padding: 50px 55px;
    transition: 1.25s;
    /* overflow: scroll; */
}
.switch__button {
    cursor: pointer;
}
.switch__button:hover {
    color: white;
    transform: scale(0.985);
    transition: 0.25s;
}
.switch__button:active, .switch__button:focus {
    color: white;
    transform: scale(0.97);
    transition: 0.25s;
}

/**/
.is-txr {
    left: calc(100% - 60% );
    transition: 1.25s;
    transform-origin: left;
}

.is-txl {
    left: 0;
    transition: 1.25s;
    transform-origin: right;
}

.is-z200 {
    z-index: 200;
    transition: 1.25s;
}

.is-hidden {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    transition: 1.25s;
}

.is-gx {
    animation: is-gx 1.25s;
}

@keyframes is-gx {
    0%, 10%, 100% {
        width: 60%;
    }
    30%, 50% {
        width: 70%;
    }
}
.is-txl #a-form{
    opacity: 0;
}
.login-box .user-box {
    position: relative;
}
.user-box label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: rgb(255 255 255 / 56%);
    pointer-events: none;
    transition: .5s;
}
.user-box input:focus ~ label,
.user-box input:valid ~ label {
    top: -20px;
    left: 0;
    color: #00000000;
    font-size: 12px;
}
.user-box {
    position: relative;
}
.user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    outline: none;
    background: transparent;
}
.login-box button {
    background: none;
    color: white;
    border: none;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    float: inline-end;
    cursor: pointer;
}


/*pincodes*/
.pin-inputs {position: relative;display: flex;justify-content: center;gap: 10px;margin: 40px 0;}
.pin-digit:nth-child(1) { --delay: 0s; }
.pin-digit:nth-child(2) { --delay: 0.05s; }
.pin-digit:nth-child(3) { --delay: 0.1s; }
.pin-digit:nth-child(4) { --delay: 0.15s; }
.pin-digit:nth-child(5) { --delay: 0.2s; }
.pin-digit:nth-child(6) { --delay: 0.25s; }
body .pin-digit {
    font-size: 28px;
    background: #00000000;
    border: 1px solid rgb(255 255 255 / 38%);
    outline: none;
    color: white;
    border-radius: 10px;
    width: 40px;
    height: 50px;
    text-align: center;
    transition: all 1.6s var(--delay) cubic-bezier(.51,.61,0,2.3);
    transform: translateY(-50px);
    opacity: 0;
}
body.access .pin-digit{
    opacity: 1;
    transform: translateY(0);
}
.pin-digit.error { border-color: #d93025; animation: shake 0.6s; }
@keyframes shake { 0%,100% { transform: translateX(0); } 10%,30%,50%,70%,90% { transform: translateX(-10px); } 20%,40%,60%,80% { transform: translateX(10px); } }
.resend { color: #1877f2; cursor: pointer; margin-top: 15px; }
.resend.disabled {color: white;pointer-events: none;opacity: .5;}
body.access.errors-codes-send { background: linear-gradient(135deg, #ea6666 0%, #390000 100%); }
#errorMsg {
    color: white;
    min-height: 24px;
    font-size: 18px;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 390px;
    background: radial-gradient(ellipse at 90% 10%, rgb(232 162 62 / 6%), transparent 50%), radial-gradient(ellipse at 80% 70%, rgb(102 69 0 / 31%), #13161c1f 50%);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999999;
    overflow: hidden;
    cursor: pointer;
    mask-image: linear-gradient(to right, transparent 0%, transparent 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black 30%, black 70%, transparent 100%);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    border: solid 1px #ffffff59;
}
#errorMsg.show{
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}


#loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

#loader.active {
    opacity: 1;
    visibility: visible;
}



@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#pinBlock {
    z-index: 999;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    touch-action: none;
    width: 100%;
    opacity: 0;
}
.access #pinBlock{
    opacity: 1;
    pointer-events: unset;
    touch-action: unset;
    background: radial-gradient(ellipse at 90% 10%, rgb(232 162 62 / 16%), #37130021 50%), radial-gradient(ellipse at 80% 70%, rgb(96 165 250 / 9%), #301f1638 50%);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

body.access {
    background: linear-gradient(135deg, #667eea 0%, #000000 100%);
    transition: background 0.8s ease;
}
.spinner {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 0 auto;
}

.bubble-1,
.bubble-2 {
    position: absolute;
    top: 0;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background-color: #ffffff;
}

.bubble-2 {
    top: auto;
    bottom: 0;
}
.loaders{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0000008a;
    z-index: 999;
    animation: move 1.4s ease-out;
    pointer-events: none;
    touch-action: none;
    cursor: alias;
}
@keyframes move {
    90%, 100% {
        opacity: 1;
    }
    0% {
        opacity: 1;
    }
    10% {
        opacity: 1;
    }
}

.load-9 .spinner {
    animation: loadingI 2s linear infinite;
}
.load-9 .bubble-1,
.load-9 .bubble-2 {
    animation: bounce 2s ease-in-out infinite;
}
.load-9 .bubble-2 {
    animation-delay: -1s;
}

@keyframes loadingI {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
}

@keyframes loadingJ {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(80px, 0);
        background-color: #f5634a;
        width: 25px;
    }
}
#pinForm{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#pinForm h2, .pin-nav{
    opacity: 1;
    transition: all 1s;
}
.errors-codes-send #pinForm h2,.errors-codes-send .pin-nav{
    opacity: 0;
}
.access .is-txr{
    left: calc(200% - 40%);
}
.access #pinBlock,.access .container{
    width: 100%;
}

.pin-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.cancel_pin a{
    color: #a0a5a8;
    text-decoration: unset;
}
.cancel_pin a:hover{
    color: white;
}

.errors-codes-send .pin-inputs {
    gap: 0;
}
.errors-codes-send .pin-inputs .pin-digit {
    margin-left: -20px;
    margin-right: -20px;
    color: red;
    transition: all 1s;
    background: #390000;
    border: #390000 solid 1px;
}
.errors-codes-send .pin-inputs .pin-digit:nth-child(1),
.errors-codes-send .pin-inputs .pin-digit:nth-child(2),
.errors-codes-send .pin-inputs .pin-digit:nth-child(3)
{
    animation: OTP-L 1.6s;
}
.errors-codes-send .pin-inputs .pin-digit:nth-child(4),
.errors-codes-send .pin-inputs .pin-digit:nth-child(5),
.errors-codes-send .pin-inputs .pin-digit:nth-child(6)
{
    animation: OTP-R 1.6s;
}

.errors-codes-send .pin-inputs .pin-digit:not(:nth-child(3)):not(:nth-child(4)) {
    opacity: 0;
    scale: 1;
    transition: all 1s;
}

@keyframes OTP-L {
    0% {
        transform: rotate(30deg);
    }
    70% {
        transform: rotate(0);
        scale: 1.4;
    }
    100% {
        transform: rotate(0);
        scale: 1;
    }
}
@keyframes OTP-R {
    0% {
        transform: rotate(-30deg);
    }
    70% {
        transform: rotate(0);
        scale: 1.4;
    }
    100% {
        transform: rotate(0);
        scale: 1;
    }
}


.courses-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* 3 */
    animation: fadeUp 0.6s ease-out;
}

@media (min-width: 2000px) {
    .courses-grid {
        gap: 1.25rem; /* 5 */
    }
}


.card {
    backdrop-filter: blur(4px);
    filter: url(#glass-distortion);
    box-shadow: inset 2px 2px 1px 0 rgb(13 13 13 / 6%), inset -1px -1px 1px 1px rgb(4 6 4 / 25%);
    background: rgb(49 49 49 / 8%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
}

.card:hover {
    transform: translateY(-2px);
}

.card--no-bottom-padding {
    padding-bottom: 0;
}

@media (min-width: 2000px) {
    .card {
        padding: 14px; /* 6 */
        border-radius: 2rem;
    }
    .card--no-bottom-padding {
        padding-bottom: 0;
    }
}

.card-preview {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.card-preview__header {
    display: flex;
    gap: 1.25rem; /* 5 */
    margin-bottom: 1rem; /* 4 */
}

@media (min-width: 2000px) {
    .card-preview__header {
        gap: 1.75rem; /* 7 */
        margin-bottom: 1.5rem; /* 6 */
    }
}

.card-preview__image {
    border-radius: 0.75rem;
    overflow: hidden;
    margin-top: 0.5rem;
}

.card-preview__image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.card:hover .card-preview__image img {
    transform: scale(1.01);
}


.icon {
    width: 2.5rem; /* 10 */
    height: 2.5rem; /* 10 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(31, 68, 234, 0.06);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease;
}

.card:hover .icon {
    background: rgba(31, 68, 234, 0.10);
}

.card:hover .icon svg {
    transform: scale(1.04);
}

@media (min-width: 2000px) {
    .icon {
        width: 3.75rem; /* 60px */
        height: 3.75rem;
        border-radius: 1rem;
    }
}


.text-group {
    display: flex;
    flex-direction: column;
}

.text-group--inline {
    display: flex;
    flex-direction: column;
}

.title {
    /* 2xl */
    /* 2 */
}

.subtitle {
    color: #475569;
    font-weight: 450;
    font-size: 1rem; /* base */
    line-height: 1.5;
    max-width: 90%;
}

.subtitle--full {
    max-width: 100%;
}
.errors-codes-send .pin-stat{
    opacity: .3;
}
.pin-stat{
    position: absolute;
    bottom: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    touch-action: none;
    opacity: 0;
}
@media (min-width: 2000px) {
    .title {
        /* 4xl */
        /* 3 */
    }
    .subtitle {
        font-size: 1.25rem; /* 2xl */
    }
}

.cards-row {
    display: flex;
    gap: 0.75rem; /* 3 */
    height: 100%;
}

.cards-row .card {
    flex: 1;
}

.cards-row .card .text-group {
    flex: 1;
}
.icon-container{
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-container svg {
    width: 46px;
    height: 46px;
    fill: #ff3b30;
    padding: 8px;
    background: white;
    border-radius: 50%;
}
@media (min-width: 2000px) {
    .cards-row {
        gap: 1.25rem; /* 5 */
    }
}

.pin-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 280px;
}
.card-content {
    display: flex;
    gap: 1.25rem; /* 5 */
    height: 100%;
}

.card-content .text-group {
    flex: 1;
}

@media (min-width: 2000px) {
    .card-content {
        gap: 1.5rem; /* 6 */
    }
}


@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.col-xs-12 .switch__button{
    display: none;
}

@media (max-width: 1439px) {
    .courses-grid {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .cards-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .card {
        padding: 1rem;
    }

    .card-preview__header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .subtitle {
        max-width: 100%;
    }

    .card-content {
        flex-direction: column;
        gap: 0.75rem;
    }
}
@media (max-width: 991px) {
    .switch{
        display: none;
    }
    .a-container {
        left: calc(100% - 100%);
    }
    .container{
        width: 100%;
    }
    .col-xs-12{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .col-xs-12 .switch__button{
        display: block;
        margin: 0;
        opacity: .4;
        width: fit-content;
        font-size: 16px;
    }
    .main{
        padding: 0;
    }
    .access .form{
        display: none;
    }
    #pinBlock{
        width: 100%;
    }
}
@media (max-width: 640px) {
    .card {
        border-radius: 1.25rem;
        padding: 0.875rem;
    }

    .title {
        font-size: 1.25rem !important;
    }

    .subtitle {
        font-size: 0.875rem !important;
    }

    .icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    .container{
        padding: 0;
    }
    .card-preview__header {
        gap: 0.5rem;
    }

    .card-content {
        gap: 0.5rem;
    }
}