@import "fonts/fonts.css";
:root{
    --red:#f44336;
    --pink:#e91e63;
    --purple:#9c27b0;
    --deeppurple:#673ab7;
    --indigo:#3f51b5;
    --blue :#2196f3;
    --lightblue:#03a8f5;
    --cyan:#00bcd4;
    --teal:#009688;
    --green:#4caf50;
    --lightgreen:#8bc34a;
    --lime:#cddc39;
    --yellow:#ffeb3b;
    --amber:#ffc107;
    --orange:#ff9800;
    --deeporange:#ff5722;
    --brown:#795548;
    --gray:#9e9e9e;
    --bluegray:#607d8b;
    --white:#ffffff;
    --black:#000000;
    --darkgray:#2b2b2b;
    --darkgraytwo:#323232;
    
    --bktransparent:#ffffff38;
    --brwtransparent:#ffc10729;
    --bkatransparent:#0000004f;
    
    --f-size10:10px;
    --f-size11:11px;
    --f-size12:12px;
    --f-size13:13px;
    --f-size14:14px;
    --f-size15:15px;
    --f-size16:16px;
    --f-size17:17px;
    --f-size18:18px;
    --f-size19:19px;
    --f-size20:20px;
    --f-size21:21px;
    --f-size22:22px;
    --f-size23:23px;
    --f-size24:24px;
    --f-size25:25px;
    --f-size26:26px;
    --f-size27:27px;
    --f-size28:28px;
    --f-size29:29px;
    --f-size30:30px;
    
    
}

* {

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    /* user-drag: none; */


  }

