


form.tbl-auth-form {
    display: flex;
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    width: 454px;
    background: #FFFFFF;
    border-radius: 24px;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.tbl-auth-form .tbl-auth-form-heading {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 200%;
    text-align: right;
    color: var(--tbl-color-dark);
}

.tbl-auth-form .tbl-auth-form-desc {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 200%;
    text-align: right;
    color: var(--tbl-color-dark);
    opacity: 0.7;
}

.tbl-auth-form .tbl-auth-form-phone {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 56px;
    padding: 8px 46px 8px 16px;
    gap: 12px;
    background: rgba(var(--tbl-color-dark-rgb), 0.03);
    border-radius: 12px;
    border: none;
    text-align: right;
    outline: none;
    position: relative;
    color: var(--tbl-color-dark);
}

.tbl-auth-form.verify .tbl-auth-form-phone:focus {
    text-align: center;
}

.tbl-auth-form.verify .tbl-auth-form-phone:focus::placeholder {
    color: transparent;
}

.tbl-auth-form input[type="number"]::-webkit-outer-spin-button,
.tbl-auth-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}


.tbl-auth-form .tbl-auth-filed-wrapper svg {
    content: '';
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.7;
    top: 16px;
    right: 15px;
}

.tbl-auth-filed-wrapper {
    position: relative;
    width: 100%;
}

.tbl-auth-form .tbl-auth-form-submit {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 8px;
    gap: 10px;
    width: 100%;
    height: 56px;
    background: var(--tbl-color-primary);
    border-radius: 12px;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    text-align: right;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
}

.tbl-auth-form .tbl-have-account,
.tbl-auth-form .tbl-auth-filed-row {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 200%;
    text-align: right;
    color: #54516F;
}

.tbl-auth-form .tbl-have-account button,
.tbl-auth-form .tbl-auth-filed-row button {
    color: var(--tbl-color-primary);
    background: transparent;
    outline: none;
    border: none;
    font-size: 16px;
    line-height: 200%;
    width: fit-content;
}

.tbl-auth-form .tbl-auth-filed-row {
    display: flex;
    gap: 5px;
    flex-direction: row;
    align-items: center;
}

.tbl-auth-form p.tbl-have-skip {
    width: 100%;
}

.tbl-auth-form .tbl-auth-action-btn {
    width: 100%;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 200%;
    color: #54516F;
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    align-self: center;
}

.tbl-auth-toast {
    position: absolute;
    top: 16px;
    right: 16px;
    left: 16px;
    z-index: 20;

    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 12px 14px;

    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(var(--tbl-color-dark-rgb), 0.08);
    box-shadow: 0 12px 32px rgba(var(--tbl-color-dark-rgb), 0.10);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
    color: #54516f;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);

    transition:
            opacity 0.22s ease,
            visibility 0.22s ease,
            transform 0.22s ease;

    pointer-events: none;
}

.tbl-auth-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Success */
.tbl-auth-toast-success {
    background: #ffffff;
    border-color: rgba(var(--tbl-color-dark-rgb), 0.08);
}

.tbl-auth-toast-success .tbl-auth-toast-icon {
    background: rgba(15, 138, 75, 0.08);
    color: #0f8a4b;
}

/* Error */
.tbl-auth-toast-error {
    background: #ffffff;
    border-color: rgba(var(--tbl-color-primary-rgb), 0.22);
}

.tbl-auth-toast-error .tbl-auth-toast-icon {
    background: rgba(var(--tbl-color-primary-rgb), 0.10);
    color: var(--tbl-color-primary);
}

.tbl-auth-toast-icon {
    width: 28px;
    min-width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 1px;

    border-radius: 10px;
    background: rgba(var(--tbl-color-dark-rgb), 0.04);
    color: var(--tbl-color-dark);
}

.tbl-auth-toast-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.tbl-auth-toast-text {
    flex: 1;
    padding-top: 1px;

    color: #54516f;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
}

.tbl-auth-toast-text strong,
.tbl-auth-toast-text b {
    color: var(--tbl-color-dark);
    font-weight: 600;
}

.tbl-auth-toast-close {
    width: 24px;
    min-width: 24px;
    height: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 1px 0 0 0;

    border: none;
    border-radius: 8px;
    outline: none;

    background: rgba(var(--tbl-color-dark-rgb), 0.04);
    color: #54516f;

    font-size: 17px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    transition:
            background-color 0.2s ease,
            color 0.2s ease;
}

.tbl-auth-toast-close:hover {
    background: rgba(var(--tbl-color-primary-rgb), 0.10);
    color: var(--tbl-color-primary);
}

span.tbl-auth-js-phone-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 480px) {
    .tbl-auth-toast {
        top: 12px;
        right: 12px;
        left: 12px;

        padding: 11px 12px;
        border-radius: 12px;
    }

    .tbl-auth-toast-text {
        font-size: 12px;
    }

    .tbl-auth-toast-icon {
        width: 26px;
        min-width: 26px;
        height: 26px;
        border-radius: 9px;
    }

    .tbl-auth-toast-close {
        width: 22px;
        min-width: 22px;
        height: 22px;
        font-size: 16px;
    }

    form.tbl-auth-form{
        width: 100%;
    }
}
