.profile-banner {
  margin-top: 120px;
}
.profile-banner .banner {
  height: 250px;
  overflow: hidden;
}
.profile-banner .banner img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  height: 100%;
  object-fit: cover;
}
.profile-banner .personal-info {
  padding: 0 40px 30px;
}
.profile-banner .personal-info .profile-image {
  position: relative;
  background-color: #042534;
  background-size: auto;
  width: 140px;
  outline: 7px solid #04293a;
  height: 140px;
  margin-top: -105px;
  display: inline-block;
}
.profile-banner .personal-info .profile-image:hover .adding-profile {
  opacity: 1;
}
.profile-banner .personal-info .profile-image .adding-profile {
  width: 100%;
  height: 100%;
  display: block;
  text-align: center;
  position: absolute;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 6em;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.profile-banner .personal-info .profile-image .adding-profile svg {
  width: 40px;
  height: 40px;
  color: #ededed;
  margin-top: 50px;
}
.profile-banner .personal-info .profile-image img {
  width: 140px;
  height: 140px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.profile-banner .personal-info .profile-image img.loaded {
  opacity: 1;
}
.profile-banner .personal-info .profile-header .content .name {
  font-family: "Titr", san-serif, Tahoma;
  font-size: 31px;
  color: white;
}
.profile-banner .personal-info .profile-header .content h4 {
  font-size: 18px;
  font-weight: 100;
  line-height: 24px;
}
.profile-banner .personal-info .profile-header .actions {
  text-align: left;
  display: inline-block;
}
.profile-banner .personal-info .profile-header .actions .btn-primary {
  --bs-btn-bg: #019DDD;
  --bs-btn-border-color: #019DDD;
  --bs-btn-hover-bg: #018bc4;
  --bs-btn-active-bg: #017daf;
  padding: 9px 20px;
  border-radius: 12px;
}
.profile-banner .personal-info .profile-header .actions .dropdown-toggle::after {
  display: none;
}
.profile-banner .personal-info .profile-header .actions .dropdown {
  display: inline-block;
  margin-right: 10px;
}
.profile-banner .personal-info .profile-header .actions .dropdown .dropdown-menu {
  text-align: right;
  font-size: 14px;
}
.profile-banner .personal-info .profile-header .actions .dropdown button {
  padding: 9px 16px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.14);
  border: 0px;
}
.profile-banner .personal-info .profile-header .actions .dropdown button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}
.profile-banner .box {
  background-color: #04293a;
  box-shadow: 1px 3px 10px 0 rgba(11, 12, 31, 0.15);
  border-radius: 10px;
  color: #fff;
  margin-bottom: 30px;
  line-height: 31px;
}
.user-profile {
  margin-top: 80px;
}
.user-profile .box {
  background-color: #04293A;
  box-shadow: 1px 3px 10px 0 rgba(11, 12, 31, 0.15);
  border-radius: 20px;
  padding: 30px;
  color: #fff;
  margin-bottom: 30px;
  line-height: 31px;
}
.user-profile .empty-box {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  text-align: center;
  font-size: 14px;
  padding: 56px;
  color: rgba(255, 255, 255, 0.5);
  width: 100%;
}
.user-profile .top-box {
  margin-bottom: 16px;
}
.user-profile .top-box h4 {
  font-size: 24px;
  font-weight: bold;
  font-family: "Titr", san-serif, Tahoma;
  margin-bottom: 0px;
  color: #fff;
}
.user-profile .top-box .actions button,
.user-profile .top-box .actions a {
  transition: opacity 0.3s;
  background-color: transparent;
  border: 0px;
}
.user-profile .top-box .actions button.link-primary,
.user-profile .top-box .actions a.link-primary {
  color: #019DDD !important;
}
.user-profile .top-box .actions button.link-secondary,
.user-profile .top-box .actions a.link-secondary {
  color: rgba(255, 255, 255, 0.7) !important;
  margin-left: 8px;
}
.user-profile .top-box .actions button:hover,
.user-profile .top-box .actions a:hover {
  opacity: 0.7;
}
.user-profile .top-box .actions .edit-mode {
  display: none;
}
.user-profile .summary {
  color: #fff;
  margin-bottom: 70px;
}
.user-profile .summary p {
  font-size: 17px;
  line-height: 34px;
}
.user-profile .summary .summary-form {
  display: none;
}
.user-profile .summary .summary-form textarea {
  background-color: transparent;
  border-radius: 12px;
  padding: 12px 15px;
  color: #fff;
  border-color: rgba(0, 0, 0, 0.25);
  border-width: 2px;
  line-height: 34px;
  font-size: 17px;
  font-weight: 100;
}
.user-profile .summary .summary-form textarea:hover {
  border-color: #fff;
}
.user-profile .summary .summary-form textarea:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}
.user-profile .summary .summary-form textarea::placeholder {
  color: #ffffff65;
}
.user-profile .summary .summary-form small {
  text-align: left;
  display: block;
}
.user-profile .links {
  margin-bottom: 70px;
}
.user-profile .links .item {
  box-shadow: rgba(255, 255, 255, 0.12) 0px 0px 0px 2px inset;
  display: inline-block;
  border-radius: 8px;
  transition: all 0.3s;
  direction: ltr;
  margin-left: 10px;
  margin-bottom: 10px;
}
.user-profile .links .item a {
  color: #fff;
  display: flex;
  gap: 12px;
  padding: 10px;
  line-height: 25px;
}
.user-profile .links .item:hover {
  background-color: #ffffff19;
  box-shadow: rgba(255, 255, 255, 0.36) 0px 0px 0px 2px inset;
}
.user-profile .links .item svg {
  width: 24px;
  height: 24px;
}
.user-profile .posts {
  margin-bottom: 70px;
}
.user-profile .posts .content-box {
  margin-top: 20px;
}
.user-profile .posts .content-box .item {
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 15px;
  transition: all 0.3s;
}
.user-profile .posts .content-box .item:hover {
  background-color: rgba(255, 255, 255, 0.14);
}
.user-profile .posts .content-box .item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.user-profile .posts .content-box .item a {
  color: #fff;
  display: flex;
  gap: 16px;
  align-items: center;
}
.user-profile .posts .content-box .item h3 {
  font-size: 17px;
  line-height: 26px;
}
.user-profile .posts .content-box .item .date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.user-profile .posts .content-box .empty-box a {
  margin-top: 12px;
  color: #019DDD;
}
.user-profile .more-side {
  padding: 20px;
  border-radius: 20px;
  box-shadow: rgba(255, 255, 255, 0.12) 0px 0px 0px 2px inset;
  margin-bottom: 30px;
  color: #fff;
}
.user-profile .more-side h5 {
  font-weight: bold;
  font-family: "Titr", san-serif, Tahoma;
  color: #fff;
  margin-bottom: 25px;
}
.user-profile .more-side .dux-badge-box {
  gap: 20px 0px;
}
.user-profile .more-side .dux-badge-box .item {
  text-align: center;
}
.user-profile .more-side .dux-badge-box .item img {
  width: 72px;
  height: 72px;
}
.user-profile .more-side.activities .item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.user-profile .more-side.activities .item .value {
  display: flex;
  gap: 8px;
}
.user-profile .more-side.activities .item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.56);
}
.user-profile .more-side.activities .item svg {
  width: 25px;
  height: 25px;
}
.user-profile .more-side.activities .item strong {
  font-size: 20px;
}
.user-profile .more-side.achievements .empty-box {
  padding: 15px;
  border-radius: 15px;
}
.user-profile .more-side.achievements .empty-box img {
  width: 190px;
}
.user-profile .more-side.achievements .empty-box p {
  margin-bottom: 10px;
}
.user-profile .text-registered {
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
  font-size: 14px;
}
.tooltip .tooltip-inner {
  font-family: "IRANSansWeb", san-serif, Tahoma;
  color: #fff;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #222;
}
@media (max-width: 992px) {
  .profile-banner {
    margin-bottom: 70px;
  }
  .profile-banner .banner {
    max-height: 140px;
  }
  .profile-banner .banner img {
    object-fit: cover;
    height: 100%;
  }
  .profile-banner .personal-info {
    padding: 0 20px 20px;
  }
  .profile-banner .personal-info .profile-image {
    width: 120px;
    height: 120px;
  }
  .profile-banner .personal-info .profile-image img {
    width: 120px;
    height: 120px;
  }
  .profile-banner .personal-info .profile-header .actions {
    text-align: right;
  }
  .profile-banner .personal-info .profile-header .content h4 {
    font-size: 16px;
  }
  .profile-banner .personal-info .profile-header .content .name {
    font-size: 26px;
  }
  .user-profile .summary p {
    font-size: 15px;
    line-height: 28px;
  }
  .user-profile .summary .summary-form textarea {
    font-size: 16px;
    padding: 12px 8px;
  }
  .user-profile .links .item {
    margin-left: 8px;
    margin-bottom: 8px;
  }
  .user-profile .links .item svg {
    width: 20px;
  }
  .user-profile .links .item a {
    font-size: 15px;
  }
  .user-profile .posts .content-box .item a {
    align-items: start;
    flex-direction: column;
    width: 100%;
  }
}
