/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background: #f9f9f9;
    color: #333;
  }
  .topbar{
    background-color: rgb(204, 204, 204);
    padding: 20px;
    border-radius: 10px;
  }
  
  .dashboard {
    display: flex;
    min-height: 100vh;
  }
  
  /* Sidebar */
  .sidebar {
    width: 230px;
    background: linear-gradient(180deg, #4facfe, #00f2fe);
    color: white;
    padding: 30px 20px;
    border-radius: 0 20px 20px 0;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
  }
  
  .logo {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .nav li {
    list-style: none;
    margin: 20px 0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .nav li.active,
  .nav li:hover {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 8px;
  }
  
  /* Main Content */
  .main-content {
    flex: 1;
    padding: 30px;
  }
  
  /* Topbar */
  .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  
  /* Cards */
  .cards {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
  }
  
  .card {
    height: 800px;
    overflow-y: scroll;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
  }
  
  .card.profile-card {
    text-align: center;
  }
  
  .profile-card .avatar {
    width: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
  }
  
  .card .btn {
    margin-top: 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #4facfe;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .card .btn:hover {
    background: #3a8bdc;
  }
  
  /* History List */
  .history-list li {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    align-items: center;
  }
  
  .history-list .paid {
    color: #4caf50;
    font-weight: bold;
  }
  
  .history-list .received {
    color: #2196f3;
    font-weight: bold;
  }
  
  /* Messages */
  .message-list li {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    list-style-type: none;
  }

  .profile-classifieds-list li{
    background: #f1f1f1;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .profileClassifiedsImage{
    height: 100px;
    border-radius: 5px;
    }
    .profile-classifieds-list li .active {
        color: #4caf50;
        font-weight: bold;
    }
    .profile-classifieds-list li .closed{
        color: #2196f3;
        font-weight: bold;
    }
    .profile-classifieds-list li span{
        margin-right: 20px;
    }

    .addToClassifiedsButton{
        background-color: black;
        color: white;
        border: none;
        border-radius: 5px;
        width: 60px;
        padding: 3px;
        font-size: 15px;
        position: relative;
        top: -6px;
        cursor: pointer;
        transition: all 0.3s ease;
      }
      .addToClassifiedsButton:hover{
        background-color: white;
        color: black;
        box-shadow: 0 0 10px black;
      }
      .accountClassifiedsContainer{
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
      }
      
      .editClassifiedsButton{
        border: none;
        background-color: rgba(0, 0, 0, 0);
        position: absolute;
        top: 4px;
        right: 4px;
        cursor: pointer;
        
      }
      .editClassifiedsButton svg{
        height: 30px;
      }
      .editClassifiedsButton svg:hover{
        fill: #333;
      }
      .editClassifiedsButton:hover{
        animation: wiggle 0.6s ease-in-out;
      }
      @keyframes wiggle {
        0% { transform: rotate(0deg); }
        15% { transform: rotate(10deg); }
        30% { transform: rotate(-10deg); }
        45% { transform: rotate(6deg); }
        60% { transform: rotate(-6deg); }
        75% { transform: rotate(1deg); }
        100% { transform: rotate(0deg); }
      }
      .donationsList {
        list-style: none;
        padding: 0;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
      }
      
      .donationItem {
        background: #ffffff;
        padding: 15px 20px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease;
      }
      
      .donationItem:hover {
        transform: translateY(-3px);
      }
      
      .donationTitle {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
      }
      
      .donationDetails {
        font-size: 0.95rem;
        color: #555;
      }

      .statusButton {
        background: transparent;
        font-size: 0.9rem;
        font-weight: 600;
        padding: 6px 14px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid #55ff2b;
        color: #55ff2b;
        align-self: flex-end;
        box-shadow: 0 0 10px black;
      }
      
      .statusButton:hover {
        background-color: #55ff2b;
        color: white;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(43, 255, 61, 0.4);
      }
      
      
      .status.rejected {
        background-color: #fdecea;
        color: #c62828;
      }
      .servicesList,
.donationsList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.serviceItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #f0f0f0, #dcdcdc);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.serviceItem:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.serviceItem div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.serviceItem label {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 2px;
}

.serviceItem h3 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.serviceDate {
  font-size: 0.9rem;
  color: #666;
}
.needListItem {
  list-style: none;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease;
}

.needListItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.needListItem label {
  display: block;
  font-weight: 600;
  color: #000000;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.needListItem p {
  margin: 0;
  font-size: 1rem;
  color: #222;
}
 .confirmNeedMet {
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #55ff2b;
  color: #55ff2b;
}

.confirmNeedMet:hover {
  background-color: #55ff2b;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(43, 255, 61, 0.4);
}
.selectedUsers{
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
}
.selectedUsers li{
  list-style-type: none;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px black;
  margin-top: 5px;
}
.selected-helper-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}

.remove-helper-button {
  background: transparent;
  border: none;
  color: red;
  font-size: 1rem;
  cursor: pointer;
}
