:root {
    --theme-color-primary: #8550BD;
    --theme-color-white: #fff;
    --theme-color-white: #FFFFFF;
    --primary: #8450DB;
    --theme-color-primary: #8450DB;
    --theme-color-error: #E31C1C;
    --theme-color-warning: #FFB900;
    --theme-color-black: #202122;
    --theme-color-white: #FFFFFF;
    --theme-color-red: #F26065;
    --theme-color-gray-1: #F9F9F9;
    --theme-color-gray-2: #F2F2F2;
    --theme-color-gray-3: #9E9E9E;
    --theme-color-gray-stroke: #D3D3D3;
    --theme-color-gradient: linear-gradient(255.4deg, #355BE0 0%, #B945CC 100%);
    --theme-color-second: #e95c5c;
    --theme-color-light: #f0f0f0;
    --theme-success: #32B76C;
    --theme-green: #32B76C;
    --theme-link: #8450DB;
    --theme-placeholder: #7E7E7E;
    --theme-hover: #6C33CB;
    --theme-active: #6400A3;
    --theme-disabled: #CCCCCC;
    --theme-background: #F7F7F7;
    --theme-select-input: rgba(132, 80, 219, .16);
}
.wmax-582px{
    width:36.375rem ;
}

.wrap-phone-flag{
    position: relative;
}

.form-control-feedback-icon-flag{
    --input-icon-padding-y: 0.5rem;
    --input-icon-padding-x: 0.875rem;
    position: absolute;
    color: rgba(var(--body-color-rgb),.75);
    z-index: 5;
    transform: translateY(-50%);
    right: 4%;
    top: 67%;
}
.alert-code-phone {
    color: #FF0004;
    font-size: 12px;
    display: none;
}

.btn-link-code {
    padding: 0 !important;
}

.text-end {
    display: flex;
    justify-content: end;
    align-items: end;
}

.title-field {
    font-size: 20px !important;
}

.btn-primary-market{
    color: #fff;
    background-color: var(--primary) #E5E7EB;
    border-color: var(--primary) #E5E7EB;
}
.cart-sms{
    border-radius: 1.5rem !important;
}
h5{
    font-size: 1.5rem !important;
}
.form-label-sms{
    color: #000;
    font-weight: 400;
    display: inline-block;
    margin-bottom: .5rem;
}

.input-sms{
    position: relative;
}
.input-sms .wrap-phone-flag{
    position: relative;
}
.input-sms input{
    height: 52px !important;
    font-weight: 400;
    font-size: 16px;
    position: relative;
    border-radius: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    background: var(--theme-color-gray-1) !important;
    border: 1px solid var(--theme-b-sd-primary) !important;
}

.form-control-feedback-end .input-sms {
    height: 52px !important;
    font-weight: 400;
    font-size: 16px;
    position: relative;
    border-radius: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    background: var(--theme-color-gray-1) !important;
    border: 1px solid var(--theme-b-sd-primary) !important;
}

.wrap-phone-flag input{
    height: 52px !important;
    font-weight: 400;
    font-size: 16px;
    position: relative;
    border-radius: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    background: var(--theme-color-gray-1) !important;
    border: 1px solid var(--theme-b-sd-primary) !important;
}


.text-margin-sms{
    margin-bottom: 0.5rem !important;
}
.text-margin-0{
    margin-bottom: 0rem !important;
}

.btn-sms{
    border-radius: 2rem !important;
}

.p-custom{
    padding: 1.5rem 2.875rem  !important;

}
.p-custom:first-child{
    background: #fff !important;
    border-radius: 1.5rem 1.5rem 0 0 !important;
}
.form-control-feedback {
    color: #333;
    line-height: calc(1.5715em + .875rem + 2px);
    min-width: 1rem;
}

.form-control-feedback-icon{
    position: absolute;
    top: 70% !important;
    left: 90%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}
.form-group {
    margin-bottom: 1.25rem;
}

.content {
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-left: .625rem;
    margin-right: .625rem;
}
.overflow-auto {
    overflow: auto !important;
}
.align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}
.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}
.card {
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}
.card {
    word-wrap: break-word;
}
.card-header:not([class*="bg-"]) {
    background-color: transparent;
    border-bottom-width: 0;
}
.pb-0, .py-0 {
    padding-bottom: 0 !important;
}
.card-header {
    padding: 1.25rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .02);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    border-bottom-width: 1px;
}
.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}
.text-margin-0 {
    margin-bottom: 0rem !important;
}
input.form-control, select.form-control, .btn.dropdown-toggle, .select2-search__field {
    height: 52px;
    font-weight: 400;
    font-size: 16px;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5715em + .875rem + 2px);
    padding: .4375rem .875rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5715;
    color: #333;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ddd;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
