
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@500&display=swap');
/* @font-face {
  font-family: 'Fanan';
  src: url('band/Fanan.ttf') format('truetype');
} */
*
{
  
    margin: 0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
  
    /* font-family: 'Fanan', sans-serif; */
}
/* خاص بالتوقيع --------------- */
  input.form-control.is-valid, textarea.form-control.is-valid, select.form-select.is-valid {
      background-position: left 1rem center !important;
      padding-left: 2.25rem !important;
    }
    .signature-container {
      position: relative;
      width: 100%;
      max-width: 400px;
      margin: auto;
    }
    #signature-pad {
      border: 2px dashed #8a8888;
      border-radius: 20px;
      cursor: crosshair;
      width: 100%;
      height: 250px;
    }
    .delete-icon {
      position: absolute;
      top: 10px;
      right: 15px;
      background: white;
      border: none;
      cursor: pointer;
      padding: 5px;
      border-radius: 50%;
      font-size: 18px;
    }

canvas#signature-pad {
  border: 2px dashed #aaa;
  width: 100%;
  height: 250px;
  background-color: white; /* ضروري جدًا */
  touch-action: none;
  display: block;
}




/* -------------------------------- */



/* .inputBox2 { */
  /* display:none;  */
/* } */
body
   {
    display:flex;
    justify-content: center;
    align-items :center;
    /* min-height: 100vh; */
    flex-direction: column;
     gap: 25px;
     background-image: url("zahraga20.png");background-repeat: repeat;background-size: 350px;background-position: center center;

    direction: rtl;
   }

 
   #lago
   {
    /* max-width:200px; */
    margin-top: 3%;
    max-width:40%;
    margin-bottom: -5px;
    
   }
   
   #nadi
   {
  
    font-size: 1.8em;
    color:red;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    font-weight: bold;
    margin-bottom:50px;
    text-transform: uppercase;
    -webkit-text-stroke:1px red;
    /* word-spacing: 2px; */
    letter-spacing: 1px;
   margin-bottom: 15px;
   }
   #sh
   {
    font-size: 1.4em;
    font-weight: bold;
    color: blue;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
   margin: 10 10 10 10%;
   position: relative;
   width: 100%;
   margin-top:10px;
  
  
  
   }


   #bDay
   {
    font-size: 1em;
    color: #f7ef87;
   margin-top: -35px;
  
   }
   #txt_day{
    text-align: center;
    
   }
   #txt_monthe{
    text-align: center;
   }
   #txt_year{
    text-align: center;
   }
 

   #branch
   {
    font-size: 1em;
    color: #f7ef87;
    /* text-shadow: 1px 1px 1px rgb(255, 255, 255); */
    font-weight: bold;
    margin-bottom: -10px;
   }
 
   #ime2
   {
    font-size: 1em;
   
   margin-top: -60px;

   }
  #playBn
  {
    padding: 10px;
     direction: rtl;
    position: relative;
    outline: none !important;
    width: 100%;
    text-align: center;
    
    background:#8a0202;
    color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #f7ef87;
    margin-bottom: -100px;
    font-weight: bold;
    /* opacity: 0.850; */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  #label{
    background:#8a0202;
    color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #f7ef87;
    /* opacity: 0.850; */
    width: 95%;
    margin-top:25px;
  
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  #labelB{
    background:#8a0202;
    color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #f7ef87;
    /* opacity: 0.850; */
    width: 95%;
    margin-top:23px;
    margin-bottom: -25px;
  
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  #label2{
    background:#8a0202;
    color: #ffffff;
    border-radius: 5px;
    padding: 0px;
    border: 1px solid #f7ef87;
    /* opacity: 0.850; */
    width: 100%;
    margin-top:10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  #butten{
    margin-top:20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
 


  #Estrakat
  {
    padding: 10px;
     direction: rtl;
    position: relative;
    outline: none !important;
    width: 100%;
    text-align: center;
    /* float: right; */
    background:#8a0202;
    color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #f7ef87;
    margin-bottom: 00px;
    margin-top: 5px;
    font-weight: bold;
    /* opacity: 0.850; */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  #g
  {
    margin-top: -15px;
  }
  #ime
  {
   font-size: 1em;
   color: #f7ef87;
  margin-top: -15px;
  }
  #ime2
  {
   font-size: 1em;
  
  margin-top: -60px;

  }
#bold{
  font-size: 1.3em;
  color: #ffffff;
  background: #8a0202;
  font-weight: bold;
  padding: 3px;
 /* opacity: 0.8; */
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
#bold2{
  font-size: 1em;
  color: #000000;
  background: #fcefef;
text-align:right ;
font-weight: bold;
/* opacity: 0.8; */
 box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}
#bold3{
  font-size: 1em;
  color: red;
  background: #fcefef;
  font-weight: bold;
  text-align:right ;
  padding: 3px;
  /* opacity: 0.8;  */
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}
#bold33{
  font-size: 1em;
  color: red;
  background: #fcefef;
  font-weight: bold;
  text-align:right ;
  padding-left: 6px;
  /* padding: 3px; */
  /* opacity: 0.8;  */
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  
}
#bold34{
  font-size: 1em;
  color: red;
  background: #fcefef;
  font-weight: bold;
  text-align:right ;
  padding-top: 5px;
  padding-bottom: 5px;
  /* padding: 3px; */
  /* opacity: 0.8;  */
  /* box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
  
}
#redtext{
  color: #8a0202;
  margin-bottom: -20px;
}

#ok{
  font-size: 1em;
  color: red;
text-align:center ;
/* font-weight: bold; */
margin-top: 5px;
margin-bottom:- 5px;

}
 #con
 {
  border-radius: 5px;
  font-weight: bold;
 font-size: 1em;
  border: 1px solid rgb(255, 0, 34);
  color: #000000;
  width: 100%;
  padding: 7px;
  background: #fac2cc;
  margin-bottom: 25px; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
 }
 #con:hover
 {
  border-radius: 5px;
  font-weight: bold;
 background: #00bedf;
  border: 1px solid #f7ef87;
  color: #000000;
  background: #fceb06;
  width: 100%;
  padding: 7px;
 }
 #lef
 {
  margin-top: 7px;
 }
