*{
    transition: none;
    font-family: 'Baloo Bhaijaan 2', cursive;
    caret-color: #13b969;
    outline-color: hsl(151, 81%, 40%, 0.5);;  
}
body{
    margin-bottom:0
       
}

:root{
    --medium-sea-green: #13b969;
    --gray-web: #a0a0a0;
    --cultured: #f2f2f3;
    --black: #000000;
    --bg: #dadada;
    --hover-bs:2px 3px 0 0 rgba(0, 0, 0, 0.2);
    --green:#20db20;
    --orange:#ff9900;
    --blue: #2196f3;
}

::selection {
    color: #fff;
    background: var(--medium-sea-green);
}

input:disabled{
    cursor:not-allowed
}
.disabled{
    opacity:.8;
    pointer-events: none;
    user-select: none;
    appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
h1{margin:0}

.material-icons-round.md-18 { font-size: 18px; max-width: 18px;}
.material-icons-round.md-24 { font-size: 24px; max-width: 24px;}
.material-icons-round.md-36 { font-size: 36px; max-width: 36px;}
.material-icons-round.md-48 { font-size: 48px; max-width: 48px;}


.form-scrollable{
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 80vh;
    padding: 5px;
}

.pop-form-input-p{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 10px;
}
.pop-form-input-p label{
    font-size: 18px;
}
.pop-form-input-p input,.default-input{
    width: calc(100% - 30px);
    font-size: 18px;
    height: 35px;
    padding: 0 15px;
    border-radius: 10px;
    border: none;
    background-color: var(--cultured);
    transition: all 200ms ease;
    outline-color: #13b969a1;
}
.pop-form-input-p select,.default-select{
    width: calc(100%);
    font-size: 18px;
    height: 35px;
    padding: 0 15px;
    border-radius: 10px;
    border: none;
    background-color: var(--cultured);
    transition: all 200ms ease;
    outline-color: #13b969a1;
    cursor: pointer;
}
.pop-form-input-p select:disabled{
    cursor: not-allowed;
    appearance: none

}
.pop-form-input-p textarea, .default-textarea{
    direction: rtl;
    width: calc(100% - 20px);
    font-size: 18px;
    height: 70px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background-color: var(--cultured);
    transition: outline 200ms ease;
    outline-color: #13b969a1;
    resize: none;
    
}

#close-full-screen{
    cursor: pointer; 
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background:#fff ;
    color: var(--medium-sea-green);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 7px;
    right: 7px;
}

#full-screen-bg{
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    position:fixed;
    top: 0;
    left:0;
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}
.pop-form{
    background: #fff;
    padding:0 20px 20px;
    border-radius: 20px;
    max-width: 70%;
    min-width: 40%;
    min-height: 300px;
    max-height: 90%;
    display: none;
    flex-direction: column;
}

.pop-form h2{
    text-align: center;
    border-bottom: 1px solid var(--bg);
    color: var(--medium-sea-green);
    cursor: default;
    direction: rtl;
    margin-bottom: 0px;
}


.pop-form button , .default-button{
    border: none;
    background: var(--medium-sea-green);
    width: 100%;
    margin-top: 20px;
    font-size: 20px;
    color: #fff;
    border-radius: 10px;
    transition: all 200ms ease;
    cursor: pointer;
    
}
.pop-form details{
    width: 100%;
    margin-top: 20px;
    transition: all 200ms ease;
    direction: rtl;
    
}
.pop-form details > summary{
cursor: pointer;
    
}
.pop-form details > p{
    background-color: var(--cultured);
    padding:  0 5px;
    border-radius: 10px;
    margin: 0 5px;
    padding:0 15px;

}

.pop-form button:hover , .default-button:hover{
    box-shadow:2px 4px 0 0 hsl(151deg 60% 40%);
}

input::-webkit-calendar-picker-indicator {
   opacity: 1;
 }
progress {
border-radius: 100px; 
box-shadow: 0 0 5px 0px rgb(0 0 0 / 10%);
height:     10px;

}
progress::-webkit-progress-bar {
background-color: #fff;
border-radius: 100px;
overflow: hidden;
}
progress::-webkit-progress-value {
background-color: var(--medium-sea-green);
border-radius: 100px;
}

#loading{
    display: inline-block;
    width: var(--loading-wh);
    height:var(--loading-wh);
    border-radius: 50%;
    border: var(--loading-bw) solid var(--bg);
    border-top: var(--loading-bw) solid var(--medium-sea-green);
    -webkit-animation: spin 1s ease-in-out infinite;
    animation: spin 1s ease-in-out infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
