@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../font/Vazirmatn[wght].woff2) format("woff2");
}

body * {
    font-family: "Vazirmatn";
}
body::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(ellipse at 50% 50%, hsl(210, 100%, 97%), hsl(0, 0%, 100%));
    background-repeat: no-repeat;
}

.card {
    transition: all 100ms ease;
    border: 1px solid rgb(194 201 214 / 40%);
    background: hsl(0, 0%, 100%);
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    align-self: center;
    width: 100%;
    padding: calc(4 * 8px);
    gap: calc(2 * 8px);
    margin: auto;
    border-radius: 8px;
    box-shadow: hsla(220, 30%, 5%, 0.05) 0 5px 15px 0,hsla(220, 25%, 10%, 0.05) 0 15px 35px -5px;
}

input[type="text"],input[type="number"], input[type="password"], textarea, div.editor {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.4375em;
    box-sizing: border-box;
    cursor: text;
    display: inline-flex;
    width: 100%;
    position: relative;
    padding: 8px 12px;
    color: rgb(11, 14, 20);
    border-radius: 8px;
    border: 1px solid #c2c9d666;
    background-color: hsl(0, 0%, 99%);
    -webkit-transition: border 120ms ease-in;
    transition: border 120ms ease-in;
    height: 2.5rem;
}

input[type="text"]:hover,input[type="number"]:hover, input[type="password"]:hover, textarea:hover, div.editor:hover {
    border: 1px solid #a8aeba;
}

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

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(71, 83, 107);
}

.farsi_digits {
    font-feature-settings: "ss01";
}

.button_dark {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: 0;
    margin: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    -moz-appearance: none;
    -webkit-appearance: none;
    text-decoration: none;
    -webkit-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.75;
    min-width: 64px;
    padding: 6px 16px;
    width: 100%;
    border-radius: 8px;
    text-transform: none;
    height: 2.5rem;
    color: white;
    background-color: hsl(220, 35%, 3%);
    background-image: linear-gradient(to bottom, hsl(220, 20%, 25%), hsl(220, 30%, 6%));
    box-shadow: inset 0 1px 0 hsl(220, 20%, 35%),inset 0 -1px 0 1px hsl(220, 0%, 0%);
    border: 1px solid hsl(220, 20%, 25%);
}

.button_dark:hover {
    background-image: none;
    background-color: hsl(220, 20%, 25%);
    box-shadow: none;
}

.button_dark:active {
    background-color: hsl(220, 30%, 6%);
}

.myinput[type="checkbox"] {
    width: 16px;
    height: 16px;
    opacity: 0;
    z-index: 5;
}

.myinput[type="checkbox"] + label {
    margin-right: -16px;
}

.myinput[type="checkbox"] + label:before {
    position: relative;
    right: -10px;
    margin: 0;
    bottom: -3px;
    width: 14px;
    height: 12px;
    border-width: 1px;
    border-style: solid;
    border-color: #acb6ca;
    content: "୰";
    color: rgba(168, 174, 186, 0);
    font-size: 15px;
    padding-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 0 1.5px hsla(210, 0%, 0%, 0.04) inset;
    background-color: hsl(220, 29%, 94%);
    background-color: hsla(220, 30%, 94%, 0.4);
    z-index: 1;
}

.myinput[type="checkbox"]:checked + label:before {
    background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M9%2016.17%205.53%2012.7a.996.996%200%200%200-1.41%200c-.39.39-.39%201.02%200%201.41l4.18%204.18c.39.39%201.02.39%201.41%200L20.29%207.71c.39-.39.39-1.02%200-1.41a.996.996%200%200%200-1.41%200z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
    color: white;
    background-color: hsl(210, 98%, 42%);
    border-color: hsl(210, 98%, 42%);
    z-index: 3;
}

.myinput[type="checkbox"]:not(:disabled):checked:hover + label:before {
    background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M9%2016.17%205.53%2012.7a.996.996%200%200%200-1.41%200c-.39.39-.39%201.02%200%201.41l4.18%204.18c.39.39%201.02.39%201.41%200L20.29%207.71c.39-.39.39-1.02%200-1.41a.996.996%200%200%200-1.41%200z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
    background-color: hsl(206, 100%, 50%);
    z-index: 3;
}
.myinput[type="checkbox"]:hover + label:before {
    border-color: hsl(210, 98%, 42%);
    z-index: 1;
}

header {
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 20px;
    max-width: 1200px;
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: calc(8px + 8px);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid #c2c9d666;
    background-color: #fcfcfc66;
    box-shadow: hsla(220, 30%, 5%, 0.07) 0 4px 16px 0,hsla(220, 25%, 10%, 0.07) 0 8px 16px -5px;
    padding: 8px 12px;
    width: -webkit-fill-available;
}

menuitem {
    font-size: 13px;
    color: rgb(71, 83, 107);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px 8px 12px;
}
menuitem:hover {
    background-color: hsl(220, 30%, 94%);;
}

table {
    width: -webkit-fill-available !important;
    font-size: 14px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #c2c9d666;
    border-spacing: 0;
    table-layout: auto;
}
tr th, tr td {
    border-bottom: 1px solid #c2c9d666;
    padding: 5px 10px;
    text-align: center;
    white-space: nowrap;
}

table tr:first-child {
    background-color: #f5f6fa !important;
    font-weight: 600;
}

tr td {
    background: white;
}

span.done{
    border: 1px solid rgb(197, 247, 197);
    border-radius: 500px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    background-color: rgb(246, 254, 246);
    color: #1f7a1f;
}

span.notdone{
    border: 1px solid rgb(247, 227, 197);
    border-radius: 500px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    background-color: rgb(254, 251, 246);
    color: #7a651f;
}

span.waiting {
    border: 1px solid rgb(247, 197, 197);
    border-radius: 500px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    background-color: rgb(254, 246, 246);
    color: #7a1f1f;
}

span.see{
    border: 1px solid rgb(197, 217, 247);
    border-radius: 500px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    background-color: rgb(246, 249, 254);
    color: #1f3f7a;
}

span.action{
    border: 1px solid rgba(86, 100, 129, 0.71);
    border-radius: 500px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    background-color: rgba(86, 100, 129, 0.05);
    color: #566481;
}

table tr:last-child td:last-child {
    background-color: #f5f6fa !important;
    border: none;
    font-weight: 600;
}

tr:hover td {
    background: #f3f3f3;
}

div#idCard {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

div#idCard div {
    /*width: -webkit-fill-available !important;*/
    /*max-width: 300px;*/
}

textarea, div.editor {
    min-height: 30px;
    height: unset;
    direction: ltr;
    resize: vertical;
}

div#rosCard textarea {
    direction: rtl;
}

.sidemenu {
  right: -500px;
  visibility: hidden;
  transition: all 0.4s ease;
}

.sidemenu.show {
  right: 0;
  visibility: visible;
}