/* Styles pour le bandeau HeaderCard */
.collaborator-header-card {
    transition: all 0.3s ease;
}

.collaborator-header-card.hidden {
    display: none !important;
}

#banner-avatar {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-height: 450px;
}

#banner-avatar-img {
    max-height: 450px;
    object-fit: cover;
}

/* Animation pour l'apparition du bandeau */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.collaborator-header-card.banner-show {
    animation: slideDown 0.3s ease forwards;
}

/* Styles pour les boutons du bandeau */
#view-profile-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

#view-profile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#close-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

#close-banner-btn:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Styles responsive */
@media (max-width: 768px) {
    .collaborator-header-card .flex.gap-8 {
        flex-direction: column;
        gap: 1rem;
    }

    .collaborator-header-card .w-1\/4 {
        width: 100%;
    }

    .collaborator-header-card .w-3\/4 {
        width: 100%;
    }

    .collaborator-header-card .grid.grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #view-profile-btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }
}