@import url(setFonts.css);

:root {
    --primerry-color-set:#9bdc28;
    --secondary-color-set:#d90429;

    --primerry-btn-color-set:#232323;
    --secondary-btn-color-set:#f5f5f5;

    --bg-color-set:#fff;
    --green-color-set:#198754;
    --text-color-set: rgba(21, 23, 23, 0.53);
    --input-bg-color-set:#7979791f;
    --loader-bg-base-color: rgb(255 255 255 / 80%);

    --loader-animation-base-color: rgba(255, 255, 255, .5);
    --loader-animation-color: #000000;
    --font-family-sans-serif: "iranyekan", sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.demoN1.sito-sell-form.dark{
    --bg-color-set:#212529;
    --green-color-set:#9bdc28;
    --text-color-set:#f5f5f5;
    --input-bg-color-set:#dcdcde1f;
    --loader-bg-base-color: rgba(17, 17, 17, 0.8);
}

.demoN1.sito-sell-form {
    position: relative;
    background-color: var(--bg-color-set);
    padding: 30px;
    margin: 1rem auto;
    width: 450px;
    border-radius: 20px;
    font-family: var(--font-family-sans-serif);
    text-align: center;

}

.demoN1.sito-sell-form .form {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.demoN1 .form-title{
    color: var(--text-color-set);
    font-size: 1.6rem;
}
.demoN1.sito-sell-form .pay-details-form-group, .sito-sell-form .pay-otp-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
[type=button]:focus, [type=submit]:focus, button:focus {
    outline: none;
}
.demoN1::placeholder
{
    font-family: var(--font-family-sans-serif);
    font-size: 14px;
}
:focus-visible{
    outline: none;
}
[type=button]:focus, [type=submit]:focus, button:focus{
    outline: none;
}
.demoN1.sito-sell-form .form button {
    align-self: flex-end;
    z-index: 1;
}
.demoN1.sito-sell-form .flex-column {
    display: none;
}
.demoN1.sito-sell-form .inputForm > label {
    color: var(--text-color-set);
    font-weight: 600;
    display: none;
}

.demoN1.sito-sell-form .inputForm {
    border: 1.5px solid #dcdcde1f;
    border-radius: 8px;
    min-height: 50px;
    display: flex;
    align-items: center;
    color: var(--text-color-set);
    transition: 0.2s ease-in-out;
}

.demoN1.sito-sell-form .input,
.demoN1.sito-sell-form select,
.demoN1.sito-sell-form textarea{
    padding: 0 20px;
    border-radius: 8px;
    border: none;
    width: 100%;
    min-height: 50px;
    border-color: #dcdcde1f;
    text-align: center;
    background-color: var(--input-bg-color-set);
    color: var(--text-color-set);
}
.demoN1 .sitoSellPayForm .inputForm textarea {
    padding-top: 10px;
}
.demoN1 .sitoSellPayForm .inputForm select option{
    background-color: var(--bg-color-set);
}
.demoN1.sito-sell-form .input:focus {
    outline: none;
}

.demoN1.sito-sell-form .inputForm:focus-within {
    border: 1.5px solid #dcdcde1f;
}

.demoN1.sito-sell-form .span {
    font-size: 14px;
    margin-left: 5px;
    color: #2d79f3;
    font-weight: 500;
    cursor: pointer;
}

.demoN1.sito-sell-form .button-submit {
    background-color: var(--primerry-color-set);
    border: none;
    color: var(--primerry-btn-color-set);
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    height: 50px;
    width: 100%;
    cursor: pointer;
    transition: all 0.4s;
}


.demoN1.sito-sell-form .button-submit:hover {
    background-color: var(--secondary-color-set);
    color: var(--secondary-btn-color-set);
}

.demoN1.sito-sell-form .p {
    text-align: center;
    color: var(--text-color-set);
    font-size: 14px;
    margin: 5px 0;
}

.demoN1.sito-sell-form .btn {
    margin-top: 10px;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    gap: 10px;
    color: var(--primerry-btn-color-set);
    border: none;
    background-color: var(--primerry-color-set);
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.demoN1.sito-sell-form .btn:hover {
    border: 1px solid #2d79f3;
    color: var(--secondary-btn-color-set);
}

.demoN1.sito-sell-form .pay-otp-form-group {
    top: 12px;
    position: relative;
    transition: all 0.4s;
    height: 0;
    opacity: 0;
}
.demoN1.sito-sell-form .pay-otp-form-group .authPayOtp{
     height: 0;
     transition: all 0.2s;
 }


.demoN1 .sitoSellPayForm .pay-otp-form-group .inputForm {
    display: flex;
    direction: ltr;
    border: none;
    width: 100%;
    height: -webkit-fill-available;
    gap: 16px;
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
}
/*CouponCodeForm*/
.demoN1.sito-sell-form .inputForm.CouponCodeForm {
    border: none;
}
.demoN1.sito-sell-form .inputForm.CouponCodeForm:focus-within {
    border: none;
}
.demoN1.sito-sell-form .button-submit.setCouponCode {
    margin:0 10px 0 0;
    background-color: var(--primerry-color-set);
    border: none;
    color: var(--primerry-btn-color-set);
    font-size: 13px;
    font-weight: 400;
    border-radius: 8px;
    width: 34%;
    cursor: pointer;
    line-height: 0;
    transition: all 0.4s;
}
.demoN1.sito-sell-form .button-submit.setCouponCode:hover {
    background-color: var(--secondary-color-set);
    color: var(--secondary-btn-color-set);
}

/*LOADER*/
.sito-sell-form .loader-wrap {
    top: 0;
    display: flex;
    right: 0;
    border-radius: 20px;
    background-color: var(--loader-bg-base-color);
    position: absolute;
    width: 100%;
    height: -webkit-fill-available;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    opacity: 0;
    z-index: -1;
}

.sito-sell-form .loader-wrap .loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--loader-bg-base-color);
    border-bottom-color: #cfc8d8;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sito-sell-form .loader:before,
.sito-sell-form .loader:after {
    display: none !important;
}

@media (max-width: 768px) {
    .demoN1.sito-sell-form {
        width: 96%;
    }
    .iziToast-wrapper {
        top: 1rem;
        width: 70%;

    }
}
.demoN1 .sitoSellPayForm .sellPayBtnDisable{
    background-color: #b8b8b8;
    cursor: auto !important;
}
.demoN1 .sitoSellPayForm .sellPayBtnDisable:hover{
    background-color: #b8b8b8;
    color: unset;
}

#topForm{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    top: 6px;
    position: relative;
    height: 0;
    opacity: 0;
    transition: all 0.4s;
}

#topForm .backBtnLink{
    text-align: right;
    height: 20px;
}

