@charset "UTF-8";
:root {
    --theme-primary-base: #0086fe;
    --theme-surface-base: #fff;
    --theme-accent-base: #eceff7;
    --bg-dark-mode : #3f384c;
    --color-dark-mode : #cdc2db;
    --darl-element-dark-mode:#292335;
    --profile-head-dark-mode : #5f4e8e;
    --btn-dark-mode:rgb(166, 136, 250);
    --dark : #404258;
    --green-light : #3fe484;
    --green-dark : #08bf54;
    --peurple-dark : #860EC6;
    --blue-dark : #0479e2;
    --red-dark : #ff3907;
    --yellow-dark : #ffc107;
    --is-success: #2ecc71;
    --is-danger: #f64747;
    --is-warrning: #f3f35f;
    --border-color : #e0e3ff;
    --is-info: #118ab2;
    --theme-surface-a10: 
  color-mix(in srgb, var(--theme-primary-base), var(--theme-surface-base) 95%);
    --theme-surface-a20: 
  color-mix(in srgb, var(--theme-primary-base), var(--theme-surface-base) 90%);
    --theme-surface-a30: 
  color-mix(in srgb, var(--theme-primary-base), var(--theme-surface-base) 85%);
    --theme-surface-a40: 
  color-mix(in srgb, var(--theme-primary-base), var(--theme-surface-base) 80%);
    --theme-surface-a50: 
  color-mix(in srgb, var(--theme-primary-base), var(--theme-surface-base) 75%);
    --theme-surface-a60: 
  color-mix(in srgb, var(--theme-primary-base), var(--theme-surface-base) 70%);
    --theme-surface-a70: 
  color-mix(in srgb, var(--theme-primary-base), var(--theme-on-primary) 60%);
    --theme-surface-a80: 
  color-mix(in srgb, var(--theme-primary-base), var(--theme-on-primary) 50%);
    --theme-surface-a90: 
  color-mix(in srgb, var(--theme-primary-base), var(--theme-on-primary) 40%);
    --theme-accent-a10: 
  color-mix(in srgb, var(--theme-accent-base), var(--theme-on-primary) 5%);
    --theme-accent-a20: 
  color-mix(in srgb, var(--theme-accent-base), var(--theme-on-primary) 10%);
    --theme-accent-a30: 
  color-mix(in srgb, var(--theme-accent-base), var(--theme-on-primary) 15%);
    --theme-accent-a90: 
  color-mix(in srgb, var(--theme-accent-base), var(--theme-on-primary) 80%);
    --theme-background: var( --theme-surface-base);
  }
  @font-face {
      font-family: Koodak;
      font-style: normal;
      font-weight: 100;
      src: url('../fonts/woff/BonyadeKoodakFaNum-Thin.woff') format('woff'),   
      url('../fonts/woff2/BonyadeKoodakFaNum-Thin.woff2') format('woff2');		
  }
  
  @font-face {
      font-family: Koodak;
      font-style: normal;
      font-weight: 200;
      src: url('../fonts/woff/BonyadeKoodakFaNum-ExtraLight.woff') format('woff'),   
      url('../fonts/woff2/BonyadeKoodakFaNum-ExtraLight.woff2') format('woff2');		
  }
  
  @font-face {
      font-family: Koodak;
      font-style: normal;
      font-weight: 300;
      src: url('../fonts/woff/BonyadeKoodakFaNum-Light.woff') format('woff'),   
      url('../fonts/woff2/BonyadeKoodakFaNum-Light.woff2') format('woff2');		
  }
  
  @font-face {
      font-family: Koodak;
      font-style: normal;
      font-weight: normal;
      src: url('../fonts/woff/BonyadeKoodakFaNum-Regular.woff') format('woff'),   
      url('../fonts/woff2/BonyadeKoodakFaNum-Regular.woff2') format('woff2');		 	 
  }
  
  @font-face {
      font-family: Koodak;
      font-style: normal;
      font-weight: 500;
      src: url('../fonts/woff/BonyadeKoodakFaNum-Medium.woff') format('woff'),   
      url('../fonts/woff2/BonyadeKoodakFaNum-Medium.woff2') format('woff2');		 
  }
  
  @font-face {
      font-family: Koodak;
      font-style: normal;
      font-weight: bold;
      src: url('../fonts/woff/BonyadeKoodakFaNum-Bold.woff') format('woff'),   
      url('../fonts/woff2/BonyadeKoodakFaNum-Bold.woff2') format('woff2'); 
  }
  
  @font-face {
      font-family: Koodak;
      font-style: normal;
      font-weight: 800;
      src: url('../fonts/woff/BonyadeKoodakFaNum-ExtraBold.woff') format('woff'),   
      url('../fonts/woff2/BonyadeKoodakFaNum-ExtraBold.woff2') format('woff2'); 
  }
  
  @font-face {
      font-family: Koodak;
      font-style: normal;
      font-weight: 900;
      src: url('../fonts/woff/BonyadeKoodakFaNum-Black.woff') format('woff'),   
      url('../fonts/woff2/BonyadeKoodakFaNum-Black.woff2') format('woff2');		 
  }
  @font-face {
      font-family: IRANSans;
      font-style: normal;
      font-weight: 900;
      src: url('../fonts/eot/IRANSansWeb_Black.eot');
      src: url('../fonts/eot/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
           url('../fonts/woff2/IRANSansWeb_Black.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
           url('../fonts/woff/IRANSansWeb_Black.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
           url('../fonts/ttf/IRANSansWeb_Black.ttf') format('truetype');
  }
  @font-face {
      font-family: IRANSans;
      font-style: normal;
      font-weight: bold;
      src: url('../fonts/eot/IRANSansWeb_Bold.eot');
      src: url('../fonts/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
           url('../fonts/woff2/IRANSansWeb_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
           url('../fonts/woff/IRANSansWeb_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
           url('../fonts/ttf/IRANSansWeb_Bold.ttf') format('truetype');
  }
  @font-face {
      font-family: IRANSans;
      font-style: normal;
      font-weight: 500;
      src: url('../fonts/eot/IRANSansWeb_Medium.eot');
      src: url('../fonts/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
           url('../fonts/woff2/IRANSansWeb_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
           url('../fonts/woff/IRANSansWeb_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
           url('../fonts/ttf/IRANSansWeb_Medium.ttf') format('truetype');
  }
  @font-face {
      font-family: IRANSans;
      font-style: normal;
      font-weight: 300;
      src: url('../fonts/eot/IRANSansWeb_Light.eot');
      src: url('../fonts/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
           url('../fonts/woff2/IRANSansWeb_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
           url('../fonts/woff/IRANSansWeb_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
           url('../fonts/ttf/IRANSansWeb_Light.ttf') format('truetype');
  }
  @font-face {
      font-family: IRANSans;
      font-style: normal;
      font-weight: 200;
      src: url('../fonts/eot/IRANSansWeb_UltraLight.eot');
      src: url('../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
           url('../fonts/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
           url('../fonts/woff/IRANSansWeb_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
           url('../fonts/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
  }
  @font-face {
      font-family: IRANSans;
      font-style: normal;
      font-weight: normal;
      src: url('../fonts/eot/IRANSansWeb.eot');
      src: url('../fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
           url('../fonts/woff2/IRANSansWeb.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
           url('../fonts/woff/IRANSansWeb.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
           url('../fonts/ttf/IRANSansWeb.ttf') format('truetype');
  }
  @font-face {
      font-family: IRANYekan;
      font-style: normal;
      font-weight: 300;
      src: url('../fonts/woff/IRANYekanXFaNum-Light.woff') format('woff'),   
      url('../fonts/woff2/IRANYekanXFaNum-Light.woff2') format('woff2');		 
  }
  
  
  
  @font-face {
      font-family: IRANYekan;
      font-style: normal;
      font-weight: 900;
      src: url('../fonts/woff/IRANYekanXFaNum-Black.woff') format('woff'),   
      url('../fonts/woff2/IRANYekanXFaNum-Black.woff2') format('woff2');		 
  }
  @font-face {
      font-family: IRANYekan;
      font-style: normal;
      font-weight: 950;
      src: url('../fonts/woff/IRANYekanXFaNum-ExtraBlack.woff') format('woff'),   
      url('../fonts/woff2/IRANYekanXFaNum-ExtraBlack.woff2') format('woff2');		 
  }
  
  
  
  @font-face {
      font-family: IRANYekan;
      font-style: normal;
      font-weight: bold;
      src: url('../fonts/woff/IRANYekanXFaNum-Bold.woff') format('woff'),   
      url('../fonts/woff2/IRANYekanXFaNum-Bold.woff2') format('woff2');	 
  }
  
  @font-face {
      font-family: IRANYekan;
      font-style: normal;
      font-weight: normal;
      src: url('../fonts/woff/IRANYekanXFaNum-Regular.woff') format('woff'),   
      url('../fonts/woff2/IRANYekanXFaNum-Regular.woff2') format('woff2');	
  }
  body{
      background: var(--theme-surface-a20) !important;
      direction: rtl;
      color: var(--dark);
      padding: 0;
      margin: 0 !important;
      box-sizing: unset;
      border: 0 !important;
      max-width: 100%;
      box-shadow: none;
      height: 100%;
  }
  *{
      font-family: IRANYekan;
      font-size: .97rem;
      font-weight: normal;
      box-sizing: border-box;
      text-align: right;
      line-height: 25px;
      gap: 5px;
  }
  body,html{
      box-sizing: border-box;
      width: 100%;
  }
  img,i{
      vertical-align:middle;
  }
  h1,h2,h3,h4,h5,h6{
      font-family: 'IRANYekan';
      font-size: .99rem;
      font-weight: bold;
  }
  h1{
    font-size: 1.2rem;
  }
  h2{
    font-size: 1rem;
  }
  h3{
    font-size: 1rem;
  }
  h4{
    font-size:.9rem;
  }
  ul,ol{
      list-style: none;
      margin: 0;
      padding: 0;
  }
  b{
      font-weight: 950;
      font-family: 'Koodak';
      font-size: .8rem;
  }
  a{
      text-decoration: none;
      color:var(--dark);
      font-family: 'IRANYekan';
      font-size:.9rem;
      font-weight: 300;
  }
  a:hover{
      color:var(--blue-dark)
  }
  p{
      line-height: 25px;
      text-align:justify
  }
  .container {
      width: 95%;
      margin-right: auto;
      margin-left: auto;
  }
  .btn {
      padding: 8px;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: bold;
      background: var(--theme-primary-base);
      color: #fff;
      min-width: 128px;
      text-align: center;
      box-shadow: var(--box-shadow);
      border: 0;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-content: center;
      align-items: center;
  }
  .btn.noContent{
      background: transparent;
      color: #adc0d2;
      width: 200px !important;
      cursor:default;
  }
  .btn.noContent:hover{
      color: #afaeb7;
  }
  .btn:hover{
      background: var(--blue-dark);
      color:#fff
  }
  .btn a{
      border: 0 !important;
      width: 100% !important;
      font-weight: 950;
      font-family: 'Koodak';
      padding: .667em .9em !important;
  }
  .login-mobile{
    width: 320px;
    height: 320px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    background: #fff;
    border-radius: 14px;
}
.login-mobile .login-body{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: space-between;
  align-items: flex-start;
  height: auto;
  overflow: hidden;
}
.login-mobile .login-body .login-form{
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  background: transparent;
}
.login-mobile .login-body .login-form .login-logo{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.login-mobile .login-body .login-form .login-logo img{
  width: 55px;
  vertical-align: middle;
  background-color: var(--theme-surface-a20);
  padding: 5px;
  border-radius: 5px;
}
.login-mobile .login-body .login-form .login-logo span{
  font-family: IRANYekan;
  font-weight: bold;
  font-size: 1.3rem;
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  align-items: stretch;
  justify-content: center;
}
.login-mobile .login-body .login-form .login-logo span:last-child{
    font-size: .8rem;
}
.login-mobile .login-body .login-form h2{
  font-size: 1rem;
  margin: 0;
  margin-top: 21px;
}
.login-mobile .login-body .login-form .login-form-item{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: 80%;
  gap: 15px;
}
.login-mobile .login-body .login-form .login-form-item .field-item{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  gap: 10px;
}
.login-mobile .login-body .login-form .login-form-item .field-item label{
  font-weight: 500;
}
.login-mobile .login-body .login-form .login-form-item .field-item input[type="text"],
.login-mobile .login-body .login-form .login-form-item .field-item input[type="password"]{
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 4px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  direction: ltr;
  text-align: left;
}
.login-mobile .login-body .login-form .login-form-item .field-item input[type="text"]:focus,
.login-mobile .login-body .login-form .login-form-item .field-item input[type="password"]:focus{
   color: #212529;
   background-color: #fff;
   border-color: #86b7fe;
   outline: 0;
   box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}
.login-mobile .login-body .login-form .login-form-item .field-item .btn{display: inline-block;outline: 0;cursor: pointer;border: none;padding: 0 56px;height: 45px;line-height: 45px;border-radius: 7px;background-color: #0086fe;color: white;font-weight: 400;font-size: 16px;box-shadow: 0 4px 14px 0 rgb(0 118 255 / 39%);transition: background 0.2s ease,color 0.2s ease,box-shadow 0.2s ease;text-align: center;display: flex;align-items: center;justify-content: center;align-content: center;}    
.login-mobile .login-body .login-form .login-form-item .field-item .btn:hover{
  background: rgb(0 134 254 / 81%);
  box-shadow: 0 6px 20px rgb(0 118 255 / 23%);
}           
.login-mobile .login-body .login-img{
  height: 100%;
  width: 70%;
  background-size: cover;
  position: relative;
  background-position: center;
}
.login-mobile .login-body .login-img img{
  height: 100%;
}
.login-mobile .login-body .login-form .login-form-item form{
  
  display: flex;
    
  flex-direction: column;
    
  flex-wrap: nowrap;
    
  align-content: center;
    
  justify-content: center;
    
  align-items: center;
    
  gap: 15px;
    
  width: 100%;
  }
  .login-mobile .login-body .login-form .login-form-item form #codeInputs{
      display: flex;
      gap: 5px;
      flex-direction: row-reverse;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: center;
      align-content: center;
      width: 100%;
  }
  .login-mobile .login-body .login-form .login-form-item form #codeInputs input[type="text"]{
      text-align: center;
      width: 57px;
      height: 57px;
      padding: 5px;
  }
  .login-mobile .login-body .login-form .login-form-item form p{
      display: flex;
      position: relative;
      text-align: right;
      /* width: 100%; */
      flex-direction: column;
      align-items: center;
      justify-content: center;
      align-content: center;
      flex-wrap: nowrap;
  }
  .login-mobile .login-body .login-form .login-form-item form p span{/* position: absolute; */left: 0;}
  .login-mobile input[type="text"],
.login-mobile input[type="password"]{
    border: 0;
    appearance: none;
    width: 100%;
    position: relative;
    line-height: 1.4;
    color: var(--dark);
    font-weight: 400;
    transition: all .2sease;
    margin: 0 0 calc(1em* 4 / 16) 0;
    border-width: 0.125em;
    border-style: solid;
    border-radius: 0.75em;
    border-color: var(--dark);
    box-shadow: inset 0 0.25em 0 0 rgb(240, 241, 243);
    background: #fff;
    padding: 12px;
    font-size: .9rem;
    height: auto;
    direction: ltr;
}
.alert {
  padding: 10px;
  position: fixed;
  width: 250px;
  background: var(--theme-surface-a40);
  color: var(--bg-dark-mode);
  margin: auto;
  left: 0;
  right: 0;
  bottom: 51px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}
.alert.alert-success{
  background: var(--green-light);
  color: #175b33;
}
#alert{

  position: fixed;
  
  bottom: 50px;
  
  margin: auto;
  
  left: 0;
  
  right: 0;
  
  width: 300px;
  
  transition: .5s bottom;
  }
  #alert .alert-text{
    background: var(--theme-surface-a30);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--theme-surface-a50);
    text-align: center;
    font-weight: 400;
  }
  
  .is-danger{
  background: var(--is-danger) !important;  
  color: #fff !important;   
  border: 1px solid var(--is-danger) !important;
  }
  .is-success{
    background: var(--is-success) !important;
    color: #fff !important;
    border: 1px solid var(--is-success) !important;
  }
  .is-warrning{
    background: var(--is-warrning) !important;
    color: #555 !important;
    border: 1px solid var(--is-warrning) !important;
  }
  .is-info{
    background: var(--is-info) !important;
    color: #fff !important;
    border: 1px solid var(--is-info) !important;
  }
  .is-light{
    background: #fff !important;
    color: var(--dark) !important;
    border: 1px solid #fff !important;
  }
  .circle {
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    border-radius: 100%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #FFF;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}
@-webkit-keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }
  @keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }
  header{
    background: #fff;
    border-radius: 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-top: 15px;
}
  header .brand-logo{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
  header .brand-logo img{
    height: 40px;
    background-color: var(--theme-surface-a20);
    padding: 5px;
    border-radius: 5px;
}
  header .brand-logo .logo-text{
    font-size: 1.2rem;
    font-weight: bold;
}
  header .brand-logo .logo-text span{
    font-size: 1.3rem;
    font-weight: 900;
}
.popup {
  --burger-line-width: 1.125em;
  --burger-line-height: 0.125em;
  --burger-offset: 0.625em;
  --burger-bg: #00bf63;
  --burger-color: var();
  --burger-color: var(--dark);
  --burger-diameter: 3.125em;
  --burger-btn-border-radius: calc(var(--burger-diameter) / 2);
  --burger-line-transition: 0.3s;
  --burger-transition: all 0.1s ease-in-out;
  --burger-hover-scale: 1.1;
  --burger-active-scale: 0.95;
  --burger-enable-outline-color: var(--burger-bg);
  --burger-enable-outline-width: 0.125em;
  --burger-enable-outline-offset: var(--burger-enable-outline-width);
  --nav-padding-x: 0.25em;
  --nav-padding-y: 0.625em;
  --nav-border-radius: 0.375em;
  --nav-border-color: var();
  --nav-border-color: var(--theme-surface-a60);
  --nav-shadow-color: rgba(0, 0, 0, 0.2);
  --nav-shadow-width: 0 0px 2px;
  --nav-bg: var();
  --nav-bg: var(--bg-dark-mode);
  --nav-bg: #fff;
  --nav-active-scale: 1;
  --nav-position-left: 0;
  --nav-position-right: unset;
  --nav-title-size: .9rem;
  --nav-title-color: var();
  --nav-title-color: var();
  --nav-title-color: var(--bg-dark-mode);
  --nav-button-padding-x: 1rem;
  --nav-button-padding-y: 0.375em;
  --nav-button-border-radius: 0.375em;
  --nav-button-font-size: 17px;
  --nav-button-hover-bg: #00bf63;
  --nav-button-hover-text-color: #fff;
  --nav-button-distance: 0.875em;
  --underline-border-width: 0.0625em;
  --underline-border-color: #ccc;
  --underline-margin-y: 0.3125em;
}

.popup {
  display: inline-block;
  text-rendering: optimizeLegibility;
  position: relative;
}

.popup input {
  display: none;
}

.burger {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: var(--burger-transition);
  padding:3px;
  align-content: center;
}
.burger img{
    width: 100%;
    border-radius: 100%;
}
.popup-window {
  transform: scale(var(--nav-default-scale));
  visibility: hidden;
  opacity: 0;
  position: absolute;
  padding: 20px;
  background: var(--nav-bg);
  font-family: var(--nav-font-family);
  color: var(--nav-text-color);
  border-radius: var(--nav-border-radius);
  box-shadow: var(--nav-shadow-width) var(--nav-shadow-color);
  border: var(--nav-border-width) solid var(--nav-border-color);
  top: calc(
    var(--burger-diameter) + var(--burger-enable-outline-width) +
      var(--burger-enable-outline-offset)
  );
  left: var(--nav-position-left);
  right: var(--nav-position-right);
  transition: var(--burger-transition);
  margin-top: 10px;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
}

.popup-window legend {
  padding: var(--nav-title-padding-y) var(--nav-title-padding-x);
  margin: 0;
  color: var(--nav-title-color);
  font-size: var(--nav-title-size);
  text-transform: uppercase;
  margin-bottom: 7px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.popup-window legend img{
    background-color: var(--theme-surface-a20);
    padding: 5px;
    border-radius: 100%;
    width: 80px;
}
.popup-window ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  gap: 0;
  background: var(--theme-surface-a20);
  width: 100%;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.popup-window ul li{
    width: 100%;
    padding: 5px;
    text-align: center;
    border-bottom: 2px solid #fff;
}
.popup-window ul button {
  outline: none;
  width: 100%;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  color: var(--burger-color);
  font-size: var(--nav-button-font-size);
  padding: var(--nav-button-padding-y) var(--nav-button-padding-x);
  white-space: nowrap;
  border-radius: var(--nav-button-border-radius);
  cursor: pointer;
  column-gap: var(--nav-button-distance);
}

.popup-window ul li:nth-child(1) svg,
.popup-window ul li:nth-child(2) svg {
  color: #00bf63;
}

.popup-window ul li:nth-child(4) svg,
.popup-window ul li:nth-child(5) svg {
  color: rgb(153, 153, 153);
}
.popup-window ul li:nth-child(7) svg {
  color: red;
}
.popup-window hr {
  margin: var(--underline-margin-y) 0;
  border: none;
  border-bottom: var(--underline-border-width) solid
    var(--underline-border-color);
}
.popup-window ul button:hover,
.popup-window ul button:focus-visible,
.popup-window ul button:hover svg,
.popup-window ul button:focus-visible svg {
  color: var(--nav-button-hover-text-color);
  background: var(--nav-button-hover-bg);
}

.burger:hover {
background-color:var(--theme-surface-a20);
}

.burger:active,.burger:focus {
background-color:var(--theme-surface-a20);}
.popup input:checked + .burger{
  background-color:var(--theme-surface-a20);
}
.popup input:checked + .burger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.popup input:checked + .burger span:nth-child(2) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.popup input:checked + .burger span:nth-child(3) {
  transform: translateX(
    calc(var(--burger-diameter) * -1 - var(--burger-line-width))
  );
}

.popup input:checked ~ nav {
  transform: scale(var(--nav-active-scale));
  visibility: visible;
  opacity: 1;
}
.note-entry{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
.note-entry .showtit{
    width: 600px;
    background: #fff;
    padding: 8px;
    height: 46px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    border-radius: 14px;
    cursor: text;
    box-shadow: rgba(149, 157, 165, 0.15) 0px 3px 6px 0px;
}
.note-entry .note-form{
    display: none;
    width: 600px;
    background: #fff;
    padding: 8px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    border-radius: 14px;
    cursor: text;
    position: relative;
    box-shadow: rgba(149, 157, 165, 0.15) 0px 3px 6px 0px;
    transition: all 0.3s ease;
    height: auto;
}
.note-entry .note-form input[type="text"],
.note-entry .note-form textarea{
    border: 0;
    padding: 5px 10px;
    width: 100%;
    background: transparent;
}
.note-entry .note-form textarea{
  resize: none;
}

.note-entry .note-form input[type="text"]:focus,
.note-entry .note-form textarea:focus,
.note-entry .note-form input[type="text"]:hover,
.note-entry .note-form textarea:hover,
.note-entry .note-form input[type="text"]:active,
.note-entry .note-form textarea:active{
    border: 0 !important;
  outline:0 !important;
}
.note-entry .note-form .footer-notes{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    gap: 5px;
    padding: 5px 10px;
    position: absolute;
    bottom: 6px;
}
.note-entry .note-form .footer-notes i{
    cursor: pointer;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.note-entry .note-form #color-picker {
  display: none;
  gap: 6px;
  margin-top: 10px;
  position: absolute;
  bottom: -20px;
  width: fit-content;
  left: 0;
  right: 0;
  margin: auto;
  background: #fff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 1px 2px 0 rgb(60 64 67 / 6%), 0 2px 6px 2px rgb(60 64 67 / 4%);
}

.note-entry .note-form .color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
  position: relative;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.note-entry .note-form .color-option:hover {
  border: 2px solid var(--theme-primary-base);
}
.note-entry.collapsed .note-form{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-bottom: 40px;
}
.note-entry.collapsed .showtit{
  display: none;
}
#notes-list {
  margin: 20px auto;
  direction: rtl; /* چون محتوای فارسی داریم */
  width: 100%;
}

#notes-list .grid-item {
  float: right;
  padding: 5px;
  z-index: 1;
  /* transition: top 0.4s ease; */
  height: fit-content;
  max-height: max-content;
  min-height: min-content;
}
#notes-list .grid-item .grid-item-body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    align-content: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
    flex-wrap: nowrap;
    padding-bottom: 42px;
    position: relative;
    box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px 0px;
}
.note-item-showedit{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 1;
}
.grid-sizer,
.grid-item {
  width: 32%;
}
#notes-list .grid-item .grid-item-body input[type="text"],
#notes-list .grid-item .grid-item-body textarea{
  
width: 100%;
  
border: 0;
  
background: transparent;
  
resize: none;
  
overflow: hidden !important;
  
outline: none;
}
#notes-list .grid-item .grid-item-body textarea{
    height: auto;
    line-height: 1.5;
}
#notes-list .grid-item .note-header{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    margin-bottom: 10px;
}
#notes-list .grid-item .note-header .pin-btn{
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius:100%;
    z-index: 3;
}
#notes-list .grid-item .note-header .pin-btn.active{
    opacity: 1;
}
#notes-list .grid-item .note-header .pin-btn i{
    font-size: 1.2rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}
#notes-list .grid-item .note-header .pin-btn i:first-child{
    display: flex;
}
#notes-list .grid-item .note-header .pin-btn i:last-child{
    display:none;
}
#notes-list .grid-item .note-header .pin-btn.active i:first-child{
    display:none;
}
#notes-list .grid-item .note-header .pin-btn.active i:last-child{
    display: flex;
}
#notes-list .grid-item .note-header .pin-btn:hover{
    opacity: .87;
    background-color: rgba(95, 99, 104, 0.157);
}
#notes-list .grid-item h3 {
  margin: 0;
}

#notes-list .grid-item p {
  margin-top: 5px;
}
.note-item-footer{
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  position: absolute;
  bottom: 10px;
  z-index: 3;
  }
.note-item-footer span{
    cursor: pointer;
}
#notes-list .grid-item .note-item-footer .delete-btn {
  cursor: pointer;
  margin-left: 10px;
  
}
#notes-list .grid-item:hover .pin-btn,
#notes-list .grid-item:hover .note-item-footer{
  opacity:1
}
#notes-list .grid-item .note-item-footer i{
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}
#notes-list .grid-item .note-item-footer i:hover{
    opacity: .87;
    background-color: rgba(95, 99, 104, 0.157);
}
.note-entry .note-form .color-option.active {
  border: 2px solid var(--theme-primary-base) !important;
}
.note-entry .note-form .color-option.active:after{
  background:var(--theme-primary-base);
  -moz-osx-font-smoothing: grayscale;
  display: var(--fa-display, inline-block);
  text-rendering: auto;
  font-size: .7rem;
  color: #fff;
  padding: 3px;
  border-radius: 100%;
  width: 11px;
  height: 11px;
  position: absolute;
  top: -6px;
  right: -7px;
  content: "\e35f";
  font-family: uicons-regular-rounded !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.note-entry .note-form #color-picker.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}
#notes-list .grid-item.editing{
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0 !important;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  z-index: 1000;
  background-color: #d7dbdfa8;
  max-width: 100%;
  max-height: 100%;
}
#notes-list .grid-item.editing .grid-item-body{
    position: absolute;
    top: 99px;
    bottom: 99px;
    right: 0px;
    left: 0;
    margin: auto;
    width: 500px;
    min-height: 400px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}
