

/* Start:/local/templates/redesign/css/telegram-auth.css?17823964975621*/
.tg-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: inherit;
}

.tg-modal__layer {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.tg-modal__dialog {
    position: relative;
    z-index: 1;
    width: 397px;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 32px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.tg-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.tg-modal__close::before,
.tg-modal__close::after {
    content: "";
    position: absolute;
    top: 11px;
    left: 5px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #1d1b20;
}

.tg-modal__close::before {
    transform: rotate(45deg);
}

.tg-modal__close::after {
    transform: rotate(-45deg);
}

.tg-back {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #b12535;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    cursor: pointer;
}

.tg-back::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 2px;
    border-left: 2px solid #b12535;
    border-bottom: 2px solid #b12535;
    transform: rotate(45deg);
}

.tg-step {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.tg-step--center {
    align-items: center;
    text-align: center;
}

.tg-step__title {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

.tg-step__title:not(.tg-step__title--center) {
    padding-right: 24px;
}

.tg-step__title--center {
    text-align: center;
}

.tg-step__text {
    margin: 0;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.tg-step__text--center {
    text-align: center;
}

.tg-step__text--error {
    color: #b12535;
}

.tg-step__agreement {
    color: rgba(0, 0, 0, 0.7);
}

.tg-link {
    color: #b12535;
    text-decoration: none;
}

.tg-link:hover {
    text-decoration: underline;
}

.tg-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-field-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-label {
    color: #000;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.tg-field {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid #e5eaec;
    border-radius: 5px;
    padding: 8px 12px;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    outline: none;
}

.tg-field::placeholder {
    color: rgba(0, 0, 0, 0.43);
    opacity: 1;
}

.tg-button {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 5px;
    background: #b12535;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.tg-button:hover {
    opacity: 0.9;
}

.tg-button.waiting-btn {
    opacity: 0.6;
    pointer-events: none;
}

.tg-link-button {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
}

.tg-options {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.tg-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.tg-option__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tg-option__radio {
    position: relative;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 3px solid #b12535;
    border-radius: 50%;
    box-sizing: border-box;
}

.tg-option__input:checked + .tg-option__radio {
    border-width: 1px;
    background: #b12535;
}

.tg-option__input:checked + .tg-option__radio::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
}

.tg-option__input:focus-visible + .tg-option__radio {
    outline: 2px solid #b12535;
    outline-offset: 2px;
}

.tg-option__label {
    color: #000;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.tg-loader {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 7px solid rgba(177, 37, 53, 0.2);
    border-top-color: #b12535;
    animation: tg-spin 0.9s linear infinite;
}

@keyframes tg-spin {
    to {
        transform: rotate(360deg);
    }
}

.tg-success-icon {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #b12535;
}

.tg-success-icon::after {
    content: "";
    position: absolute;
    top: 28px;
    left: 40px;
    width: 24px;
    height: 48px;
    border-right: 4px solid #b12535;
    border-bottom: 4px solid #b12535;
    transform: rotate(45deg);
}

@media (max-width: 480px) {
    .tg-loader,
    .tg-success-icon {
        width: 90px;
        height: 90px;
    }

    .tg-success-icon::after {
        top: 22px;
        left: 33px;
        width: 20px;
        height: 40px;
    }
}

/* End */
/* /local/templates/redesign/css/telegram-auth.css?17823964975621 */
