/* ===== DOCK BAR MODERNE - JOHNNYROADRADIO ===== */
/* Style macOS/iOS - Desktop + Mobile */

/* Variables */
:root {
    --dock-height: 80px;
    --dock-bg: rgba(26, 26, 26, 0.95);
    --dock-item-bg: rgba(40, 40, 40, 0.9);
    --dock-item-hover: rgba(60, 60, 60, 0.95);
    --dock-border: rgba(255, 215, 0, 0.15);
    --gold: #ffd700;
    --gold-light: #ffed4a;
    --red: #dc143c;
    --safe-bottom: env(safe-area-inset-bottom);
}

/* ===== MASQUER LES ANCIENS ÉLÉMENTS ===== */
.floating-radio-btn,
.floating-heart-btn,
#hamburger,
.hamburger,
header nav,
.navbar nav,
.nav-menu,
.player-fixed-bottom {
    display: none !important;
}

/* Masquer le header entier sur desktop */
@media (min-width: 769px) {
    header,
    .navbar,
    .main-header {
        display: none !important;
    }
}


/* ===== DOCK BAR - STYLE MACOS ===== */
.dock-bar {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 25px;
    background: var(--dock-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--dock-border);
    box-shadow: 
        0 10px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 215, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop - Dock horizontale centrée en bas */
@media (min-width: 769px) {
    .dock-bar {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px;
        flex-direction: row;
        height: auto;
        width: auto;
        padding: 15px 30px;
    }
}

/* Mobile - Dock en bas pleine largeur */
@media (max-width: 768px) {
    .dock-bar {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 25px 25px 0 0;
        border-bottom: none;
        padding: 12px 15px;
        padding-bottom: calc(12px + var(--safe-bottom));
        flex-direction: row;
        justify-content: space-around;
    }
}

/* Animation d'apparition */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (min-width: 769px) {
    .dock-bar.loaded {
        animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

@media (max-width: 768px) {
    @keyframes slideUpMobile {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .dock-bar.loaded {
        animation: slideUpMobile 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

/* ===== DOCK ITEMS - STYLE MACOS ===== */
.dock-item {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 15px;
    background: var(--dock-item-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    outline: none;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Desktop - Effet magnification macOS */
@media (min-width: 769px) {
    .dock-item:hover {
        transform: translateY(-15px) scale(1.2);
        background: var(--dock-item-hover);
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.6),
            0 0 0 2px rgba(255, 215, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    
    /* Effet sur les items adjacents */
    .dock-item:hover + .dock-item,
    .dock-item:has(+ .dock-item:hover) {
        transform: translateY(-8px) scale(1.1);
    }
}

/* Mobile - Simple scale */
@media (max-width: 768px) {
    .dock-item {
        width: 55px;
        height: 55px;
    }
    
    .dock-item:active {
        transform: scale(0.9);
        background: var(--dock-item-hover);
    }
}

/* Icônes */
.dock-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--gold);
    transition: all 0.3s ease;
    position: relative;
}

.dock-item:hover .dock-icon {
    color: var(--gold-light);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.dock-item.active .dock-icon {
    color: var(--gold-light);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    }
}

/* Label - Desktop seulement */
.dock-label {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.dock-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

@media (min-width: 769px) {
    .dock-item:hover .dock-label {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@media (max-width: 768px) {
    .dock-label {
        display: none;
    }
}

/* Badge notification */
.dock-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--dock-item-bg);
    animation: badgePulse 2s infinite;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.6);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(220, 20, 60, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(220, 20, 60, 0.8);
    }
}

/* Effet ripple au tap */
.dock-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.dock-item:active::before {
    width: 100px;
    height: 100px;
}

/* ===== MENU MODAL AMÉLIORÉ ===== */
.dock-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dock-menu-modal.active {
    display: flex;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dock-menu-content {
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(40, 40, 40, 0.98));
    border: 1px solid var(--dock-border);
    border-radius: 25px;
    padding: 0;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 215, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.dock-menu-modal.active .dock-menu-content {
    transform: scale(1);
    opacity: 1;
}

/* Header du menu */
.dock-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(26, 26, 26, 0.3));
    border-bottom: 1px solid var(--dock-border);
    flex-shrink: 0;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
}

.menu-logo i {
    font-size: 24px;
}

.dock-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--dock-border);
    color: var(--gold);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dock-menu-close:hover {
    background: var(--gold);
    color: #000;
    transform: rotate(90deg);
}

/* Sections du menu */
.dock-menu-sections {
    padding: 20px 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

.menu-section {
    margin-bottom: 30px;
}

.menu-section:last-child {
    margin-bottom: 0;
}

.menu-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-section-title i {
    font-size: 16px;
}

/* Liste du menu */
.dock-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dock-menu-item {
    margin-bottom: 8px;
}

.dock-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid transparent;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dock-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
    transition: width 0.3s ease;
}

.dock-menu-link:hover::before {
    width: 100%;
}

.dock-menu-link:hover,
.dock-menu-link:active {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--dock-border);
    transform: translateX(5px);
}

.dock-menu-link > i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 16px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.link-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.link-arrow {
    color: var(--gold);
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
}

.dock-menu-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Grille réseaux sociaux */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 10px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid transparent;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 80px;
    text-align: center;
}

.social-link i {
    font-size: 28px;
    transition: all 0.3s ease;
    display: block;
}

/* Couleurs par défaut des icônes (toujours visibles) */
.social-link.facebook i { color: #1877f2; }
.social-link.twitter i { color: #1da1f2; }
.social-link.instagram i { color: #e4405f; }
.social-link.youtube i { color: #ff0000; }
.social-link.linkedin i { color: #0077b5; }
.social-link.tiktok i { color: #000000; }

.social-link span {
    display: block;
    line-height: 1.2;
}

.social-link:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--dock-border);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link.tiktok i {
    background: #fff;
    border-radius: 6px;
    padding: 3px;
}

/* Mobile responsive pour réseaux sociaux */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .social-link {
        padding: 16px 8px;
        font-size: 12px;
        min-height: 75px;
        gap: 8px;
    }
    
    .social-link i {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .social-link {
        padding: 14px 6px;
        font-size: 11px;
        min-height: 70px;
        gap: 6px;
    }
    
    .social-link i {
        font-size: 24px;
    }
    
    .social-link span {
        font-size: 10px;
        line-height: 1.1;
    }
}

@media (max-width: 380px) {
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .social-link {
        padding: 12px 4px;
        font-size: 10px;
        min-height: 65px;
        gap: 5px;
        border-radius: 10px;
    }
    
    .social-link i {
        font-size: 22px;
    }
    
    .social-link span {
        font-size: 9px;
    }
}

@media (max-width: 340px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .social-link {
        padding: 14px 8px;
        min-height: 75px;
    }
}

/* Footer du menu */
.menu-footer {
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--dock-border);
    text-align: center;
    flex-shrink: 0;
}

.menu-footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 10px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 11px;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .dock-menu-content {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 25px 25px 0 0;
    }
    
    .dock-menu-modal {
        align-items: flex-end;
    }
    
    .dock-menu-sections {
        padding: 15px 20px;
    }
    
    .dock-menu-header {
        padding: 20px;
    }
    
    .menu-logo {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .dock-menu-content {
        border-radius: 20px 20px 0 0;
    }
    
    .dock-menu-sections {
        padding: 12px 15px;
    }
    
    .dock-menu-header {
        padding: 15px;
    }
    
    .menu-logo {
        font-size: 16px;
    }
    
    .menu-logo i {
        font-size: 20px;
    }
    
    .dock-menu-close {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .menu-section {
        margin-bottom: 20px;
    }
    
    .menu-section-title {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .dock-menu-link {
        padding: 12px 15px;
    }
    
    .dock-menu-link > i {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .link-title {
        font-size: 14px;
    }
    
    .link-desc {
        font-size: 11px;
    }
    
    .link-arrow {
        font-size: 12px;
    }
    
    .menu-footer {
        padding: 15px 20px;
    }
    
    .menu-footer p {
        font-size: 11px;
    }
    
    .footer-links {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .dock-menu-sections {
        padding: 10px 12px;
    }
    
    .dock-menu-header {
        padding: 12px 15px;
    }
    
    .menu-logo {
        font-size: 15px;
    }
    
    .menu-logo span {
        display: none;
    }
    
    .menu-logo::after {
        content: "MENU";
        font-size: 15px;
    }
    
    .link-desc {
        display: none;
    }
    
    .dock-menu-link {
        padding: 10px 12px;
    }
}

/* ===== MODAL DE PARTAGE ===== */
.dock-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dock-share-modal.active {
    display: flex;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dock-share-content {
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(40, 40, 40, 0.98));
    border: 1px solid var(--dock-border);
    border-radius: 25px;
    padding: 30px;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 215, 0, 0.1);
}

.dock-share-modal.active .dock-share-content {
    transform: scale(1);
    opacity: 1;
}

.dock-share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dock-share-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.dock-share-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--dock-border);
    color: var(--gold);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dock-share-close:hover {
    background: var(--gold);
    color: #000;
    transform: rotate(90deg);
}

.share-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 25px;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.share-button:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--dock-border);
    transform: translateY(-3px);
}

.share-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
}

.share-button.facebook .share-icon { background: #1877f2; }
.share-button.twitter .share-icon { background: #1da1f2; }
.share-button.whatsapp .share-icon { background: #25d366; }
.share-button.messenger .share-icon { background: #0084ff; }
.share-button.linkedin .share-icon { background: #0077b5; }
.share-button.email .share-icon { background: #ea4335; }
.share-button.telegram .share-icon { background: #0088cc; }
.share-button.copy .share-icon { background: var(--gold); color: #000; }

.share-name {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.share-url {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dock-border);
    border-radius: 12px;
}

.share-url input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 13px;
    outline: none;
}

.copy-url-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copy-url-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
    .dock-share-content {
        max-width: calc(100% - 30px);
        padding: 25px 20px;
    }
    
    .share-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .share-button {
        padding: 12px 6px;
    }
    
    .share-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .share-name {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .share-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cacher les boutons de partage latéraux existants */
.share-buttons-sidebar,
.social-share-sidebar,
.floating-share,
.sticky-social {
    display: none !important;
}

/* ===== ANIMATIONS SUPPLÉMENTAIRES ===== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.dock-item.bounce {
    animation: bounce 0.6s ease;
}

/* Playing animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dock-player-art.playing {
    animation: rotate 10s linear infinite;
}

.dock-player-art.playing::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.2) 100%);
}

/* Scrollbar custom pour les modaux */
.dock-menu-content::-webkit-scrollbar,
.dock-player-modal::-webkit-scrollbar {
    width: 8px;
}

.dock-menu-content::-webkit-scrollbar-track,
.dock-player-modal::-webkit-scrollbar-track {
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
}

.dock-menu-content::-webkit-scrollbar-thumb,
.dock-player-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 10px;
}

.dock-menu-content::-webkit-scrollbar-thumb:hover,
.dock-player-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* ===== BOUTON COMPTE & MENU ===== */

/* Initiales dans le bouton compte */
.user-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #000;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    letter-spacing: 1px;
}

.dock-item.logged-in .dock-icon {
    padding: 0;
}

.dock-item.logged-in .user-initials {
    animation: initialsGlow 3s infinite;
}

@keyframes initialsGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

/* Menu dropdown compte */
.dock-account-menu {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999998;
    animation: slideUpAccount 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpAccount {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.account-menu-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 2px solid var(--dock-border);
    border-radius: 20px;
    width: 320px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.account-menu-header {
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
}

.account-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    flex-shrink: 0;
}

.account-info {
    flex-grow: 1;
    overflow: hidden;
}

.account-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-email {
    font-size: 12px;
    color: rgba(255, 215, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-menu-items {
    padding: 10px 0;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
}

.account-menu-item i {
    font-size: 22px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Couleurs spécifiques pour chaque icône */
.account-menu-item:nth-child(1) i {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.15);
}

.account-menu-item:nth-child(2) i {
    color: #2196F3;
    background: rgba(33, 150, 243, 0.15);
}

.account-menu-item:nth-child(3) i {
    color: #FF9800;
    background: rgba(255, 152, 0, 0.15);
}

.account-menu-item:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: translateX(5px);
}

.account-menu-item:hover i {
    transform: scale(1.15);
}

.account-menu-item.logout-btn {
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 5px;
    color: #fff;
    font-weight: 600;
}

.account-menu-item.logout-btn i {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.15);
}

.account-menu-item.logout-btn:hover {
    background: rgba(255, 68, 68, 0.15);
}

.account-menu-item.logout-btn:hover i {
    background: rgba(255, 68, 68, 0.25);
}

/* Mobile responsive pour menu compte */
@media (max-width: 768px) {
    .dock-account-menu {
        left: 50%;
        transform: translateX(-50%);
        bottom: 90px;
    }
    
    .account-menu-content {
        width: 280px;
        max-width: calc(100vw - 40px);
    }
    
    .account-menu-header {
        padding: 18px;
    }
    
    .account-avatar {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }
    
    .account-name {
        font-size: 15px;
    }
    
    .account-menu-item {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .account-menu-item i {
        font-size: 20px;
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .dock-account-menu {
        left: 50%;
        transform: translateX(-50%);
        bottom: 85px;
    }
    
    .account-menu-content {
        width: 260px;
        max-width: calc(100vw - 30px);
    }
}