.user--full {
  max-width: 100%;
}

.profile-container {
  display: flex;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: white;
  gap: 16px; /* Assuming gap-2 translates to 16px, adjust if needed */
}

.profile-left {
  border-radius: 8px;
  width: 30%;
  background: linear-gradient(180deg, #194d81, #009999);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.profile-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;

  .profile-image{
    border-radius: 50%;
  }
}

.profile-icon .profile-placeholder {
  width: 100%;
  height: 100%;
  object-fit: none;
  border-radius: 50%;
}

.profile-name {
  margin-top: 20px;
  font-size: medium;
  font-weight: bold;
}

.profile-role {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.edit-profile-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: white;
  color: #194E82;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.edit-profile-btn:hover {
  background-color: #194E82;
  color: white;
  text-decoration: none;
}

.profile-right {
  border-radius: 8px;
  width: 70%;
  background-color: #f5f5f5;
  padding: 20px;
}

.profile-right h3 {
  font-size: 20px;
  font-weight: bold;
  color: black;
  margin-bottom: 15px;
}

.profile-details p {
  font-size: 16px;
  color: black;
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.profile-details .detail-icon {
  margin-right: 10px;
  margin-top: 15px;
  width: 20px;
  height: 20px;
}

.profile-details-items {
  margin-top: 40px;
}

.profile-details-item {
  display: flex;
  align-items: flex-start; /* Align items at the top for better stacking */
  margin-bottom: 15px; /* Increased margin for spacing between items */
}

.profile-details-item .detail-icon {
  margin-right: 10px;
  margin-left: 10px;
  flex-shrink: 0; /* Prevents the icon from shrinking */
}

.profile-details-item .label-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align text to the left */
}

.profile-details-item .label {
  font-size: 14px;
  font-weight: 400;
  color: gray;
  margin-bottom: 2px; /* Small gap between label and value */
}

.profile-details-item .value {
  font-size: 16px;
  font-weight: 500;
  color: black;
}

html[dir="rtl"]{
  .profile-details-items {
    .value{
      text-align: end;
      direction: ltr !important;
    }
  }
  .user-form .form-check label {
    padding-right: 1.6rem;
  }
}

@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    gap: 20px;

    .profile-left,
    .profile-right {
      width: 100%;
    }
  }

  .profile-details-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    .profile-details-item {
      width: calc(50% - 10px);
      margin-bottom: 10px;
    }
    .value{
      direction: ltr;
    }
  }

}

@media (max-width: 320px) {

  .profile-details-items {
    flex-direction: column;
    gap: 10px;
    .profile-details-item {
      width: calc(100% - 10px);
    }
  }
}
