/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  body {
    background-image: url(../assets/background.png);
    background-size: cover;  /* face imaginea să acopere tot ecranul */
    background-position: center;  /* centrează imaginea */
    background-repeat: no-repeat;  /* previne repetarea imaginii */
    background-attachment: fixed;  /* face imaginea fixă la scroll */
    color: white;
    min-height: 100vh;
  }
  
  /* Container Layout */
  .container {
    display: flex;
    min-height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
  }
  
  /* Left Sidebar Styles */
  .sidebar {
    width: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
  }
  
  .logo {
    margin-bottom: 30px;
  }
  
  .logo img {
    max-width: 180px;
  }
  
  .nav-item {
    display: flex;
    align-items: center;
    padding: 12px;
    color: #e91e63;
    text-decoration: none;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: background-color 0.3s;
  }
  
  .nav-item:hover {
    background-color: #333;
  }
  
  .nav-item i {
    margin-right: 15px;
    width: 20px;
  }
  
  .nav-item.active {
    background-color: #333;
  }
  
  .sidebar-bottom {
    margin-top: auto;
    padding-top: 20px;
  }
  /* Responsive Design */
@media (max-width: 1200px) {
    .right-sidebar {
      display: none;
    }
    .main-content {
      max-width: calc(100% - 250px);
    }
  }
  
  @media (max-width: 768px) {
    .sidebar {
      width: 70px;
    }
    .nav-item span {
      display: none;
    }
    .main-content {
      margin-left: 70px;
      max-width: calc(100% - 70px);
    }
    .logo img {
      max-width: 40px;
    }
  }
  .my-profile {
    color: #e91e63 !important;  /* folosim culoarea roz pe care o folosim în tot site-ul */
    text-decoration: none;
  }
  
  .my-profile:visited {
    color: #e91e63 !important;  /* păstrăm aceeași culoare și pentru link-uri vizitate */
  }
  
  .my-profile:hover {
    color: #ff4081 !important;  /* opțional: o nuanță mai deschisă de roz la hover */
  }
  
  /* Search bar */
  .search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: flex-start;
  }
  
  .search-overlay.active {
    display: flex;
  }
  
  .search-container {
    width: 100%;
    max-width: 600px;
    background-color: #121212;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .search-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #333;
  }
  
  .search-header i {
    color: #e91e63;
    margin-right: 12px;
  }
  
  .search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    outline: none;
  }
  
  .search-input::placeholder {
    color: #666;
  }
  
  .close-search {
    background: none;
    border: none;
    color: #e91e63;
    cursor: pointer;
    padding: 8px;
  }
  
  .close-search:hover {
    color: #ff4081;
  }
  
  .search-results {
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .search-section {
    padding: 16px;
    border-bottom: 1px solid #333;
  }
  
  .search-section h3 {
    color: #e91e63;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .search-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    color: white;
  }
  
  .search-item:hover {
    background-color: #333;
  }
  
  .item-meta {
    color: #e91e63;
    font-size: 14px;
  }
  
  /* Modificăm butonul de search din sidebar să fie button în loc de link */
  .search-trigger {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
  }
  
  /* Responsive adjustments for search */
  @media (max-width: 768px) {
    .search-container {
        margin: 0;
        height: 100%;
        max-width: none;
        border-radius: 0;
    }
    
    .search-results {
        max-height: calc(100vh - 70px);
    }
  }