/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  /* Background */
  body {
    background: linear-gradient(to right, #74ebd5, #acb6e5);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
  }
  
  /* Wrapper */
  .profile-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 600px;
    transition: transform 0.3s ease;
  }
  
  .profile-wrapper:hover {
    transform: scale(1.01);
  }
  
  /* Header */
  .profile-header {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  }
  
  .profile-header h2 {
    font-size: 28px;
    color: #333;
    margin-top: 10px;
  }
  
  /* Avatar */
  .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #555;
  }
  
  
  /* Info */
  .profile-info p {
    font-size: 16px;
    margin-bottom: 12px;
    color: #444;
  }
  
  .profile-info strong {
    color: #1f3a93;
  }
  
  /* Additional Details */
  .additional-info {
    margin-top: 20px;
    font-size: 15px;
    color: #555;
  }
  
  /* Events Section */
  .events-section {
    margin-top: 30px;
  }
  
  .events-section h3 {
    font-size: 20px;
    color: #1f3a93;
    margin-bottom: 10px;
  }
  
  .events-list {
    list-style-type: none;
    padding-left: 0;
  }
  
  .events-list li {
    background: #f1f6fc;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    color: #333;
    transition: background 0.3s ease;
  }
  
  .events-list li:hover {
    background: #d8e9ff;
  }
  
  /* Event Item Styles */
  .event-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .event-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .event-item.upcoming-event {
    border-left: 4px solid #48bb78;
  }
  
  .event-item.past-event {
    border-left: 4px solid #a0aec0;
    opacity: 0.85;
  }
  
  .event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .event-header h4 {
    font-size: 1.2rem;
    color: #2d3748;
    margin: 0;
    flex: 1;
  }
  
  .event-badge {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 1rem;
  }
  
  .past-event .event-badge {
    background: linear-gradient(45deg, #a0aec0, #718096);
  }
  
  .event-details {
    color: #4a5568;
  }
  
  .event-location,
  .event-date {
    margin: 0.5rem 0;
    font-size: 0.95rem;
  }
  
  .event-description {
    margin: 1rem 0;
    color: #718096;
    font-style: italic;
    line-height: 1.5;
  }
  
  .event-skills {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .skill-tag {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  .no-events {
    text-align: center;
    padding: 2rem;
    color: #718096;
    font-style: italic;
  }
  
  .no-events a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
  }
  
  .no-events a:hover {
    text-decoration: underline;
  }
  
  /* Logout Button */
  .logout-button {
    display: block;
    width: 100%;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    margin-top: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .logout-button:hover {
    background: #e84343;
  }
  
  /* Responsive */
  @media screen and (max-width: 500px) {
    .profile-wrapper {
      padding: 20px;
    }
  
    .avatar {
      width: 65px;
      height: 65px;
    }
  
    .profile-header h2 {
      font-size: 24px;
    }
  }
  