#topForm #recentCodeForm{
    text-align: left;
    color: var(--text-color-set);
    font-size: 14px;
    font-weight: normal;
}
#topForm #recentCodeForm #countdowntimer{
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    color: var(--primerry-color-set);
}
a#recentCode {
    color: var(--primerry-color-set);
    text-decoration: none;
    font-size: 15px;
}
a#recentCode:hover {
    color: var(--text-color-set);
}
#topForm #recentCodeTrue{
    color: var(--text-color-set);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    opacity: 0.5;
}


/*variations_attribute_box*/
.demoN1.sito-sell-form .variations_attribute_box {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.demoN1.sito-sell-form .variations_attribute_box .attribute-group {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.demoN1.sito-sell-form .variations_attribute_box .attribute-group .attribute_label {
    width: 100%;
    color: var(--text-color-set);
    text-align: center;
}

.demoN1.sito-sell-form .variations_attribute_box .attribute-group .attribute_items {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.demoN1.sito-sell-form .variations_attribute_box .attribute-group .radio_attribute_label {
    display: flex;
    color: var(--text-color-set);
    align-items: center;
    gap: 6px;
}

.demoN1.sito-sell-form .variations_attribute_box .attribute-group.color .attribute_items .radio_attribute_label .radio_attribute_title {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.demoN1.sito-sell-form .variations_attribute_box .attribute-group .attribute_items label .radio_attribute_input_circle {
    --color: var(--text-color-set);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
    background-color: transparent;
    border: 2px solid var(--color);
    border-radius: 50px;
    height: 1.5rem;
    width: 1.5rem;
}

.demoN1.sito-sell-form .variations_attribute_box .attribute-group .attribute_items .radio_attribute_input:checked ~ .radio_attribute_input_circle {
    --tw-bg-opacity: 1;
    --color: var(--text-color-set);
    background-color: var(--color);
    --tw-shadow-color: rgb(239 68 68 / 0.5);
    --tw-shadow: var(--tw-shadow-colored);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.demoN1.sito-sell-form .variations_attribute_box .attribute-group .attribute_items label:hover .radio_attribute_input_circle {
    --tw-shadow-color: rgb(239 68 68 / 0.5);
    --tw-shadow: var(--tw-shadow-colored);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}


/* START TOOLTIP STYLES */
[tooltip] {
    position: relative; /* opinion 1 */
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
    text-transform: none; /* opinion 2 */
    font-size: .9em; /* opinion 3 */
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
}

[tooltip]::before {
    content: '';
    border: 5px solid transparent; /* opinion 4 */
    z-index: 1001; /* absurdity 1 */
}

[tooltip]::after {
    content: attr(tooltip); /* magic! */

    /* most of the rest of this is opinion */
    font-family: Helvetica, sans-serif;
    text-align: center;

    /*
      Let the content set the size of the tooltips
      but this will also keep them from being obnoxious
      */
    min-width: 3em;
    max-width: 21em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1ch 1.5ch;
    border-radius: .3ch;
    box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
    background: #333;
    color: #fff;
    z-index: 1000; /* absurdity 2 */
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
    display: block;
}

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
    display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #333;
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #333;
}

[tooltip][flow^="down"]::after {
    top: calc(100% + 5px);
}

[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, .5em);
}

/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #333;
    left: calc(0em - 5px);
    transform: translate(-.5em, -50%);
}

[tooltip][flow^="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    transform: translate(-.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #333;
    right: calc(0em - 5px);
    transform: translate(.5em, -50%);
}

[tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 5px);
    transform: translate(.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
    to {
        opacity: .9;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: .9;
        transform: translate(0, -50%);
    }
}

/* FX All The Things */
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
}


/*product_count_box*/
.demoN1.sito-sell-form .product_count_box {
    width: 100%;
    display: flex;
    margin-top: 20px;
    align-items: center;
    justify-content: space-between;
}
.demoN1.sito-sell-form .product_count_box .sito-sell-input-number-label {
    text-align: right;
    color: var(--text-color-set);
}
.demoN1.sito-sell-form .product_count_box .sito-sell-input-number {
    width: 80px;
    padding: 0 12px;
    vertical-align: top;
    color: var(--text-color-set);
    text-align: center;
    outline: none;
    border: none !important;
    background-color: var(--input-bg-color-set);
}

.demoN1.sito-sell-form .product_count_box .sito-sell-input-number,
.demoN1.sito-sell-form .product_count_box .sito-sell-input-number-decrement,
.demoN1.sito-sell-form .product_count_box .sito-sell-input-number-increment {
    height: 40px;
    user-select: none;
}

.demoN1.sito-sell-form .product_count_box .sito-sell-input-number-decrement,
.demoN1.sito-sell-form .product_count_box .sito-sell-input-number-increment {
    display: inline-block;
    width: 30px;
    line-height: 38px;
    background-color: var(--input-bg-color-set);
    color: var(--text-color-set);
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
    padding: 0 10px;
}

.demoN1.sito-sell-form .product_count_box .sito-sell-input-number-decrement:active,
.demoN1.sito-sell-form .product_count_box .sito-sell-input-number-increment:active {
    background: #ddd;
}

.demoN1.sito-sell-form .product_count_box .sito-sell-input-number-decrement {
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: red;
    font-size: 24px;
}

.demoN1.sito-sell-form .product_count_box .sito-sell-input-number-increment {
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: green;
}

