:root {
    --borderradius: 10px;
    --orange: #ff9900;
    --red: #850202;
    --green: #1a3e0e;
    --white: #ffffff;
    --dark: #121212;
    --dark1st: #202020;
    --dark2nd: #303030;
    --dark3rd: #454545;
}

*, *::before, *::after {
    transition: all 0.3s ease-in-out;
}

html {
    background: var(--dark1st);
    background-size: 16px 16px !important;
    overscroll-behavior: none;
    display: block;
    overflow: hidden;
}
body {
    font-family: system-ui;
    color: var(--white);
    fill: var(--white);
    font-size: 1em !important;
    margin: 0px !important;
    padding: 0px !important;
    cursor: default;
    display: block;
    height: 100vh;
}
html, body {
    overflow-x: hidden;
    width: 100%;
}

/*  hide scrole bar */
@media screen and (max-width: 768px) {
    body {
        overflow: hidden;
        overflow-y: auto;
        -ms-overflow-style: none;  /* For Internet Explorer */
        scrollbar-width: none;     /* For Firefox */
    }

    body::-webkit-scrollbar {
        display: none;  /* For Chrome, Safari, and Edge */
    }
}




p {
    letter-spacing: 1px;
    margin: 0px;
}

h1, h2, h3 {text-transform: uppercase;}

a {
    color: #ff9900;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

textarea {
    border: unset;
    border-radius: 10px;
    padding: 10px;
    background-color: var(--dark);
    color: var(--white);
}

/** scrollbar styling   **/
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: var(--dark2nd);
    border-radius: var(--borderradius);
    border: 2px solid transparent;
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--dark2nd);
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-corner {
    background: transparent;
}


/** No select  CSS  **/
.noselect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.orange { color: var(--orange)}

/* SELECT */
.select-container {
    position: relative;
    width: 100%;
}

select {
    width: 100%;
    border-radius: var(--borderradius);
    padding: 12px 15px;
    color: var(--white);
    background-color: var(--dark);
    text-transform: uppercase;
    border: none;
    font-weight: 600;
    appearance: none;
    outline: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><polygon points="0,0 140,0 70,70" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
    height: fit-content;
}

/* Hide the native dropdown arrow in IE */
select::-ms-expand {
    display: none;
}

/* ALERT CSS */
#alertdiv {
    display: none;
    position: absolute;
    right: 0px;
    overflow-y: auto;
    height: 100vh;
    max-height: fit-content;
    top: 10%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    max-width: 340px;
    z-index: 999;
}
#alertdiv::-webkit-scrollbar {
    display: none;
}

.alertcontent {
    display: flex;
    gap: 6px;
    margin: 10px;
    border-radius: var(--borderradius);
    color: var(--white);
}
.alertcontent > p {
    margin: auto 0px;
    padding: 10px;
}
.alertcontent > p > b {
    display: block;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#okmgs {
    width: fit-content;
    padding: 10px !important;
    border-radius: var(--borderradius) 0px 0px var(--borderradius) !important;
    height: auto;
}
#okmgs:hover {
    background: var(--dark) !important;
}

@media screen and (max-width: 768px) {
    #alertdiv {
        width: 90%;
    }
}

.fullwidth {
    width: 100%;
    width: -webkit-fill-available;
    width: fill-available;
    box-sizing: border-box;
    max-width: 1100px;
}

/** 
>>>>>>>>>    LOADING LOGO
**/
@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes zoomLogo {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--dark1st);
    padding: 20px;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 2;
}
#loading img {
    width: 150px;
    margin: auto;
    border-radius: var(--borderradius);    
    animation: zoomLogo infinite linear 2s;
}

/* DISABLE  CSS */
.disable {
    pointer-events: none;
    opacity: 0.4;
    user-select: none;
}

.button {
    background-color: var(--dark2nd);
    border-radius: var(--borderradius);
    color: var(--white);
    cursor: pointer;
    padding: 6px 20px;
    margin: 0px;
    height: fit-content;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    gap: 10px;
    align-items: center;
    text-transform: uppercase;
    min-height: 40px;
}
.button > svg {
    width: 30px;
    height: 30px;
}
.button > span {
    width: max-content;
}

.button:hover {
    background-color: var(--dark3rd) !important;
}

.link {
    cursor: pointer;
    padding: 5px;
    border-radius: var(--borderradius);
    text-transform: uppercase;
}

.link:hover {
    background-color: var(--dark2nd);
}

input {
    background-color: var(--dark);
    color: var(--white);
    border: unset;
    padding: 20px;
    height: 0px;
    border-radius: var(--borderradius);
    box-shadow: none;
    outline: none;
    border: none;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* session expired */
.session_expired {
    display: grid;
    gap: 10px;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    margin: 50px auto;
    background-color: var(--dark1st);
    border-radius: var(--borderradius);
    box-shadow: 0px 0px 130px 0px #1a1919;
}
.session_expired > h1 {
    color: #d9534f;
}
.session_expired > p {
    font-size: 16px;
    color: #f8f8f8;
}
