:root {
    --main-color: #222;
    --second-color: #fff;
    --first-background: rgb(57, 203, 239);
    --second-background: rgb(18, 97, 150);

}


body {
    background-color: var(--main-color);
    color: var(--second-color);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow: hidden;
}

/* Start Loader spinner */
.loader {
    background-color: var(--main-color);
    z-index: 9999;
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: grid;
    place-items: center;
    opacity: 1;
    transition: opacity .23s, vis;
    -webkit-transition: opacity .23s, visibility 1s;
    -moz-transition: opacity .23s, visibility 1s;
    -ms-transition: opacity .23s, visibility 1s;
    -o-transition: opacity .23s, visibility 1s;
}

.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader svg {
    width: 3.25em;
    transform-origin: center;
    animation: rotate4 2s linear infinite;
}

circle {
    fill: none;
    stroke: hsl(214, 97%, 59%);
    stroke-width: 2;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash4 {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

/* End Loader spinner */
/* ================================== */
/* Start window Style */

/* End window Style */

/* ================================== */

/* Start Button Style */
button {
    --green: rgb(57, 203, 239);
    font-size: 15px;
    padding: 0.7em 2.7em;
    letter-spacing: 0.06em;
    position: relative;
    font-family: inherit;
    border-radius: 0.6em;
    overflow: hidden;
    transition: all 0.3s;
    line-height: 1.4em;
    border: 2px solid var(--green);
    background: linear-gradient(to right, rgba(18, 97, 150, 0.1) 1%, transparent 40%, transparent 60%, rgba(18, 97, 150, 0.1) 100%);
    color: var(--green);
    box-shadow: inset 0 0 10px rgba(57, 203, 239, 0.4), 0 0 9px 3px rgba(18, 97, 150, 0.1);
    width: 100%;
    height: 100%;
    cursor: pointer;
}

button:hover {
    color: rgb(57, 203, 239);
    box-shadow: inset 0 0 10px rgba(57, 203, 239, 0.6), 0 0 9px 3px rgba(18, 97, 150, 0.2);
}

button:before {
    content: "";
    position: absolute;
    left: -22%;
    width: 4em;
    height: 100%;
    top: 0;
    transition: left .8s ease-in-out;
    background: linear-gradient(to right, transparent 1%, rgba(18, 97, 150, 0.1) 40%, rgba(18, 97, 150, 0.1) 60%, transparent 100%);
    -webkit-transition: left .8s ease-in-out;
    -moz-transition: left .8s ease-in-out;
    -ms-transition: left .8s ease-in-out;
    -o-transition: left .8s ease-in-out;
}

button:hover::before {
    left: 100%;
}

/* End Button Style */
/* ======================================= */
/* Start Style inputs */
input {
    color: var(--second-color) !important;
}

.input__group {
    position: relative;
    padding: 20px 0 0;
    width: 100%;
}

.input__field {
    font-family: inherit;
    width: 100%;
    border: none;
    border-bottom: 2px solid #9b9b9b;
    outline: 0;
    font-size: 17px;
    color: #fff;
    padding: 7px 0;
    background: transparent;
    transition: border-color 0.2s;
}

.input__field::placeholder {
    color: transparent;
}

.input__field:placeholder-shown~.form__label {
    font-size: 17px;
    cursor: text;
    top: 20px;
}

.form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 17px;
    color: #9b9b9b;
    pointer-events: none;
}

.input__field:focus {
    padding-bottom: 6px;
    font-weight: 700;
    border-width: 3px;
    border-image: linear-gradient(to right, #116399, #38caef);
    border-image-slice: 1;
}

.input__field:focus~.form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 17px;
    color: #38caef;
    font-weight: 700;
}

/* reset input */
.input__field:required,
.input__field:invalid {
    box-shadow: none;
}

#totalText {
    background-color: red;
    color: var(--second-color);
}

#totalInput {
    background-color: transparent;
}

/* End Style inputs */
/* =================================== */
/* Start Style search Btn */
/* From uiverse.io by @satyamchaudharydev */
/* this button is inspired by -- whatsapp input */
/* == type to see fully interactive and click the close buttom to remove the text  == */

.search-container {
    --input-bg: #FFf;
    /*  background of input */
    --padding: 1.5em;
    --rotate: 80deg;
    /*  rotation degree of input*/
    --gap: 2em;
    /*  gap of items in input */
    --icon-change-color: var(--first-background);
    /*  when rotating changed icon color */
    --height: 100%;
    /*  height */
    padding-inline-end: 1em;
    /*  change this for padding in the end of input */
    background: var(--input-bg);
    position: relative;
    border-radius: 4px;
    height: 100%;
    min-height: 50px;
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--first-background);
    display: flex;
    align-items: center;
    height: var(--height);
}

.search-container input {
    width: 100%;
    padding-inline-start: calc(var(--padding) + var(--gap));
    outline: none;
    background: none;
    border: 0;
    color: var(--second-color);
}

/* style for both icons -- search,close */
.search-container svg {
    /* display: block; */
    color: var(--first-background);
    transition: 0.3s cubic-bezier(.4, 0, .2, 1);
    position: absolute;
    height: 15px;
}

/* search icon */
.icon {
    position: absolute;
    left: var(--padding);
    transition: 0.3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: 0.3s cubic-bezier(.4, 0, .2, 1);
    -moz-transition: 0.3s cubic-bezier(.4, 0, .2, 1);
    -ms-transition: 0.3s cubic-bezier(.4, 0, .2, 1);
    -o-transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

/* arrow-icon*/
.swap-off {
    transform: rotate(-80deg);
    opacity: 0;
    visibility: hidden;
}

/* close button */
.close-btn {
    right: calc(var(--padding) - var(--gap));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--first-background);
    padding: 0.1em;
    width: 20px;
    height: 20px;
    transition: 0.3s;
    opacity: 0;
    transform: scale(0);
    visibility: hidden;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    border: none;
    box-shadow: none;
}

.search-container input:focus~.icon {
    transform: rotate(var(--rotate)) scale(1.3);
}

.search-container input:focus~.icon .swap-off {
    opacity: 1;
    transform: rotate(-80deg);
    visibility: visible;
    color: var(--icon-change-color);
}

.search-container input:focus~.icon .swap-on {
    opacity: 0;
    visibility: visible;
}

.search-container input:valid~.icon {
    transform: scale(1.3) rotate(var(--rotate))
}

.search-container input:valid~.icon .swap-off {
    opacity: 1;
    visibility: visible;
    color: var(--icon-change-color);
}

.search-container input:valid~.icon .swap-on {
    opacity: 0;
    visibility: visible;
}

.search-container input:valid~.close-btn {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: 0s;
}

/* End Style search Btn */
/* =============================== */
.search-type {
    background: transparent !important;
}

.search-type-active {
    background-color: var(--second-background) !important;
    color: var(--second-color);

}

/* ======================== */
/* Start Table Style */
table {

    text-align: center;
}

table th {
    text-transform: uppercase;
}

/* End Table Style */
#totalAlert {
    display: none;
    min-width: 100%;
}

@media screen and (min-width:768px) {
    #totalAlert {
        position: absolute;
        bottom: 100%;
    }
}

#alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}