#notes-list .grid-item.blurred {
  filter: blur(3px);
  pointer-events: none;
  opacity: 0.5;
}
#global-color-picker {
  display: none;
  gap: 6px;
  height: fit-content;
  margin-top: 10px;
  position: absolute;
  width: fit-content;
  margin: auto;
  background: #fff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 1px 2px 0 rgb(60 64 67 / 14%), 0 2px 6px 2px rgb(60 64 67 / 14%);
  z-index: 5;
}

#global-color-picker .color-option-note {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
  position: relative;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#global-color-picker .color-option-note:hover {
  border: 2px solid var(--theme-primary-base);
}
#global-color-picker .color-option-note.active {
  border: 2px solid var(--theme-primary-base) !important;
  background-color: #f0f0f0;
}
#global-color-picker .color-option-note.active:after{
  background:var(--theme-primary-base);
  -moz-osx-font-smoothing: grayscale;
  display: var(--fa-display, inline-block);
  text-rendering: auto;
  font-size: .7rem;
  color: #fff;
  padding: 3px;
  border-radius: 100%;
  width: 11px;
  height: 11px;
  position: absolute;
  top: -6px;
  right: -7px;
  content: "\e35f";
  font-family: uicons-regular-rounded !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#global-color-picker.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}
#global-color-picker .color-option-note i{
    font-size: .9rem;
    line-height: 1;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}
