

/****بداية اعدادات اثبثاق الفورم ****/
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}


.popup {
  position: fixed;
  overflow-y: auto;
  padding: 20px;
  border-radius: 5px;
  max-width: 90%;
  max-height: 90vh;
  transition: all 0.3s ease-out;
  opacity: 0;
  transform: scale(0.8);
}

.popup.show {
  opacity: 1;
  transform: scale(1);
}
/* تخصيص شريط التمرير */
.popup::-webkit-scrollbar {
  width: 10px;
}

.popup::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.popup::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.popup::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.close-btn {
  position: fixed; /* تغيير من sticky إلى absolute */
  /*top: 10px;*/
  top: 4px;
  right: 4px;
  background-color: #ff4d4d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* ضمان أن الزر يظهر فوق المحتوى */
}

form {
  display: flex;
  flex-direction: column;
}


#openPopupBtn {
  position: fixed;
  right: -100px; /* Start off-screen */
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  background-color: #2e4281;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border: none;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  transition: right 0.3s ease-out;
  z-index: 1000;
}

#openPopupBtn:hover {
  right: -80px; /* Slide out a bit on hover */
  background-color: #4e67b8;
}

body.button-visible #openPopupBtn {
  right: -80px; /* Final position when visible */
}

/* New floating button styles */
#floatingOpenPopupBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2e4281;
  color: white;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

#floatingOpenPopupBtn:hover {
  background-color: #4e67b8;
}
#popupContainer{
  margin-top: -169px;
  margin-right: -20px;
}


/***** نهاية اعدادانبثاق الفورم****/

  /* Alert Styles */
  .alert {
    padding: 10px;
    background-color: #f44336;
    color: white;
    margin-bottom: 10px;
    display: none;
    
    animation: fadeOut 8s forwards;
  }

  
  .success-message {
    
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    
    margin-bottom: 10px;
    display: none;
    animation: fadeOut 8s forwards;
  }

  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
    /***********************end check-box******************************/
	  


	


	  
	  




    .align{
        
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    }
    .request{
        background-color: #c6d0f0;
        max-width: 1000px;
        position: sticky;
        
        margin: 150px auto;
    }

.backgtopform{
  width: auto;
  background-color: #2E4281;  
  border-color: #2E4281; /* لون الحدود أسود */
  border-style: solid; /* نمط الحدود */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* ظل أكثر عمقًا */
  border-top-right-radius: 40px; /* زاوية مقطوشة */
  border-top-left-radius: 10px; /* زاوية مقطوشة */
  
  padding-left: 3px;

}
.fontbackgtopform{
    
    color: #f3f4f7;
    margin: 0;
    font-size: 100%;
    
    padding-top: 10px;
    padding-left: 0px;
    
    
  text-align: left;
}
.sendformo {
    font-size: 15px;
    font-weight: bold;
    color: #ffffff !important;
    width: 100%;
    height: 60px;
    text-align: center;
    border: none;
    margin-top: 1px;    
    background-color: #2E4281; /* لون الخلفية */
    padding: 6px 15px; /* المسافة الداخلية */
    text-transform: uppercase; /* تحويل النص إلى أحرف كبيرة */
    transition: background-color 0.3s ease; /* انتقال لون الخلفية */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* إضافة ظل */
    cursor: pointer; /* تغيير مؤشر الماوس */
    
    }


    
    .check-form{
      display:grid;
      
    }




.demolishdescription{
  width: auto;
  background-color: #fff;
  height: auto;
  

}


.demolishdescription h2{
  text-align: center;
}
.demolishdescription p{
  text-align: center;
}



.col-lg-6.d-flex {
  justify-content: center;
}



.carousel-item img {
  height: 50vh;
  object-fit: cover;
}


.row {
  display: flex;
  align-items: center;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
}



h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

p {
  margin-bottom: 30px;
}
/*
.btn-primary {
  justify-content: center;
  background-color: #2E4281;
  border-color: steelblue;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 50%;
}
*/



/**********************************************************************/
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }

  .form-check-label .form-check-input{
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #495057;
    margin-left: 10px;
    cursor: pointer;
  }
  
  .form-check-label {
    /*  display: ruby;*/
      align-items: center;
      font-size: 0.875rem;
      color: #495057;
      margin-left: 10px;
      cursor: pointer;
    }
      
    .form-check-label a{
      text-decoration: none;
    }

    
    
  
  .form-check-input {
    position: relative;
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  
  .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
  }
  
  .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }





 /** بداية فورم خدمة النقل  **/
  


 .color-back-final{
            
  background-color: #c6d0f0;
  padding-bottom: 37px;
}


/**start select**/
      .select-container {
          position: relative;
          display: inline-block;
          width: 100px;
      }
      
      select {
          appearance: none;
          -webkit-appearance: none;
          -moz-appearance: none;
          background-color: #fff;
          border: 1px solid #ccc;
          border-radius: 4px;
          padding: 8px 32px 8px 12px;
          font-size: 16px;
          color: #333;
          cursor: pointer;
          width: 100%;
      }
      
      .select-container:after {
          content: "\25BC";
          position: absolute;
          top: 50%;
          right: 12px;
          transform: translateY(-50%);
          font-size: 16px;
          color: #666;
          pointer-events: none;
      }
      
      select:hover {
          border-color: #999;
      }
      
      select:focus {
          outline: none;
          border-color: #007bff;
          box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
      }
/**end select**/

