.container {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  margin: 0 auto;
}

.profileboard {
    width: 100%;
    padding: 16px;
    border-radius: 20px;
    box-sizing: border-box;
}

.settingAccount {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contentWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.profilePictureContainer {
  width: 120px;
  height: 120px;
  margin-bottom: 0;
  position: relative;
  display: flex;
  justify-content: center;
}

.profilePicture {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.editPictureButton {
  margin-top: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e74c3c;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 140px;
}

.editPictureButton:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
  color: #c0392b;
}

.description {
  width: 100%;
  text-align: left;
}
.headerProfile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.description h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.description button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.modifyIcon {
    width: 22px;
    height: 22px;
    display: block;
    margin: 0;
}

.topDescription {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
}

.infoBlock {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
}

.settingAcount {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.profilePictureContainer {
    position: relative;
}

.pictureOverlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 2px;
    border-radius: 0 0 90% 90%;
    opacity: 0;
    transition: opacity 0.2s;
}
.clickable {
    cursor: pointer;
}
.profilePictureContainer:hover .pictureOverlay {
    opacity: 1;
}
@media (min-width: 768px) {
  .contentWrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .profilePictureContainer {
    width: 150px;
    height: 150px;
    margin-right: 0;
  }

  .description {
    width: calc(100% - 180px);
  }

  .topDescription {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .infoBlock {
    flex: 1;
    min-width: calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .editPictureButton {
    margin: 16px auto 0 auto;
    display: block;
  }

  .headerProfile h2 {
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
    padding: 24px;
  }

  .profileboard {
    padding: 28px;
  }

  .profilePictureContainer {
    width: 180px;
    height: 180px;
  }

  .description {
    width: calc(100% - 220px);
  }

  .headerProfile h2 {
    font-size: 2rem;
  }
}