body {
    margin: 0;
    width: 100%;
    height: 100vh;
    background: var(--darkgray);
    font-family: Noto Kufi Arabic;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.main{
    flex-grow: 1;
    direction: rtl;
    overflow: auto;
}

a {
    color: initial;
    text-decoration: none;
}

.row{
    display: flex;
    list-style: none;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.justify-content-center{
    justify-content: center;
}

.justify-content-space-evenly{
    justify-content: space-evenly;
}
.justify-content-center{
    justify-content: center;
}


.col-5{
    width: 5%;
}
.col-10{
    width: 10%;
}
.col-15{
    width: 15%;
}
.col-20{
    width: 20%;
}
.col-25{
    width: 25%;
}
.col-30{
    width: 30%;
}
.col-35{
    width: 35%;
}
.col-40{
    width: 40%;
}
.col-45{
    width: 45%;
}
.col-50{
    width: 50%;
}
.col-55{
    width: 55%;
}
.col-60{
    width: 60%;
}
.col-65{
    width: 65%;
}
.col-70{
    width: 70%;
}
.col-75{
    width: 75%;
}
.col-80{
    width: 80%;
}
.col-85{
    width: 85%;
}
.col-90{
    width: 90%;
}
.col-95{
    width: 95%;
}
.col-100{
    width: 100%;
}


.header {
    height: 70px;
    background: var(--amber);
}

.img-container {height: 100%;}

img {
    max-height: 100%;
    max-width: 100%;
}

.menu {justify-content: flex-end;padding: 0;margin: 0;align-items: center;}

.menu li {padding: 0 10px;}

.container-main-padding {
    padding: 0 20px;
}

form {color: var(--white);display: flex;flex-direction: column;direction: ltr;width: 100%;max-width: 400px;}

form input, form select {
    border: none;
    padding: 0px 10px;
    margin: 9px;
    height: 35px;
    border-radius: 5px;
    unicode-bidi: plaintext;
    text-align: right;
    font-family: 'Noto Kufi Arabic';
    width: calc(100% - 100px);
}

form > div {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 70px;
    justify-content: space-between;
}

form a {
    color: var(--amber);
    text-decoration: none;
    border: solid 1px;
    padding: 2px 10px;
    margin: 9px;
    border-radius: 5px;
}

.flex-start{
    justify-content: flex-start !important;
}

.welcome-title {
    text-align: center;
    color: var(--white);
    font-family: 'Noto Kufi Arabic';
    font-weight: 600;
    font-size: var(--f-size20);
}

.container.container-main-padding {
    padding: 20px;
    min-height: 69px;
    height: calc(100% - 40px);
    position: relative;
}

.footer.container-main-padding {
    text-align: center;
    unicode-bidi: plaintext;
    color: var(--white);
    bottom: 0;
    width: 100%;
    padding: 15px 0px;
}

.footer.container-main-padding a {
    color: var(--white);
    text-decoration: none;
}

ul.orders-table, ul.summary-table {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    overflow: auto;
    align-items: center;
    flex-wrap: wrap;
    direction: rtl;
    padding: 0;
    margin: 0;
}

ul.orders-table li, ul.summary-table li {
    display: flex;
    justify-content: space-evenly;
    width: calc(100% - 2px);
    border: 1px solid;
    border-color: var(--bktransparent);
}

ul.orders-table li div, ul.summary-table li div {
    text-align: center;
    position: relative;
    padding: 4px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}


ul.orders-table li div:not(:first-child):after, ul.summary-table li div:not(:first-child):after{
    content: "";
    width: 1px;
    height: 100%;
    border-radius: 5px;
    background-color: var(--bktransparent);
    display: block;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    }

ul.orders-table a, ul.summary-table a {
    color: var(--amber);
    border: solid 1px;
    padding: 0 11px;
}

a.new-order {
    color: var(--amber);
    border: solid 1px;
    padding: 0 0px 0 8px;
    display: block;
    margin: 21px 0;
    width: fit-content;
    font-size: var(--f-size14);
    display: flex;
    align-items: center;
}

a.new-order span {
    display: inline-block;
    background: var(--amber);
    padding: 0 10px;
    color: var(--darkgray);
    font-size: var(--f-size18);
    margin-left: 10px;
    height: 100%;
    display: flex;
    align-items: center;
}

.popup {
    position: absolute;
    background: var(--darkgray);
    width: 330px;
    height: fit-content;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: solid 1px;
    border-radius: 11px;
    overflow: auto;
    border-color: var(--brwtransparent);
}
.popover {
    position: absolute;
    background: var(--darkgray);
}
.popup-header {
    display: flex;
    justify-content: space-between;
    background: var(--amber);
    color: var(--darkgray);
    align-items: center;
}
.popup-header .button {
    padding: 6px 15px;
}

form select {
    width: calc(100% - 96px);
}

form label {
    width: 110px;
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="submit"] {
    width: fit-content;
}

input[type=number] {
    width: calc(100% - 215px);
}


.radio-container {
    display: block;
    position: relative;
    padding-left: 0px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: var(--f-size20);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: auto;
  }
  
  /* Hide the browser's default checkbox */
  .radio-container input[type=radio] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    border: solid 1px;
    padding: 10px;
    transition-duration: 100ms;
  }
  
  /* On mouse-over, add a grey background color */
  .radio-container:hover input[type=radio] ~ .checkmark {
    color: var(--amber);
  }
  
  /* When the checkbox is checked, add a blue background */
  .radio-container input[type=radio]:checked ~ .checkmark {
    background-color: var(--white);
    color: var(--darkgray);
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .radio-container input[type=radio]:checked ~ .checkmark:after {
    display: block;
  }
  


.wizard-step .step-title {
    display: block;
    text-align: center;
    font-size: var(--f-size30);
    margin: 10px 0;
}

.wizard-step {
    display: none;
    text-align: right;
}


.wizard-step:nth-child(1) {
    display: block;
}

.wizard-step .step-content {
    margin-bottom: 40px;
    justify-content: center;
}

a.filled {
    color: var(--darkgray);
    background: var(--amber);
    padding: 10px 20px;
    font-size: var(--f-size16);
}

.hidden{
    display: none;
}

.disabled{
    pointer-events: none;
    opacity: 0.5;
}

.small-summary {
    unicode-bidi: plaintext;
    height: 31px;
}

a.bordered {
    color: var(--amber) !important;
    border: solid 1px !important;
    padding: 10px 20px !important;
    font-size: var(--f-size1) !important;
}


.start-container {
    position: absolute;
    top: -90px;
    bottom: 0;
    height: fit-content;
    margin: auto;
    left: 0;
    right: 0;
}

span.error {
    position: absolute;
    bottom: -12px;
    left: 0px;
    text-align: center;
    width: calc(100%);
    color: var(--pink);
    font-size: var(--f-size13);
}

form.login-form div {
    position: relative;
}

.popup-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bkatransparent);
}
.popover-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bkatransparent);
}
.alert-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bkatransparent);
}

input.errorInput {
    border: solid 3px var(--red);
}

