.form-container-wrapper {
  background-color: #f0f2f5;
  min-height: 100vh;
  font-family: "Cairo", sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}
.form-container {
  background-color: #fff;
  border-radius: 25px; 
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05); 
  width: 100%;
  max-width: 700px; 
}
#formContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;
  max-width: 800px;
  height: auto;
  max-height: 90vh;
  background-color: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  border-radius: 20px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767.98px) {
  #formContainer {
    width: 95vw;
    padding: 20px 15px;
    max-height: 95vh;
  }
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.form-container-pop {
  width: 100%;
  max-width: 500px;
  background-color: white;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-section-title {
  color: #ff8c00;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: right; 
}
[dir] .form-section-title {
  color: #ff8c00;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: left; 
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #a0a0a0;
  font-size: 0.95rem;
  text-align: right; 
  font-family: 300;
  color: #707070;
  margin: 10px 0px;
}
.form-label-pop {
  display: block;
  margin-bottom: 8px;
  color: #a0a0a0; 
  font-size: 12px;
  text-align: right; 
  font-family: 300;
  color: #707070;
  margin: 10px 0px;
}

.form-control,
.form-select {
  border-color: #ffffff; 
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
  outline: none;
  opacity: 1;
  font-size: 12px; 
  font-weight: 100;
  padding: 15px;
  border-radius: 10px;
}
.Hover {
  border: none;
  border-color: #ffffff; 
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15); 
  opacity: 1;
  outline: none; 
  font-size: 12px; 
  font-weight: 100;
  width: 100%;
  padding: 15px;
  border-radius: 10px;
}

.form-control::placeholder {
  color: #a0a0a0; 
  opacity: 1;
  font-size: 12px;
  font-weight: 100;
}
.form-select option:disabled {
  color: #a0a0a0;

}

.input-group-text {
  background-color: #fff;
  border: none;
  border-bottom: 2px solid #ddd;
  border-radius: 8px; 
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 0 10px;
  display: flex;
  align-items: center;
  color: #a0a0a0; 
}

.input-group-text img {
  width: 24px;
  height: auto;
  margin-left: 8px; 
}

.input-group .form-control,
.input-group .form-select {
  border-radius: 8px; 
}
.input-group .input-group-text {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .form-control,
.input-group .form-select {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.payment-methods {
  gap: 5px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin-top:30px;
  margin-bottom: 30px;
}

.payment-option {
  background-color: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-width: 120px;
  gap: 15px;
}

.payment-option:hover {
  border-color: #ff8c00;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.payment-option img {
  max-width: 80px;
  height: auto;
}

.payment-option input[type="checkbox"] {
  transform: scale(1.2); 
  accent-color: #ff8c00;
  order: -1; 
}

.payment-option.selected {
  border-color: #ff8c00;
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.btn-submit {
  background-color: #1e398e;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #2a4b9e;
}
@media (max-width: 767px) {
  .form-container {
    padding: 20px;
  }
  .form-section-title {
    font-size: 1.3rem;
  }

  .payment-option {
    width: 90%;
  }
}
select.form-select {
  background-position: left 0.75rem center;
  padding-right: 1.5rem;
  padding-left: 2.5rem;
}
[dir="ltr"] #countrySelect {
  background-repeat: no-repeat;
  background-size: 25px 16px;
  width: 50px !important;
}
.input-group .form-control,
.input-group .form-select {
  width: 50%;
}
.form-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(250, 250, 250, 0.1);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.form-container-pop {
  position: relative;
  z-index: 1000;
}

@media (min-width: 768px) {
  .swiper-slide {
    width: 300px; 
  }
}
@media (min-width: 992px) {
  .col-lg-5th {
    width: 20%;
    flex: 0 0 20%;
  }
}

.form-control {
  display: inline-block;
  background-color: white;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 0 8px rgba(237, 234, 234, 0.5);
}
.swiper-pagination-bullet {
  background-color: #ef7d07 !important; 
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  background-color: #ef7d07 !important;
  opacity: 1;
}
.boxicon {
  border-radius: 10px;
  padding-top: 30px;
}
.sub {
  color: #1e398e;
  font-size: 50px;
}

@media (max-width: 575.98px) {
  .swiper-slide h5 {
    font-weight: 700;
    font-size: 1.5rem;
  }
}
@media (max-width: 991.98px) {
  .card-img-top {
    border-radius: 15px;
  }
}
@media (max-width: 575.98px) {
  .flex-between {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 50px;
  }
}
@media (max-width: 575.98px) {
  .mobilecard {
    margin: 0px 30px;
    padding: 10px 0px;
  }

  .card-img-top {
    border-radius: 15px;
  }

  .swiper-slide.swiper-slide-active {
    padding: 10px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .card {
    border-radius: 10px;
    margin: 20px 0px;
  }
}
@media (max-width: 580px) {
  .zakacard {
    padding: 10px;
  }
}
@media (max-width: 767px) {
  .partiner {
    padding-right: 30px; 
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .custom-card-alt {
    height: 120px;
    width: 200px;
    padding: 5px;
    border-radius: 18px;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.1);
  }
}
@media (max-width: 767.98px) {
  .custom-card-alt {
    height: 100px;
    width: 150px;
    border-radius: 15px;
    justify-content: center;
    justify-items: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .partiner {
    padding-right: 5px;
    padding-left: 10px;
  }
}

.zakat-calc-hidden-popup {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    /* transform: translateY(0); */
  }
  to {
    opacity: 0;
    /* transform: translateY(-20px); */
  }
}
.square-radio {
  appearance: none;       
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  border-radius: 4px;    
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.square-radio:checked {
  background-color: #ef7d07;   
  border-color: #ef7d07;
}

.square-radio:checked::after {
  content: "✔";
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: 0;
  left: 3px;
}
[dir="rtl"] select.form-select {
    background-position: left 0.75rem center; 
    padding-left: 2.5rem; 
    padding-right: 1.5rem;
}

[dir="ltr"] select.form-select {
    background-position: right 0.75rem center; 
    padding-right: 2.5rem; 
    padding-left: 1.5rem;
}
#donationType {
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}

#counter {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

#donationAmount {
  font-size: 1.2rem;
  color: #333;
  text-align: center;
}
