
.words {
    display: flex;
    justify-content: space-around; /* يوزع العناصر بشكل متساوٍ على الشاشة */
    box-shadow:0px 2px 2px rgba(0, 0, 0, 0.2);
    
  }

  .word {
    margin: 20px; /* لتباعد بين العناصر */
  }



  #head_a {
    text-decoration: none;
    position: relative;
    font-size: 20px;
    color: black;
    font-weight: bold;
}

#head_a::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    bottom: 0; /* تحديد المسافة من الأسفل */
    background-color: black;
    visibility: hidden;
    transition: width 0.3s ease, visibility 0.3s ease;
}

#head_a:hover::after {
    width: 100%;
    visibility: visible;
}


  .form {
    max-width: 400px;
    min-width: 400px;
    margin: 20px;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 10px;
    margin-right: 50px;

  }
  
  .form1 {
    margin-bottom: 15px;
  }
  
  .form label {
    display: inline-block;
    width: 150px;
    font-weight: bold;
    font-size: 20px;
  }
  
  input[type="text"] {
    width: calc(100% - 160px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 20px;
  }
  input[type="date"] {
    width: calc(100% - 160px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 20px;
  }
  select{
    width: calc(100% - 160px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 20px;
  }
  
  button {
    background-color: #4CAF50;
    width: 30%;
    color: rgb(250, 250, 250);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: large;
    font-weight: bold;
    display: block;
    margin: 0 auto;
  }
  
  button:hover {
    background-color: #45a049;
  }

  .details {
    display: inline-block;
    width: auto;
    vertical-align: top;
    max-width: auto;
    margin: 20px;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 10px;
  }
  
  .details label {
    display: block;
    margin: 10px;
    font-size: 20px;
    font-weight: bold;
    width: 150px;

  }
  .form {
    display: inline-block;
    width: 50%;
  }

  .deta1 {
    display: flex;
    justify-content: space-between;

  }
  .deta2 {
    display: flex;
    justify-content: space-between;
  }
  .lab_name {
    
  }
  .deta2 label{
    margin: 10px;
    font-size: 20px;
  }

  #dain_val {
    margin-bottom: 20px;
  }
  #descaunt{
    width: calc(100% - 233px);

  }
  #type{
    width:70px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 20px;
  }