#skeleton-loading{
    display: inline-block;
    width: var(--w);
    height:var(--h);
    border-radius: var(--br);
    background: #ececec;
    background-image: -webkit-linear-gradient(left, #ececec 0px, #ddd 40px, #ececec 80px);
    background-image: -o-linear-gradient(left, #ececec 0px, #ddd 40px, #ececec 80px);
    background-image: linear-gradient(90deg, #ececec 0px, #ddd 40px, #ececec 80px);
    background-size: 250px;
    -webkit-animation: skeleton-shine 2.4s infinite ease-out;
    animation: skeleton-shine 2.4s infinite ease-out;
    cursor: wait;
}

@-webkit-keyframes skeleton-shine {
    0% {
      background-position: -32px;
    }
    40%, 100% {
      background-position: 208px;
    }
  }
  
  
  @keyframes skeleton-shine {
    0% {
      background-position: -32px;
    }
    40%, 100% {
      background-position: 208px;
    }
  }
  
input[type="radio"]{
    cursor: pointer;
    appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    border-radius: 50%;
    max-width:  16px;
    height: 16px;
    
    border: 3px solid var(--bg);
    background-color: #fff;
    transition: 0.2s all linear;
    padding: 0;
    box-sizing: border-box;
}
input[type="radio"]:checked{
    border: 5px solid var(--medium-sea-green);
}

@media (max-height:500px) {
    body{
       overflow-y: scroll !important;
    }
}


.back-btn{
    color: var(--medium-sea-green);
    background-color: #fff;
    font-size: 16px;
    border-radius: 7px;
    padding: 3px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.back-btn span{
    transition: all 200ms ease-in-out;
}
.back-btn:hover > span{
    margin: 0 7px 0 -7px
}

.top{
    padding: 5px 15px 5px 9px;
    width: calc(100% - 40px);
    background-color: var(--medium-sea-green);
    margin: 5px 10px 15px 5px;
    border-radius:10px;
    color: #fff;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
}
.top .btn{
    border-radius: 7px;
    min-height: 70%;
    padding: 3px 10px;
    border: none;
    margin: 5px 0;
    background: #fff;
    color: var(--medium-sea-green);
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    text-decoration: none !important;
    
}
.top div{
    font-weight: 700;
    font-size: inherit;
    cursor: default;
}
.top div.title a{
    color: #fff;
}
.top div.top-info{
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 5px;
    cursor: default;
    flex-wrap: wrap-reverse;
    color: #fff;
}
.top a:hover{
    text-decoration: underline;
}
@media (max-width: 850px){
    .top{
        margin-right: 5px;
        width: calc(100% - 23px);
        padding-right: 5px;
        /* position: sticky;
        z-index: 2;
        top: 90px; */
        
    }
    /* .top::before{
        position: absolute;
        top: -10px;
        right:-4px;
        
        content: '';
            width: calc(100% + 9px);
            height: 10px;
            background-color: #fff;
        } */
}

#error, #success{
    width: fit-content;
    display: flex;
    border-radius: 100000px;
    background: rgb(255 255 255);
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 3px 0 10px;
    user-select: none;
    pointer-events: none;
    margin-bottom: -40px;
    z-index: 1;
}
#error span{color: red;}
#error{
    border: 1px solid red;
    z-index: 3;
}
#success span{color: #20db20;}
#success{
    border: 1px solid #20db20;
    z-index: 3;
}

button{
    color:#000
}

.loading-screen-bg{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.loading-screen-bg div:nth-child(2){
  /* background-color: var(--cultured); */
  padding: 0 10px ;
  border-radius: 10px;
}
.loading-screen-bg div:nth-child(2)::before{
   content: '. . .';
   animation: loading-dots 2s ease-in-out infinite;
   margin-left: 0;
   display: inline-block;
   width : 15px;
   text-align: right;
   margin-right: 3px;
   /* background-color: yellow; */
}

@keyframes loading-dots {
    100%{
        content: '. . .';
    }
    66%{
        content: '. .';
    }
    33%{
        content: '.';
    }
    0%{
        content: '';
    }
}


.form-slider-p{
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content:start;
    align-items: center;
    height:50px;
    background-color: var(--cultured);
    border-radius: 15px;
    position:relative;
}

.form-slider-p .slider-opt{
    /* min-width: fit-content; */
    width: calc(50% - 20px );
    margin: 0 10px;
    display:grid;
    justify-items: center;
    align-items: center;
    font-size: 18px;
    z-index: 1;    
    cursor: pointer;
    overflow: auto;
    white-space: nowrap;
}
.form-slider-p .slider-opt::-webkit-scrollbar{
    display: none;
}
.form-slider-p #slider{
    position: absolute;
    left: 5px;
    right: auto;
    background-color: rgb(255, 255, 255);
    width: calc(50% - 15px);
    border: 2px solid #13b969;
    z-index: 0;
    height: calc(100% - 12px);
    border-radius:12px;
    transition: all 300ms ease;
   
    
}

