/* Profile Page Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #21262d;
    color: white;
    margin: 0;
    padding: 0;
  }
  
  .profile-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #161b22;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    color: #ffffff;
  }
  
  .profile-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .profile-header h2 {
    font-size: 2.5rem;
    color: #ff6f61;
  }
  
  .profile-header p {
    font-size: 1.2rem;
    color: #cccccc;
  }
  
  .profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #161b22;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }
  
  .profile-picture {
    position: relative;
    margin-bottom: 2rem;
  }
  
  .profile-picture img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #ff6f61;
    object-fit: cover;
  }
  
  .change-pic-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00d8ff;
    color: #161b22;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .change-pic-btn:hover {
    background-color: #ff6f61;
  }
  
  .profile-details {
    width: 100%;
  }
  
  .detail-item {
    margin-bottom: 1.5rem;
  }
  
  .profile-details label {
    font-size: 1.2rem;
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .profile-details input,
  .profile-details textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 2px solid #00d8ff;
    border-radius: 5px;
    background-color: #ffffff;
    color: #000000;
  }
  
  .profile-details input:disabled,
  .profile-details textarea:disabled {
    background-color: #f2f2f2;
    color: #888888;
  }
  
  .profile-details textarea {
    resize: vertical;
  }
  
  .edit-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.2rem;
    background: #ff6f61;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .edit-btn:hover {
    background: #00d8ff;
    color: #161b22;
  }
  
  .profile-games {
    margin-top: 3rem;
  }
  
  .profile-games h3 {
    text-align: center;
    font-size: 2rem;
    color: #ff6f61;
  }
  
  .rented-games-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .rented-game {
    text-align: center;
    width: 150px;
  }
  
  .rented-game img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .rented-game h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-top: 0.5rem;
  }
  
  .rented-game p {
    font-size: 1rem;
    color: #cccccc;
  }
  
  .logout-section {
    text-align: center;
    margin-top: 2rem;
  }
  
  .logout-btn {
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    background: #00d8ff;
    color: #161b22;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .logout-btn:hover {
    background: #ff6f61;
    color: #ffffff;
  }
  
  @media (max-width: 768px) {
    .profile-container {
      padding: 1.5rem;
    }
  
    .profile-info {
      padding: 1rem;
    }
  
    .profile-header h2 {
      font-size: 2rem;
    }
  
    .profile-details label {
      font-size: 1rem;
    }
  
    .profile-details input,
    .profile-details textarea {
      font-size: 1rem;
    }
  }