body {
  margin: 0;
  background: linear-gradient(to top right, #480070, #090081, #000);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.iphone-frame {
  width: 393px;
  height: 852px;
  background-color: white;
  border: 5px solid #CFCFCF;
  border-radius: 40px;
  box-shadow: 4px 4px 1px #616161;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.corner-btn {
  position: absolute;
  top: 60px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1100;
  transition: 0.2s ease;
}

#create-btn {
  left: 20px;
}

#create-btn:hover {
  transform: scale(1.04);
}

#change-btn {
  left: 174.9px;
}

#change-btn:hover {
  transform: scale(1.04);
}

#settings-btn {
  right: 20px;
}

#settings-btn:hover {
  transform: scale(1.04);
}

.corner-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
}

#change-panel { 
  position: absolute;
  top: -1000px;
  min-height: 170px;
  width: 100%;
  background: white;
  border-radius: 15px;
  box-shadow: 3px 3px 1px rgba(207, 207, 207, 0.438);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 5px;
  z-index: 99999;
  transition: top 0.4s ease;
}

#change-panel.visible {
  top: 0;
}

#change-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 99998;
}

.hidden {
  display: none;
}

#change-close {
  background: none;
  border: none;
  width: 70px;
  height: 20px;
  border-radius: 0px;
  font-size: 12px;
  font-weight: bold;
  line-height: 12px;
  cursor: pointer;
  margin-bottom: 2px;
  user-select: none;
  align-self: center;
  color: #480070;
}

.user-modul1 {
  position: relative;
  width: calc(100% - 40px);
  margin: 10px auto;
  margin-top: 60px;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
  transition: 0.2s ease;
}

.user-modul1:hover {
  transform: scale(1.04);
}

.user-modul2 {
  position: relative;
  width: calc(100% - 40px);
  margin: 10px auto;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
  transition: 0.2s ease;
}

.user-modul2:hover {
  transform: scale(1.04);
}


.module-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

.module-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #CFCFCF;
  margin-left: 10px;
  margin-right: 10px;
  object-fit: cover;
}

.username {
  font-size: 20px;
  color: #480070;
  font-weight: 600;
  object-fit: cover;
}

.verified-acc {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  margin-left: 5px;
  object-fit: cover;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(97, 97, 97);
  border: 2px solid #CFCFCF;
  margin-right: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.user-modul1[data-active="true"] .status-dot {
  background: #480070;
}

.user-modul2[data-active="true"] .status-dot {
  background: #480070;
}

.divider-change {
  width: calc(100% - 40px);
  margin: 0 auto;
  height: 1px;
  background: #ddd;
}

#profile-container {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px; 
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1090;
}

#profile-back {
  position: absolute;
  width: 122px;
  height: 122px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

#profile-pic {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
}

#user-info {
  margin-top: 255px;
  text-align: center;
}

.user-name {
  font-weight: bold;
  font-size: 30px;
  color: #480070;
  margin-bottom: 4px;
}

.handle-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.handle-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.user-handle {
  font-size: 15px;
  color: #888888;
}

.stats-divider {
  width: calc(100% - 140px);
  height: 1px;
  background-color: #4900700c;
  border: none;
  margin: 10px auto 5px;
}

#user-stats {
  display: flex;
  justify-content: space-around;
  margin: 10px auto 10px;
  width: 90%;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

.stat-value {
  font-size: 17px;
  font-weight: bold;
  color: #480070;
}

#action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 10px auto;
}

.action-btn {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  box-shadow: 3px 3px 1px rgba(207, 207, 207, 0.438);
  color: white;
}

.btn-1 {
  background-image: url('img/action-btn/anfragen.png');
    color: white;
    transition: background-image 0.1s ease-in-out;
    min-width: 125px;
}

.btn-2 {
  background-image: url('img/action-btn/share.png');
  min-width: 37px;
}

.btn-3 {
  background-image: url('img/action-btn/chatten.png');
  min-width: 125px;
}

.stats-divider2 {
  width: calc(100% - 140px);
  height: 1px;
  background-color: #4900700c;
  border: none;
  margin: 15px auto 5px;
}

#content-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 5px auto 10px;
}

.content-btn {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: bold;
  color: #480070;
  padding: 8px 2px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.content-btn.active {
  box-shadow: inset 0 -2px 0 0 #480070;
}

.empty-erstellt {
  display: flex;
  margin-top: 100px;
  font-weight: bold;
  font-size: 15px;
  align-items: center;
  justify-content: center;
  color: #480070;
}

.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #fff;
  border-top: 1px solid #480070;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-sizing: border-box;
  padding: 0 10px;
  z-index: 99999;
}

.nav-icon {
  width: 26px;
  height: 26px;
  margin-top: -10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-icon img {
  width: 100%;
  height: auto;
  transition: 0.2s ease;
  cursor: pointer;
}

.center-icon {
  width: 40px;
  height: 40px;
}

.center-icon :hover {
    transform: scale(1.1);
}