/* CSS */
.profile-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

    .savebtn {
      background-color: #154b91;
      color: white;
      font-weight: bold;
      border: none;
    }

.iti__selected-flag {
    border-radius: 0px !important;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: rgba(0, 0, 0, 0.05);
}

.loader-overlay {
  background: rgba(255, 255, 255, 0.6);
  width: 100%;
  height: 100%;
  z-index: 5;
}



/* لو بدك تعكس اتجاه السهم فقط */
[dir="rtl"] .accordion-button::after {
  margin-right: auto;
      margin-left: 0;
}


/* تحسين الـ Accordion */
.accordion-button {
  font-size: 1.1rem;
  font-weight: 600;
}
.accordion-button:focus {
  box-shadow: none;
}

/* تحسين الحقول */
input.form-control, textarea.form-control {
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: border-color 0.3s ease;
}
input.form-control:focus, textarea.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/* تحسين تصميم الـ Lightbox */
#lightboxOverlay {
  background-color: rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s ease;
}
#lightboxOverlay.d-none {
  display: none;
}

/* تحسين التفاعل مع الصورة */
.profile-img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* تحسين مظهر الـ Modal */
.modal-content {
  border-radius: 10px;
}
/* تنسيق الصورة */
.profile-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  border: 3px solid #fff;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
}

/* زر تغيير الصورة */
.change-photo-btn {
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.85rem;
}

.profile-pic-wrapper:hover .change-photo-btn {
  opacity: 1;
}

/* التحميل أثناء رفع الصورة */
.loader-overlay {
  z-index: 2;
  border-radius: 50%;
}
.accordion-body {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* خط عناوين أكثر وضوحًا */
.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
  background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
  color: #0d6efd;
  background-color: #e7f1ff;
}


 .upload-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: #f8f9fa;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .upload-icon:hover {
      background-color: #e2e6ea;
    }
    .upload-label {
      font-weight: bold;
    }
    input[type="file"] {
      display: none;
    }
    .image-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.image-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.image-preview img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.upload-label {
  font-weight: bold;
  color: #333;
  font-size: 0.95rem;
}