.required-asterisk{
    direction: rtl;
    
}
.required-asterisk:after{
    content: " *";
    font-size: 1.3em;
    line-height: 0;
    color: #ff0000;
    height: 100%;
    display: inline-flex;
    position: relative;
    top:5px
}

table.default-table thead{
    background-color: var(--cultured);
}
table.default-table thead tr th:first-child{
    border-radius: 0 7px 7px 0;
}
table.default-table thead tr th:last-child{
    border-radius: 7px 0 0 7px;
}
table.default-table tbody tr td{
    border-top: 1px solid var(--bg);
    border-bottom: 1px solid var(--bg);
}

table.default-table tbody tr td:first-of-type{
    border-radius: 0 7px 7px 0;
    border-right: 1px solid var(--bg);
}
table.default-table tbody tr td:last-child{
    border-radius: 7px 0 0 7px;
    border-left: 1px solid var(--bg);
}

#progress-bar{
    position: fixed;
    top:0;
    left:0;
    --height-of-loader: 5px;
    --loader-color: var(--medium-sea-green);
    width: 0%;
    height: var(--height-of-loader);
    background-color: var(--loader-color);
    z-index: 999999999;
}
#loading-bar{
    display: none;
    position: fixed;
    top:0;
    left:0;
    --height-of-loader: 5px;
    --loader-color: var(--medium-sea-green);
    width: 100%;
    height: var(--height-of-loader);
    background-color: transparent;
    z-index: 999999999;
  }
  
#loading-bar::before {
    content: "";
    position: absolute;
    background: var(--loader-color);
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    animation: moving 1s ease-in-out infinite;
    ;
  }
  
  @keyframes moving {
    50% {
      width: 100%;
    }
  
    100% {
      width: 0;
      right: 0;
      left: unset;
    }
  }

table.new-default{
    width: calc(100% - 10px);
    text-align: center;
    border-collapse: separate;
    border-spacing: 0;
    margin: 5px;
}

table.new-default thead{
    background-color: var(--cultured);
}
table.new-default thead tr th{
    &:first-of-type{
        border-radius: 0 7px 0 0 ;
        padding: 0 5px;
    }
    &:last-of-type{
        border-radius: 7px 0 0 0 ;
        
    }
}
table.new-default tbody tr{
    &:hover {
        background-color: rgba(247, 247, 247, 0.5);
        & > td:first-child{
            border-right: 7px solid var(--bg);
        }
    }
}
table.new-default tbody tr td{
    transition: all ease-in-out 180ms;
    box-sizing: border-box;
    border-bottom: 1px solid var(--bg);
    &:first-child{
        border-right: 1px solid var(--bg);
        font-weight: 700;
    }
    &:last-child{
        border-left: 1px solid var(--bg);
    }
}  
table.new-default tbody tr:last-of-type td{
    border-bottom: 1px solid var(--bg);
    &:first-child{
        border-radius: 0 0 7px 0;
    }
    &:last-child{
        border-radius: 0 0 0 7px ;
    }
}


@media (max-width: 500px)  {
    .pop-form{
        min-width: calc(100% - 20px);
        padding: 0 10px calc(20px + env(safe-area-inset-bottom) ) 10px;
        position: absolute;
        bottom: 0;
        border-radius:20px 20px 0 0 ;
        max-height: calc(100% - 79px);
        overflow-y: scroll;
        &::-webkit-scrollbar-track-piece:start {
            margin: 50px 0 ;
        }
        &>h2{
            position: sticky;
            margin-top: 2px;
            margin-bottom: 10px;
            top: 10px;
            background-color: #fff;
        }
        &>button{
            position: sticky;
            bottom: 0px;
            margin:10px 0 0px  0 ;
            
        }
    }
    .top{
        height: fit-content;
        font-size: 16px ;
        padding:5px;
        &>div.top-info{gap:0}
        &>.btn{
            min-height: 50%;
            padding: 3px 10px;
            border: none;
            background: #fff;
            color: var(--medium-sea-green);
            font-size: 16px;
            cursor: pointer;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 5px;
            position: relative;
            text-decoration: none !important;
        }
    }

}