/* Profile */
.profile-container {
    min-height: calc(100vh - 350px);
    padding: 0 10%;
    margin-top: 10px;
}

.band {
    height: 20px;
    width: 100%;
    border-radius: 4px;
}

.name-container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

.name-container h1 {
    margin: 0;
}

.name-container p {
    margin: 5px;
    color: #666;

}

.tag {
    padding: 2px 8px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tag::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0.2) 100%
    );
    transform: rotate(25deg) translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.tag:hover::before {
    transform: rotate(25deg) translateX(100%);
}


.rank {
    margin: 0;
}

.progress-bar-container {
    width: 100%;
    max-width: 100%;
    background: #e0e0e0;
    border-radius: 4px;
    margin: 16px 0 24px 0;
    position: relative;
    height: 28px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.06); */
    display: flex;
    align-items: center;
}

.progress-bar {
    background: linear-gradient(90deg, #000 60%, #444 100%);
    height: 100%;
    border-radius: 4px 0 0 4px;
    transition: width 0.4s cubic-bezier(.4,2,.6,1);
}

.progress-label {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    z-index: 2;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.change_btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}

/* New Styles for Elements Without Styling */

/* Headings */
.profile-title {
    font-size: 1.6em;
    margin: 30px 0 12px;
    color: #222;
    border-bottom: 2px solid #ccc;
    padding-bottom: 4px;
  }
  
  /* Paragraphs outside name-container */
  .profile-container > p {
    font-size: 1em;
    color: #333;
    margin: 12px 0;
  }
  
  /* Unstyled ul list of completed challenges */
  .profile-container ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  .profile-container ul li {
    background: #f8f8f8;
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: background 0.2s ease;
  }
  
  .profile-container ul li:hover {
    background: #efefef;
  }
  
  /* Input Groups */
  .input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
  }
  
  /* Text Input Styling */
  .input-group input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    font-size: 1em;
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: border 0.2s;
  }
  
  .input-group input[type="text"]:focus {
    outline: none;
    border-color: #666;
  }
  
  /* Color Picker Styling */
  .input-group input[type="color"] {
    width: 50px;
    height: 36px;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .profile-container {
      padding: 0 5%;
    }
  
    .name-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
  
    .progress-label {
      font-size: 13px;
    }
  
    .input-group {
      flex-direction: column;
      align-items: stretch;
    }
  }
  