#color-picker .color-option i{
  font-size: .9rem;
  line-height: 1;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}
#PasswordForm{
    padding-top: 36px;
    gap: 0px !important;
}
#PasswordForm smal#emailtext{
    font-size: .7rem;
}
#PasswordForm input[type="password"]{
  text-align:center;
  margin-bottom: 15px;
}
.note-content {
  width: 100%;
  min-height: 100px;
}

.auto-resize, .editable-content {
  width: 100%;
  min-height: inherit;
  resize: none;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  padding: 5px;
  overflow-y: hidden;
  cursor: text;
}

.editable-content div {
  margin-bottom: 2px;
  line-height: 1.5;
}
.grid-item {
  transition: transform 0.2s ease;
}

.grid-item.dragging {
  opacity: 0.5;
  transform: scale(1.02);
  z-index: 1000;
}
.notes-section {
  margin-bottom: 2rem;
}

.section-header {
  color: #5f6368;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 10px 0;
  padding: 0 16px;
  width: 100% !important;
  color: rgb(95, 99, 104);
  font-size: .698rem;
  font-weight: 500;
  line-height: 1rem;
  text-transform: uppercase;
  margin: 32px 14px 8px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  padding: 0 16px;
}
.grid-item.editing {
  cursor: default !important;
}

.grid-item.editing .grid-item-body {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transform: scale(1.02);
  transition: all 0.2s ease;
}
.note-content {
  unicode-bidi: plaintext; /* کلید حل مشکل */
  text-align: right; /* برای فارسی */
}

.note-content[dir="ltr"] {
  text-align: left; /* برای انگلیسی */
}

.editable-content {
  unicode-bidi: plaintext;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 400px;
  min-height: 100px;
  padding: 8px;
  line-height: 1.5;
  text-align: right; /* مقدار پیش‌فرض برای فارسی */
  overflow-y: hidden;
}
.editing .editable-content {
  overflow-y: scroll;
   max-height: 100%;
}
[dir="ltr"] .editable-content {
  text-align: left;
}