:root {
    --background-dark: #1a1a1a;
    --background-darker: #141414;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #646cff;
    --search-background: hsl(0, 0%, 16%);
    --button-background: #333333;
    --notification-color: #3498db;
  }

  body {
    background-color: black;
    color: var(--text-primary);
    margin: 0;
    font-family: arial, sans-serif;
    min-height: 100vh;
    display: flex; /* Ajout */
    flex-direction: column; /* Ajout */
}

/* Layout */
main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    flex: 1; /* Ajout pour pousser le footer vers le bas */
}

.lives-container {
    width: 100%;
    padding: 20px;
    margin-bottom: 80px; /* Augmenter l'espace pour le footer */
    box-sizing: border-box; /* Ajout */
}

/* Header */
.main-header {
    position: fixed;
    height: var(--header-height);
    background-color: black;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-header-content {
    max-width: 800px;
    height: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.logo {
    height: 55px;
    width: auto;
    margin-bottom: 0rem!important;
}

/* Sections */
.lives-section {
    background-color: var(--section-bg-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.lives-section h2 {
    color: var(--text-color);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Liste des lives */
.lives-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.live-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

/* Informations créateur */
.creator-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-live-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
}

.profile-live-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--text-color);
}

.profile-live-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animation des cercles pour les lives en cours */
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.circle-3,
.circle-4 {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    top: 0;
    left: 0;
    animation: ripple 2s infinite;
}

.circle-3 {
    animation-delay: 0s;
}

.circle-4 {
    animation-delay: 1s;
}

.live-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid var(--text-color);
    z-index: 2;
}

/* Détails créateur */
.creator-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.creator-name {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    color: white;
}

.verified-icon {
    width: 16px;
    height: 16px;
}

.schedule-date {
    color: var(--primary-color);
    font-size: 14px;
}

.live-description {
    color: #888;
    font-size: 14px;
}

/* Stats du live */
.live-stats {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
}

.flame-icon {
    width: 16px;
    height: 16px;
}

/* Menu de navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    background: black;
    display: flex;
    justify-content: space-around;
    padding: 0.4rem;
    z-index: 1;
}

.nav-container {
    position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center; /* Ajout de cette ligne */
  width: 100%;
  z-index: 1;
  margin: 0 auto; /* Ajout de cette ligne */
}


    .nav-item {
        display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
  opacity: 1;
    }

    .nav-item img {
        width: 50px;
        height: 50px;
    }

  .nav-item.active {
    opacity: 1;
  }


  .nav-item .addItem {
    width: 90px;
    height: 90px;
    margin-top: -35px;
  }

/* Media Queries */
@media screen and (max-width: 768px) {
    .lives-container {
        padding: 15px;
    }

    .lives-section {
        padding: 15px;
    }

    .profile-live-wrapper {
        width: 50px;
        height: 50px;
    }
}


.live-element.hidden {
    display: none;
}

.see-more-wrapper {
    text-align: center;
    margin: 20px 0;
}

.see-more-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
}

.see-more-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Pour Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}