/**
 * CSS Header PUBLIC
 * Fichier: assets/css/public-header.css
 * Utilisé par: templates/public/header.php
 */

/* ============================================
   HEADER
   ============================================ */

#Header {
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
    font-family: Tahoma, Geneva, sans-serif;
    width: 100%;
}

#Header > * {
    margin: 0 6px;
}

#Logo img {
    height: 24px;
    width: auto;
}

.header-text-item {
    margin: 0 6px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

#Onlines_flex {
    display: flex;
    align-items: center;
    gap: 5px;
}

#Compteur_online {
    background: #E95A79;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Conteneur pour les boutons d'authentification */
.auth-buttons-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   BOUTONS AUTHENTIFICATION
   ============================================ */

.btn-auth {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    background: #E95A79;
    color: white;
    box-shadow: 0 2px 10px rgba(233, 90, 121, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-auth:hover {
    background: #d14665;
    transform: translateY(-1px);
}

.btn-connect {
    color: #4A90E2;
    background: transparent;
    box-shadow: none;
    border: 2px solid #4A90E2;
}

.btn-connect:hover {
    background: rgba(74, 144, 226, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 8px;
    cursor: pointer;
}

.hero-section p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   CARROUSEL ANIME
   ============================================ */

#Random_profils {
    margin-bottom: 20px;
    border: 2px solid #B1ACAC;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
}

.carousel-simple {
    background: linear-gradient(to right, #f8f8f8, #ffffff, #f8f8f8);
    position: relative;
    padding: 10px;
    overflow: hidden;
}

.carousel-btn-simple {
    background: #E95A79;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn-left {
    left: 10px;
}

.carousel-btn-right {
    right: 10px;
}

.carousel-btn-simple:hover {
    background: #d14665;
}

.profiles-simple {
    width: 616px;
    margin: 0 auto;
    overflow: hidden;
    height: 90px;
}

.profile-slider-simple {
    display: flex;
    transition: transform 0.3s;
    height: 90px;
    width: 1232px;
}

.anime-item {
    width: 77px;
    min-width: 77px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.anime-item img {
    width: 55px;
    height: 55px;
    border-radius: 4px;
    border: 2px solid #E95A79;
    transition: 0.2s;
    cursor: pointer;
    object-fit: cover;
}

.anime-item img:hover {
    transform: scale(1.05);
    border-color: #d14665;
}

.anime-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-top: 2px;
    width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    #Header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .profiles-simple {
        width: 100%;
    }
}