.loader {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bkatransparent);;
    z-index: 1000000;
 }

 .loader:after {
    content:"";
    width: 48px;
    height: 48px;
    border: 5px solid var(--white);
    border-bottom-color: transparent;
    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);
}
} 


.alert {
    position: absolute;
    background: var(--darkgray);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: fit-content;
    width: 300px;
    text-align: center;
    margin: auto;
    overflow: auto;
    border: solid 0px;
    border-radius: 7px;
}

.alert .buttons-row {
    display: flex;
}

.alert .buttons-row a {
    width: 100%;
    font-size: var(--f-size13);
    padding: 4px;
    background: var(--darkgraytwo);
    color: var(--amber);
}

.alert .content {
    padding: 20px;
    font-size: var(--f-size19);
    unicode-bidi: plaintext;
}

input#submit {
    color: var(--darkgray);
    background: var(--amber);
    padding: 10px 20px;
    font-size: var(--f-size16);
    height: auto;
}

.processing-status {
    color: var(--amber);
}

.approved-status {
    color: var(--green);
}
.rejected-status {
    color: var(--red);
}

.orders .buttons-row {
    display: flex;
}

.orders .buttons-row .button {
    color: var(--amber);
    border: solid 1px;
    padding: 0 8px;
    display: block;
    margin: 21px 0;
    width: fit-content;
    margin-left: 10px;
    font-size: var(--f-size14);
    display: flex;
    align-items: center;
}

.orders .buttons-row a {
    margin-left: 10px;
}

.list {
    display: flex;
    flex-direction: column;
    max-height: 250px;
    overflow: auto;
    width: 100%;
}

.list button, .list a {
    padding: 15px 22px;
    color: var(--white);
    position: relative;
    background: var(--darkgray);
    border: 0;
    display: block;
    box-shadow: none;
    font-family: inherit;
    font-size: var(--f-size13);
    text-align: center;
}

.list button:after, .list a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0.2px;
    display: block;
    background: var(--white);
    left: 0;
    bottom: 0;
    opacity: 0.05;
}

.list button:hover,.list button:active, .list a:hover, .list a:active {
    background: var(--amber);
    color: var(--black);
}

.list a.bordered:hover, .list a.bordered:active {
    background: inherit !important;
    color: var(--amber);
}



.popup .list div .item-title {
    text-align: right;
    width: 135px;
}

.popup .list div .item-content {
    width: calc(100% - 135px);
    text-align: right;
}

.list input {
    border: none;
    padding: 0px 10px;
    margin: 9px;
    height: 35px;
    border-radius: 5px;
    unicode-bidi: plaintext;
    text-align: right;
    font-family: 'Noto Kufi Arabic';
    width: calc(100%);
}
.buttons-row {
    display: flex;
    justify-content: space-around !important;
}

.buttons-row a, .buttons-row input {
    width:auto;
}

form.list {
    max-height: fit-content;
}

.step-content div {
    display: flex;
    justify-content: space-around;
    margin: 35px 0;
}

li.unverified-user div:nth-child(3) {
    color: var(--amber) !important;
}

li.banned-user div:nth-child(3) {
    color: var(--red) !important;
}

li.verified-user div:nth-child(3) {
    color: var(--white) !important;
}

.orders-table button {
    background: transparent;
    border: none;
    box-shadow: none;
    color: inherit;
    font-size: initial;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 9px;
    min-width: 100%;
    min-height: 100%;
}

.pagination {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
}

.pagination a {
    color: var(--white);
    padding: 0 10px;
}

.pagination a.active {
    color: var(--amber);
    text-decoration: underline;
}

.new-account {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    left: 0;
    right: 0;
    width: fit-content;
}

.new-account a.new-order {
    height: 140px;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--f-size23);
    text-align: center;
    border-radius: 35px;
}

button.account-note {
    max-height: 33px;
    overflow: auto;
}

textarea {
    border: none;
    padding: 0px 10px;
    margin: 9px;
    height: 35px;
    border-radius: 5px;
    unicode-bidi: plaintext;
    text-align: right;
    font-family: 'Noto Kufi Arabic';
    width: calc(100%);
    height: 150px;
}

.main-app {
    margin: 0;
    width: 100%;
    height: 100vh;
    background: var(--darkgray);
    font-family: Noto Kufi Arabic;
    color: var(--white);
    display: flex;
    flex-direction: column;
}