/***بداية زر التالي و السابق من فورم رفع الطلب **/


  #second-page {
      display: none;
  }
  #hidden-check-policy-request-button{
      display: none;

  }
  #prev-btn{
      display:none;
  }
  
     
       

        #next-btn {
        
          background-color: #2e4280;
          border: none;
          color: white;
          padding: 10px 68px;
          /* width: 50%; */
          /* text-align: center; */
          /* text-decoration: none; */
          /* font-size: 16px; */
          margin: 6px 40px;
          cursor: pointer;
          border-radius: 6px;
          float: inline-end;
          
        }

         #prev-btn {
          background-color: #2e4280;
          border: none;
          color: white;
          padding: 5px 19px;
          text-align: center;
          text-decoration: none;
          font-size: 22px;
          margin: 0 0;
        
          
          cursor: pointer;
          border-radius: 4px;
          float: inline-start;
          
        }
        
        #next-btn:hover, #prev-btn:hover {
          background-color: #5d7ad2;
        }

/***نهاية  زر التالي و السابق من فورم رفع الطلب **/


  /**بداية النصف العالي من فورم طلب النقل **/
              .top-half {
                  background-color: #2e4280; /* اللون الأخضر */
                  /* أضف أي تنسيقات إضافية للنصف السفلي */

                  margin-top:35px;
                  max-width: 100%;
                  padding-right: var(--bs-gutter-x, .75rem);
                  padding-left: var(--bs-gutter-x, .75rem);
                  
                  padding-bottom: 15px;
                  margin-bottom: 27px;
              }
              
          
              .bottom-half {
                  max-width: 100%;
                  padding: 0 24px;
                  height: auto;
                  margin-top:30px;
                  max-width: 100%;
                  padding-right: var(--bs-gutter-x, .75rem);
                  padding-left: var(--bs-gutter-x, .75rem);
                  
              }
  /**نهاية النصف العالي من فورم طلب النقل **/

  .radio-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .radio-row {
      display: flex;
      gap: 10px;
    }
    
    .radio-button {
      flex: 1;
    }
    
    .radio-button input[type="radio"] {
      appearance: none;
      width: 0;
      height: 0;
      opacity: 0;
      position: absolute;
    }
    
    .radio-button .button {
      display: block;
      padding: 10px 20px;
      background-color: #f1f1f1;
      /*border: 1px solid #ccc;*/
      border-radius: 4px;
      font-size: 16px;
      color: #333;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
      text-align: center;
    }
    
    .radio-button input[type="radio"]:checked + .button {
      background-color: #007bff;
      border-color: #007bff;
      color: #fff;
    }
    /*****************************************/

  /* General Styles */
  .from-to {
      margin-top: 30px;
      margin-bottom:30px;
  }
  .auszug-einzug{
      
      /*margin-top: 0;*/
      margin-bottom:0;
  }
  

  
 

  
  .form-group label {
      font-weight: bold;
      color: #7f8c8d;
      /*margin-top: 23px;*/
  }
  .check-aufzug label {
      margin-left: 10px;
  }
  .check-aufzug{
              
  margin-left: -26px;
  margin-bottom: auto;
  margin-top: 59px;

  }

  .check-einzug{
      
  margin-left: -26px;
  margin-bottom: auto;
  margin-top: 59px;
  }
  .check-einzug label{
      margin-left: 10px;
      }
  .form-control {
      border-radius: 4px;
      padding: 10px;
      font-size: 16px;
      color: #34495e;
  }
  
  .form-row {
      display: flex;
      flex-wrap: wrap;
      margin-top: 15px;
  }
  
  .form-row > .form-group {
      flex: 0 0 33.333333%;
      max-width: 33.333333%;
      padding-right: 10px;
      
  }

  .form-info-row {
      display: flex;
      flex-wrap: wrap;
      gap:5px;
      
  }
  .form-info-row > .form-group {
      flex: 0 0 33.333333%;
      max-width: 33.333333%;
      padding-right: 10px;
      padding-left: 10px;
  }
  
  /* Von Alte Wohnung */
  .von-wohnung {
      background-color: #c6d0f0; 
      color: #fff; 
      padding: 20px;
  }
  
  .von-wohnung .form-group label {
      color: #2e4281; }
  
  .von-wohnung .form-control {
      border-color: #b5bfdc;
      background-color: #ffffff;
  }
  
  .von-wohnung .form-control:focus {
      border-color: #28a926;
      box-shadow: 0 0 8px rgba(60, 169, 38, 0.6);
  }

  /* Nach Neue Wohnung */
  .neu-wohnung {
      background-color: #c6d0f0; 
      color: #fff; 
      padding: 20px;
  }
  
  .neu-wohnung .form-group label {
      color: #2e4281; 
  }
  
  .neu-wohnung .form-control {
      border-color: #b5bfdc;
      background-color: #ffffff;
  }
  
  .neu-wohnung .form-control:focus {
      border-color: #229954;
      box-shadow: 0 0 8px rgba(34, 153, 84, 0.6);
  }
  
  /* Media Queries */
  @media (max-width: 767px) {
      .form-row > .form-group {
          flex: 0 0 50%;
          max-width: 50%;
      }
  }
  
  @media (max-width: 575px) {
      .form-row > .form-group {
          flex: 0 0 100%;
          max-width: 100%;
      }
  }    



  .home-info{
      margin-top: 30px;
  }


 /** نهاية فورم خدمة النقل  **/