#lef input{
  text-align: left;
}



   .inputBox
   {
    position: relative;
    width: 95%;
    margin-top: 25px;
   }

  #butten
   {
    
    width: 100%;
    font-weight: bold;
   }

   .inputBox input
   {
    width: 100%;
    padding: 10px;
   
    border: 1px solid #ffffff;
    color :#ffffff; font-weight: bold;
    background:#8a0202;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    outline: none;
    /* color :#fff; */
    /* color:#f7ef87; */
    font-size: 1em;
    transform: 0.5s;
    text-align: right; 
     /* opacity: 0.850; */
   }
   .inputBox input[type="text"] {
    color :#ffffff; font-weight: bold;
  }
   
   .inputBox span
   {
    position: absolute;
    right: 0;
    padding: 10px;
    pointer-events: none;
    font-size: 1em;
    color:rgb(255, 255, 255);
    text-transform: uppercase;
    transform: 0.5s;
    /* background:#8a0202; */
   }
   .col{
    position: relative;
    width: 90%;
    color :red;
    font-size: 1em;
    margin-top: 25px;
    direction: ltr;
    font-weight: bold;
 
   }

    #neer1{
   
    color :white;
    margin-left: 10px;text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
   }
   #jom{
   
    color :white;
    margin-left: 10px;text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
   }
   #nsaie{
    margin-top: -9px;
   
   }
   .inputBox input:valid ~ span,
   .inputBox input:focus ~ span
   {
    color:#f7ef87;
    transform: translateX(10px) translateY(-7px);
    font-size: 0.65em;
    padding:0 10px;
    margin: 0 25px;
    background:#8a0202;
    border-left: 1px solid #f7ef87;
    border-right: 1px solid #f7ef87;
    
    letter-spacing: 0.1em;
  
   }
  
   
  
   /* .inputBox:nth-child(2) input:valid ~ span,
   .inputBox:nth-child(2) input:focus ~ span
   { */
    /* background: #00dfc4;
    color: #fefeff;
    border-radius:2px; */
    /* border: 1px solid #00dfc4;
    border-radius: 3px; */
   /* } */

   .inputBox input:valid,
   .inputBox input:focus 
   {
    border: 1px solid#f7ef87;
   }
   input::-webkit-outer-spin-button,
   input::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
   }


   input[type=checkbox]{
    transform: scale(1.5);
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    padding: 0.5px;
    border: 1px solid#0501f3;
    /* background-color: #fffb00;
    border-color: #f4f807; */
  
    accent-color: red; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
   }
  
   input[type=radio]{
    transform: scale(1.5);
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    padding: 0.5px;
    border: 1px solid#0501f3;
    accent-color: red; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  
   }
   #neer{
   margin-left: 10px;
   font-weight: bold;
   /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
   }
  
   @media only screen and (max-width:900px){

   
    
    #lago
    {
     /* max-width:200px; */
     margin-top: 0%;
     max-width:100%;
     margin-bottom: -5px;
     
    }
   
   #nadi
   {
    font-size: 1.8em;
    color: #b80202;
    /* text-shadow:  2px 2px 4px rgba(0, 0, 0, 0.5); */
    margin-top: 0px;
    font-weight: bold;
    margin-bottom: 10px;
   }
   #sh
   {
    font-size: 1.5em;
    color: blue;
     /* text-shadow:  2px 2px 4px rgba(0, 0, 0, 0.5); */
   margin: 10 10 10 10%;
   position: relative;
   width: 100%;
   margin-top: 20px;
 
   }


   #bDay
   {
    font-size: 1em;
    color: #f7ef87;
    margin-top: -35px;
   }
   #day
   {
    font-size: 1em;
   
   margin-top: -60px;
   text-align:center;

   }
   #ime
   {
    font-size: 1em;
    color: #f7ef87;
   margin-top: -15px;
   }
   #ime2
   {
    font-size: 1em;
   
   margin-top: -60px;

   }
   #playBn
   {
     padding: 10px;
      direction: rtl;
     position: relative;
     outline: none !important;
     width: 100%;
     text-align: center;
     /* float: right; */
     background:#8a0202;
     color: #ffffff;
     border-radius: 5px;
     padding: 10px;
     border: 1px solid #f7ef87;
     margin-bottom: -100px;
     font-weight: bold;
     box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
   }
   #Estrakat
   {
     padding: 10px;
      direction: rtl;
     position: relative;
     outline: none !important;
     width: 100%;
     text-align: center;
     /* float: right; */
     background:#8a0202;
     color: #ffffff;
     border-radius: 5px;
     padding: 10px;
     border: 1px solid #f7ef87;
     margin-bottom: 0px;
     box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
   
   }
  
  }
  