input {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
button, input, optgroup, select, textarea {
    margin: 0;
    margin-bottom: 0px;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
.btn-block {
    display: block !important;
    width: 100% !important;
}
.card-body .btn {
    display: inline-block;
    font-weight: 400;
    color: #333;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    background-color: transparent;
    padding: .4375rem .875rem;
    font-size: .875rem;
    line-height: 1.5715;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.card-body .btn-link {
    font-weight: 400;
    color: #2196f3;
    text-decoration: none;
}
.card-body .btn {
    position: relative;
}

.card-body  .btn-link-code {
    padding: 0 !important;
}
.w-100 {
    width: 100% !important;
}
.card-body .btn-main {
    color: var(--theme-color-white);
    background: var(--theme-color-primary);
    border: 2px solid var(--theme-color-primary);
}

.card-body .btn-main:hover {
    color: var(--theme-color-white);
    background: var(--theme-hover);
    border: 2px solid var(--theme-hover);
}

.card-body .btn.btn-main{
    padding: 15px 32px;
    font-weight: 400;
    line-height: 16px;
    height: 52px;
}
.card-body input.form-control:not(.btn-main), textarea.form-control, select.form-control, .select2-selection {
    background: #f9f9f9 !important;
    border: 1px solid #d3d3d3 !important;
}
.card-body .btn:not(.btn-secondary, .btn-tertiary, .btn.btn-link){
    color: var(--theme-color-white) !important;
    font-size: 16px;
}
.card-body .btn.btn-link {
    color: var(--theme-link) !important;
    font-weight: 400;
    text-decoration: none;
    font-size: 16px;
    height: auto;
}
.card-body .btn.btn-link:hover {
    color: var(--theme-hover) !important;
}
.card-body .btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.card-body .btn-link:hover {
    color: #0a6ebd;
    text-decoration: none;
    background-color: transparent !important;
}
.card-body .btn:hover {
    color: var(--theme-hover);
}
.card-body input.form-control:focus, textarea.form-control:focus, select.form-control:focus, .select2-selection:focus {
    border: 1px solid var(--theme-active) !important;
    outline: 0;
    outline-offset: 0;
}
.card-header .fw-bold {
    font-weight: 400 !important;
    line-height: 1.5715;
}
.input-password-toggle{
    bottom: 50% !important;
}
.swal2-container .wmax-582px{
    border: 0 !important;
}
.swal2-container .card-header{
    padding: 0 !important;
}
.swal2-container .card-body{
    padding: 0 !important;
}
.swal2-container .card{
    box-shadow: none!important;
}
.ml-auto{
    margin-left: auto;
}
.custom-control-input {
    z-index: -1;
    width: 1.25rem;
    position: absolute;
    left: 0;
    opacity: 0;
    /*height: 1.31253rem;*/
}
.custom-control .custom-control-label {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
label.custom-control {
    margin-bottom: 0;
}

.custom-control {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 1.37506rem;
    padding-left: 0;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--theme-color-primary);
    background-color: var(--theme-color-primary);
    color: #fff;
}
.custom-control-label::before {
    left: 0;
    top: .0625rem;
}
.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.custom-control-label::before {
    position: absolute;
    top: .06253rem;
    left: -2rem;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #ddd solid 2px;
    border-top-color: rgb(221, 221, 221);
    border-right-color: rgb(221, 221, 221);
    border-bottom-color: rgb(221, 221, 221);
    border-left-color: rgb(221, 221, 221);
    box-shadow: 0 0 0 0 transparent;
}
::before {
    box-sizing: border-box;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='%23fff' d='M13.5 2l-7.5 7.5-3.5-3.5-2.5 2.5 6 6 10-10z'/%3e%3c/svg%3e");
}
.custom-control-label::after, .custom-control-label::before {
    left: 0;
    top: .0625rem;
}
.custom-control-label::after {
    position: absolute;

    display: block;
    width: 1.25rem;
    height: 1.25rem;
    content: "";
    background: 50%/50% 50% no-repeat;
    background-image: none;
}
.custom-checkbox .custom-control-label::before {
    border-radius: .1875rem;
}
.custom-control-label {
    display: -ms-inline-flexbox;
    display: inline-flex;
    padding-left: 2rem;
    padding-bottom: 2px;
    min-width: 1.25rem;
    min-height: 1.25rem;
}
.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
}
.mb-4 {
    margin-bottom: 16px !important;
}
.message {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
}
.fs-1 {
    font-size: 14px !important;
}
.message-errortext {
    background-color: #F6676719;
    color: #F66767;
}
.popup-auth{
    z-index: 994 !important;
}
@media (max-width: 762px) {
    .form-control-feedback-icon-flag {
        right: 91%;
    }
    .form-control[data-type=phone]{
        padding: 1.4375rem 52px;
    }
}
@media (max-width: 530px) {
    .form-control-feedback-icon-flag {
        right: 85%;
    }
}
@media (max-width: 400px) {
    .auth-page .wmax-582px{
        width: auto;
    }
}